The display mac-limit rule-name command displays detailed information about a global MAC address learning limit rule.
Usage Scenario
Precautions
If a global MAC address learning limit rule is not applied on an interface, no content is displayed in the Port and VLAN fields when the display mac-limit rule-name command is run.
The MAC address learning limit rule configured by the mac-limit (interface view) command in the interface view or the mac-limit (VLAN view) command in the VLAN view will not be displayed when the display mac-limit rule-name command is run.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mac-limit rule-name name1 Total Global MAC Limit rule count : 1 RuleName Maximum Rate(ms) Action Alarm PortNum Port Vlan ------------------------------------------------------------------------------- name1 100 21 discard enable 6 Eth-Trunk2.1 - GE0/1/1.1 - GE0/1/2.1 - GE0/1/3.1 - GE0/1/4.1 - GE0/1/5.1 -
Item | Description |
---|---|
Total Global MAC Limit rule count | Total mac address limit rule count. |
RuleName | Name of the global MAC address learning limit rule. |
Maximum | Maximum number of MAC addresses that can be learned. |
Rate(ms) | Interval at which MAC addresses are learned. |
Action | Action taken on the packets after the maximum number is reached.
|
Alarm | Whether an alarm is generated when the number of learned MAC addresses reaches the limit:
|
PortNum | Total number of the interfaces on which the global MAC address learning limit rule is applied. |
Port | Number of the port to which the global MAC address learning limit rule is applied. |
Vlan | ID of the VLAN to which the interface belongs. |