The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This document describes how to configure MAC limiting on the Cisco ASR 903 Router.
MAC limiting is supported on the following interface types:
Mac address limiting per bridge-domain restricts the number of MAC addresses that the router learns in bridge-domain on an EFP, pseudowire or switchport.
Note |
Local connect feature is not supported on the Cisco ASR 903 router. However, to simulate a local connect scenario, configure the connecting EFPs on the same bridge domain and disable the mac-learning on the bridge domain by setting the MAC limit to 0. Use the mac-address-table limit bdomain num maximum 0 action limit command to disable mac-learning on the router. |
When the total number of addresses in a bridge-domain exceeds the maximum number, the router takes a violation action. You can enable the following actions:
Note |
The threshold value must be 80% of the maximum value configured for the recovery mechanism. |
1. configure terminal
2. mac-address-table limit [bridge-domain id] [maximum num] [action {warning | limit | shutdown}] [flood]
3. end
4. show mac-address-table limit [bridge-domain id]
5. copy running-config startup-config
This example shows how to enable per-bridge-domain MAC limiting. The first instance of the mac-address-table limit command enables MAC limiting. The second instance of the command sets the limit and any optional actions to be imposed at the bridge-domain level.
Router# enable Router# configure terminal Router(config)# mac-address-table limit Router(config)# mac-address-table limit bridge-domain 10 maximum 100 action limit flood Router(config)# end Router#show mac-address-table limit bdomain 10 bdomain action flood maximum Total entries Current state -------------+----------+------------+------------+---------------+--------------- 10 limit Disable 100 0 Within Limit