3.
Run:
mac-limit
maximum
max-num
The maximum number of MAC address entries learned by the interface is set.
By default, the number of MAC address entries learned on an interface is not limited.
4.
Run:
mac-limit
action
{
discard
|
forward
}
The action to be taken on packets with unknown source MAC addresses is configured
when the number of learned MAC address entries reaches the limit.
By default, the device discards packets with unknown source MAC addresses after
the number of learned MAC address entries reaches the limit.
5.
Run:
mac-limit
alarm
{
disable
|
enable
}
The industrial switch router is configured to (or not to) send an alarm to the NMS
when the number of learned MAC address entries reaches the limit.
By default, the industrial switch router sends an alarm to the NMS when the number
of learned MAC address entries reaches the limit.
l
Limit the number of MAC address entries learned in a VLAN.
1.
Run:
system-view
The system view is displayed.
2.
Run:
vlan
vlan-id
The VLAN view is displayed.
3.
Run:
mac-limit
maximum
max-num
The maximum number of MAC address entries learned in the VLAN is set.
By default, the number of MAC address entries learned in a VLAN is not limited.
4.
Run:
mac-limit
alarm
{
disable
|
enable
}
The industrial switch router is configured to (or not to) send an alarm to the NMS
when the number of learned MAC address entries reaches the limit.
By default, the industrial switch router sends an alarm to the NMS when the number
of learned MAC address entries reaches the limit.
----End
1.6.1.6 Checking the Configuration
Procedure
l
Run the
display mac-address
command to check all MAC address entries.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
1 MAC Address Table Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
13