Manual

Layer 2 Tunnel Protocol Version 3
encapsulation l2tpv3
93
Cisco IOS Releases 12.0(29)S and 12.2(25)S
encapsulation l2tpv3
To specify that Layer 2 Tunnel Protocol Version 3 (L2TPv3) is used as the data encapsulation method
for tunneling IP traffic over the pseudowire, use the encapsulation l2tpv3 command in pseudowire class
or VC class configuration mode. To remove L2TPv3 as the encapsulation method, use the no
pseudowire-class command (see the Usage Guidelines for more information).
encapsulation l2tpv3
no pseudowire-class
Syntax Description This command has no arguments or keywords.
Command Default No encapsulation method is specified.
Command Modes Pseudowire class configuration
VC class configuration
Command History
Usage Guidelines This command must be configured if the pseudowire class will be referenced from an Xconnect
configured to forward L2TPv3 traffic.
Once you specify the encapsulation l2tpv3 command, you cannot remove it using the no encapsulation
l2tpv3 command. Nor can you change the command's setting using the encapsulation mpls command.
Those methods result in the following error message:
Encapsulation changes are not allowed on an existing pw-class.
To remove the command, you must delete the pseudowire with the no pseudowire-class command. To
change the type of encapsulation, remove the pseudowire with the no pseudowire-class command and
re-establish the pseudowire and specify the new encapsulation type.
Examples The following example shows how to configure L2TPv3 as the data encapsulation method for the
pseudowire class named ether-pw:
Router(config)# pseudowire-class ether-pw
Router(config-pw)# encapsulation l2tpv3
The following example configures ATM AAL5 over L2TPv3 in VC class configuration mode:
Release Modification
12.0(23)S This command was introduced.
12.3(2)T This command was integrated into Cisco IOS Release 12.3(2)T.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.
12.2(27)SBC Support for this command was integrated into Cisco IOS Release
12.2(27)SBC.