Examples
The following example shows how to configure the VFI pseudowire 10.1.1.2 with pseudowire ID of 1000 to
use MPLS label 800 and remote MPLS label 500:
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 model
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)# mpls static label local 800 remote 500
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
Adds an access pseudowire port to a bridge domain or a pseudowire
to a bridge virtual forwarding interface (VFI).
neighbor (VPLS), on page 183
Configures the pseudowire class template name to use for the
pseudowire.
pw-class (VFI), on page 189
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
180 OL-28460-01
Virtual Private LAN Services Commands
mpls static label (VPLS)