No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display mac-limit

display mac-limit


The display mac-limit command displays the rules that limit the number of learned MAC addresses.


display mac-limit [ interface-type interface-number | vlan vlan-id ]





interface-type interface-number

Displays the MAC address limiting rule on a specified interface.
  • interface-type specifies the type of the interface.
  • interface-number specifies the number of the interface.


vlan vlan-id

Displays the MAC address limiting rules in a specified VLAN.

The value is an integer that ranges from 1 to 4094.


All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To check whether MAC address limiting rules are configured correctly, run the display mac-limit command. If a rule is incorrect, run the mac-limit command to modify the rule.


If the interface-type and interface-number are not specified, MAC address limiting rules on all interfaces are displayed.

If vlan vlan-id is not specified, MAC address limiting rules in all VLANs are displayed.


# Display all the MAC address limiting rules.

<Huawei> display mac-limit
MAC limit is enabled                                                            
Total MAC limit rule count : 1                                                  
PORT                 VLAN/VSI         SLOT Maximum Rate(ms) Action  Alarm       
GE0/0/1              -                -    1       -        discard disable
Table 6-9  Description of the display mac-limit command output



Total MAC Limit rule count

Number of configured MAC address limiting rules.


Name of an interface.


ID of a VLAN or a VSI name.


Slot ID of the board where a MAC address limiting rule is configured.


Maximum number of MAC addresses that can be learned. To set the maximum number of MAC addresses, run the mac-limit command.


Indicates the interval at which MAC addresses are learned.


Action performed on packets when the number of learned MAC addresses exceeds the maximum number.
  • discard: discards packets with new source MAC addresses.
  • forward: forwards packets with new source MAC addresses.


Whether an alarm is generated when the number of learned MAC addresses exceeds the maximum.
  • enable: indicates that an alarm is generated.
  • disable: indicates that an alarm is not generated.
Related Topics
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 205653

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next