The following example shows how to associate a GigabitEthernet interface from a bridge domain to static
MAC address 1.1.1:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group 1
RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain bar
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# interface GigabitEthernet 0/1/0/0
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)# static-mac-address 1.1.1
The following example shows how to associate an access pseudowire to static MAC address 2.2.2:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group 1
RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain bar
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# neighbor 10.1.1.2 pw-id 2000
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-pw)# static-mac-address 2.2.2
Related Commands
DescriptionCommand
Establishes a bridge domain, and enters L2VPN bridge group bridge
domain configuration mode.
bridge-domain (VPLS), on page 240
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 242
Enters L2VPN configuration mode.l2vpn, on page 100
Configures the MPLS static labels and the static labels for the access
pseudowire configuration.
mpls static label (VPLS), on page 287
Adds an access pseudowire port to a bridge domain or a pseudowire
to a bridge virtual forwarding interface (VFI).
neighbor (VPLS), on page 293
Configures virtual forwarding interface (VFI) parameters.vfi (VPLS), on page 380
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
372
Multipoint Layer 2 Services Commands
static-mac-address (VPLS)