Command Default
None
Command Modes
L2VPN pseudowire class configuration
Command History
ModificationRelease
This command was introduced.Release 3.9.0
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/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)# pw-class kanata01
RP/0/RSP0/CPU0:router(config-l2vpn-pwc)# encapsulation l2tpv3
The following example shows how to set the encapsulation and protocol to L2TPV3:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)# pw-class kanata01
RP/0/RSP0/CPU0:router(config-l2vpn-pwc)# encapsulation l2tpv3
RP/0/RSP0/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 124
Configures MPLS pseudowire encapsulation.pw-class encapsulation mpls, on page 128
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
127
Point to Point Layer 2 Services Commands
pw-class encapsulation l2tpv3