pw-class (VFI)
To configure the pseudowire class template name to use for the pseudowire, use the pw-class command in
L2VPN bridge group bridge domain VFI pseudowire configuration mode. 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 bridge group bridge domain VFI pseudowire configuration
Command History
ModificationRelease
This command was introduced.Release 3.7.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.
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to attach the pseudowire class to the pseudowire:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# l2vpn
RP/0/0/CPU0:router(config-l2vpn)# bridge group 1
RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar
RP/0/0/CPU0:router(config-l2vpn-bg-bd)# vfi v1
RP/0/0/CPU0:router(config-l2vpn-bg-bd-vfi)# neighbor 10.1.1.2 pw-id 1000
RP/0/0/CPU0:router(config-l2vpn-bg-bd-vfi-pw)# pw-class canada
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
OL-28460-01 189
Virtual Private LAN Services Commands
pw-class (VFI)