Specifications

Table Of Contents
encapsulation mpls
MP-67
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
encapsulation mpls
To specify that Multiprotocol Label Switching (MPLS) is used as the data encapsulation method for
tunneling Layer 2 traffic over the pseudowire, use the encapsulation mpls command in pseudowire class
configuration mode. To remove MPLS as the encapsulation method, use the no pseudowire-class
command.
encapsulation mpls
no pseudowire-class
Syntax Description This command has no arguments or keywords.
Defaults No default behavior or values.
Command Modes Pseudowire class configuration
Command History
Usage Guidelines You must specify enc
apsulation mpls as part of the xconnect command or as part of a pseudowire class
for the AToM VCs to work properly.
Once you specify the enca
psulation mpls command, you cannot remove it using the no encapsulation
mpls command. Nor can you change the command's setting using the encapsulation l2tpv3 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 MPLS as the data encapsulation method for the
pse
udowire class ether-pw:
Router(config)# pseudowire-class ether-pw
Router(config-pw)# encapsulation mpls
Release Modification
12.0(25)S This command was introduced.
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.