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

Reminder

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

upgrade

Fit 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

Function

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

Format

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

Parameters

Parameter

Description

Value

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.

Views

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.

Precautions

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.

Example

# 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-8  Description of the display mac-limit command output

Item

Description

Total MAC Limit rule count

Number of configured MAC address limiting rules.

PORT

Name of an interface.

VLAN/VSI

ID of a VLAN or a VSI name.

SLOT

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

Maximum

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

Rate(ms)

Indicates the interval at which MAC addresses are learned.

Action

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.

Alarm

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
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 151252

Downloads: 125

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