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)# neighbor 10.1.1.2 pw-id 1000
RP/0/0/CPU0:router(config-l2vpn-bg-bd-pw)#
The following example shows how to configure the parameters for any pseudowire in L2VPN bridge group
bridge domain VFI configuration mode:
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)#
Related Commands
DescriptionCommand
Establishes a bridge domain, and enters L2VPN bridge group bridge
domain configuration mode.
bridge-domain (VPLS), on page 159
Creates a bridge group so that it can contain bridge domains and
then to assign network interfaces to the bridge domain.
bridge group (VPLS), on page 161
Enters L2VPN configuration mode.l2vpn, on page 49
Configures the MPLS static labels and the static labels for the access
pseudowire configuration.
mpls static label (VPLS), on page 179
Configures the pseudowire class template name to use for the
pseudowire.
pw-class (VFI), on page 189
Configures the static MAC address to associate a remote MAC
address with a pseudowire or any other bridge interface.
static-mac-address (VPLS), on page 216
Configures virtual forwarding interface (VFI) parameters.vfi (VPLS), on page 222
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
184 OL-28460-01
Virtual Private LAN Services Commands
neighbor (VPLS)