Manual
Layer 2 Tunnel Protocol Version 3
Configuration Examples for Layer 2 Tunnel Protocol Version 3
63
Cisco IOS Releases 12.0(29)S and 12.2(25)S
interface Serial 0/0/0
encapsulation frame-relay
servicepolicy output SET-DE
connect fr-mpls-100 serial 0/0/0 100 l2transport
xconnect 10.10.10.10 pw-class l2tpv3
Matching the Frame Relay DE Bit Configuration Example
The following example shows how to configure the service policy called match-de and attach it to an
interface. In this example, the class map called data evaluates all packets entering the interface for a DE
bit setting of 1. If the entering packet has been a DE bit value of 1, the packet’s EXP bit setting is set to 3.
class-map data
match fr-de
policy-map MATCH-DE
class data
set mpls exp 3
ip routing
ip cef distributed
mpls label protocol ldp
interface Loopback0
ip address 10.20.20.20 255.255.255.255
interface Ethernet1/0/0
ip address 172.16.0.2 255.255.255.0
tag-switching ip
interface Serial4/0/0
encapsulation frame-relay
service input MATCH-DE
connect 100 Serial4/0/0 100 l2transport
xconnect 10.10.10.10 100 encapsulation l2tpv3
Configuring the Xconnect Attachment Circuit for ATM VP Mode Single Cell
Relay over L2TPv3 Example
The following configuration binds a PVP to an Xconnect attachment circuit to forward ATM cells over
an established L2TPv3 pseudowire:
pw-class atm-xconnect
encapsulation l2tpv3
interface ATM 4/1
atm pvp 5 l2transport
xconnect 10.0.3.201 888 pw-class atm-xconnect