Operation Manual – MAC Address Forwarding Table
Quidway S3100 Series Ethernet Switches
Chapter 1 MAC Address Table Management
Huawei Technologies Proprietary
1-5
can limit the number of MAC address entries a switch maintains. A port stops learning
MAC addresses if the number of MAC addresses it has learnt reaches the set value.
Table 1-3 Set the maximum number of MAC addresses a port can learn
Operation Command Description
Enter system view
system-view
—
Enter port view
interface interface-type
interface-number
—
Set the maximum
number of MAC
addresses the port
can learn
mac-address
max-mac-count count
Required
By default, the number of the
MAC addresses a port can
learn is not limited.
1.3 Displaying and Maintaining a MAC Address Table
To verify your configuration, you can display information about the MAC address table
by executing the display command in any view.
Table 1-4 Display and maintain the MAC address table
Operation Command
Display information about the MAC
address table
display mac-address [ display-option ]
Display the aging time of the dynamic
MAC address entries in the MAC
address table
display mac-address aging-time
1.4 Configuration Example
I. Network requirements
z Log into the switch through the Console port.
z Set the aging time of the dynamic MAC address entries to 500 seconds.
z Add a static MAC address entry for Ethernet1/0/2 port (assuming that the port
belongs to VLAN 1), with the MAC address of 00e0-fc35-dc71.