pw-class (L2VPN)
To enter pseudowire class submode to define a pseudowire class template, use the pw-class command in
L2VPN configuration submode. To delete the pseudowire class, use the no form of this command.
pw-class class-name
no pw-class class-name
Syntax Description
Pseudowire class name.
class-name
Command Default
None
Command Modes
L2VPN configuration submode
Command History
ModificationRelease
This command was introduced.Release 3.5.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 a simple pseudowire class template:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# l2vpn
RP/0/0/CPU0:router(config-l2vpn)# xconnect group l1vpn
RP/0/0/CPU0:router(config-l2vpn-xc)# p2p rtrA_to_rtrB
RP/0/0/CPU0:router(config-l2vpn-xc-p2p)# neighbor 10.1.1.2 pw-id 1000
RP/0/0/CPU0:router(config-l2vpn-xc-p2p-pw)# pw-class kanata01
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
OL-28460-01 65
Virtual Private Network Commands
pw-class (L2VPN)