3Com Switch 8800 Configuration Guide
Chapter 44 MAC Address Table Management
44-5
Sequence
number
Configuration item
Command
Description
5
Set the maximum
number of MAC
addresses learned
by an Ethernet port,
and when the
current number of
MAC addresses
exceeds the
threshold value,
whether the switch
forwards packets or
gives the network
administrator an
alarm,
[SW8800-EthernetX/1/
X]
mac-address
max-mac-count
count
or
[SW8800-EthernetX/1/
X]
mac-address
max-mac-count
enable forward alarm
By default, the
switch has no limit
on the maximum
number of MAC
addresses learned
by a port.
Use the corresponding undo command to cancel the configuration.
44.3.2 Configuring Maximum MAC Address Number Learned by Ethernet
Port and Forwarding Option Example
I. Network requirements
z
Set the maximum number of MAC addresses learned by Ethernet port
Ethernet3/1/3 to 600
z
Set the switch to drop the packets whose source MAC addresses are not learned
by the port when the number of MAC addresses learned exceeds 600
II. Configuration procedure
1)
Enter system view.
<SW8800> system-view
[SW8800]
2)
Enter Ethernet port view.
[SW8800] interface ethernet 3/1/3
3) Set the maximum number of MAC addresses learned by Ethernet port
Ethernet3/1/3 to 600.
[SW8800-Ethernet3/1/3] mac-address max-mac-count 600
4)
Set the switch to drop the packets whose source MAC addresses are not learned
by the port when the number of MAC addresses learned exceeds 600.
[SW8800-Ethernet3/1/3] undo mac-address max-mac-count enable forward
44.4 Displaying and Debugging MAC Address Tables
After the above configuration, execute the
display
command in any view to display the
running of the MAC address table configuration, and to verify the effect of the
configuration.