Examples
This example shows how to enable mac security on bridge bar:
RP/0/RSP0/CPU0:router#configure
RP/0/RSP0/CPU0:router(config)#l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)#bridge group b1
RP/0/RSP0/CPU0:router(config-l2vpn-bg)#bridge-domain bar
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#mac secure
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-mac-secure)#
This example shows how to shut down a violating bridge port on bridge bar:
RP/0/RSP0/CPU0:router#configure
RP/0/RSP0/CPU0:router(config)#l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)#bridge group b1
RP/0/RSP0/CPU0:router(config-l2vpn-bg)#bridge-domain bar
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#mac secure
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-mac-secure)#action shutdown
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-mac-secure)#
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
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
280
Multipoint Layer 2 Services Commands
mac secure