Manual

Layer 2 Tunnel Protocol Version 3
Configuration Examples for Layer 2 Tunnel Protocol Version 3
58
Cisco IOS Releases 12.0(29)S and 12.2(25)S
interface Serial0/0
encapsulation frame-relay
frame-relay intf-type dce
connect one Serial0/0 100 l2transport
xconnect 10.0.3.201 555 pw-class fr-xconnect
connect two Serial0/0 200 l2transport
xconnect 10.0.3.201 666 pw-class fr-xconnect
Configuring Frame Relay Trunking Example
The following is a sample configuration for setting up a trunk connection for an entire serial interface
over a pseudowire. All incoming packets are switched to the pseudowire regardless of content.
Note that when you configure trunking for a serial interface, the trunk connection does not require an
encapsulation method. You do not, therefore, need to enter the encapsulation frame-relay command.
Reconfiguring the default encapsulation removes all Xconnect configuration settings from the interface.
interface Serial0/0
xconnect 10.0.3.201 555 pw-class serial-xconnect
Configuring QoS for L2TPv3 on the Cisco 7500 Series Example
The following example shows the MQC commands used on a Cisco 7500 series router to configure a
CIR guarantee of 256 kbps on DLCI 100 and 512 kbps for DLCI 200 on the egress side of a Frame Relay
interface that is also configured for L2TPv3 tunneling:
ip cef distributed
class-map dlci100
match fr-dlci 100
class-map dlci200
match fr-dlci 200
policy-map dlci
class dlci100
bandwidth 256
class dlci200
bandwidth 512
interface Serial0/0
encapsulation frame-relay
frame-relay interface-type dce
service-policy output dlci
connect one Serial0/0 100 l2transport
xconnect 10.0.3.201 555 encapsulation l2tpv3 pw-class mqc
connect two Serial0/0 200 l2transport
xconnect 10.0.3.201 666 encapsulation l2tpv3 pw-class mqc