Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
All L2VPN configurations can be deleted using the no l2vpn command.Note
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to define L2TPV3 pseudowire encapsulation:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# l2vpn
RP/0/0/CPU0:router(config-l2vpn)# pw-class kanata01
RP/0/0/CPU0:router(config-l2vpn-pwc)# encapsulation l2tpv3
The following example shows how to set the encapsulation and protocol to L2TPV3:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# l2vpn
RP/0/0/CPU0:router(config-l2vpn)# pw-class kanata01
RP/0/0/CPU0:router(config-l2vpn-pwc)# encapsulation l2tpv3
RP/0/0/CPU0:router(config-l2vpn-pwc-l2tpv3)# protocol l2tpv3
Related Commands
DescriptionCommand
Enters pseudowire class submode to define a pseudowire
class template.
pw-class (L2VPN), on page 65
Configures MPLS pseudowire encapsulation.pw-class encapsulation mpls, on page 69
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
68 OL-28460-01
Virtual Private Network Commands
pw-class encapsulation l2tpv3