Example:
RP/0/RSP0/CPU0:router(config)# l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)#
Enters the L2VPN configuration mode.
Step 3 bridge group bridge group name
Example:
RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group csco
RP/0/RSP0/CPU0:router(config-l2vpn-bg)#
Creates a bridge group so that it can contain bridge domains and then assigns network interfaces to the bridge domain.
Step 4 bridge-domain bridge-domain name
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain abc
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#
Establishes a bridge domain and enters L2VPN bridge group bridge domain configuration mode.
Step 5 vfi { vfi-name }
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# vfi v1
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi)#
Configures virtual forwarding interface (VFI) parameters and enters L2VPN bridge group bridge domain VFI configuration
mode.
Step 6 neighbor { A.B.C.D } { pw-id value }
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi)# neighbor 10.1.1.2 pw-id 1000
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-pw)#
Adds a pseudowire port to a bridge domain or a pseudowire to a bridge virtual forwarding interface (VFI).
• Use the A.B.C.D argument to specify the IP address of the cross-connect peer.
• Use the pw-id keyword to configure the pseudowire ID and ID value. The range is 1 to 4294967295.
Step 7 pw-class { class-name }
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-pw)# pw-class canada
Configures the pseudowire class template name to use for the pseudowire.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
248
Implementing Multipoint Layer 2 Services
Attaching Pseudowire Classes to Pseudowires