Examples
The following example shows how both a syslog message and an SNMP trap are generated with the bridge
bar and learns more MAC addresses than the configured limit:
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)# mac
RP/0/0/CPU0:router(config-l2vpn-bg-bd-mac)# limit
RP/0/0/CPU0:router(config-l2vpn-bg-bd-mac-limit)# notification both
Related Commands
DescriptionCommand
Configures bridge behavior when the number of learned MAC
addresses reaches the MAC limit configured.
action (VPLS), on page 155
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
Enters L2VPN bridge group bridge domain MAC configuration
mode.
mac (VPLS), on page 175
Configures the specified action when the number of MAC addresses
learned on a bridge is reached.
maximum (VPLS), on page 177
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
186 OL-28460-01
Virtual Private LAN Services Commands
notification (VPLS)