3com 8807 User Guide

Page of 883
Maximum MAC Address Number Learned by Ethernet Port and Forwarding Option Configuration
117
In addition, this command takes effect on all the ports. However the address aging 
only functions on the dynamic addresses (the learned or configured as age entries 
by the user).
By default, the aging-time is 300 seconds. With the key word no-aging, the 
command performs no aging on the MAC address entries.
CAUTION: The dynamic MAC address aging is completed during the second 
aging cycle.
Maximum MAC 
Address Number 
Learned by Ethernet 
Port and Forwarding 
Option Configuration
With MAC address learning, Switch 8800 Family switches can obtain MAC 
addresses of every network devices on network segments connecting to a port. As 
for packets destined to those MAC addresses, the switch directly uses hardware to 
forward them. An overlarge MAC address table may cause the low forwarding 
performance of the switch.
You can control the number of entries of the MAC address table by setting the 
maximum number of MAC addresses learned by a port. if you set the value to 
count, and when the number of MAC addresses learned by the port reaches this 
value, this port will no longer learn any more MAC addresses.
You can also set the switch to forward corresponding packets when the number 
of MAC addresses learned by the port exceeds the configured threshold.
Maximum MAC Address 
Number Learned by a 
Port and Forwarding 
Option Configuration 
Tasks
Perform the following configuration to set the maximum number of MAC 
addresses that can be learned by an Ethernet port and the processing policy to be 
adopted by the switch when this number is reached.
Table 99   Set the MAC address aging time for the system
Operation 
Command 
Set the dynamic MAC address aging time 
mac-address timer { aging age | no-aging } 
Restore the default MAC address aging time 
undo mac-address timer aging
Table 100   Configure the maximum number of MAC addresses learned by a port and 
processing policy
Configuration item 
Command 
Description 
Enter system view 
<SW8800> system-view 
Enter Ethernet port view 
Interface interface-type 
interface-number
 
Set the maximum number of 
MAC addresses learned by an 
Ethernet port 
mac-address 
max-mac-count
 count 
By default, the switch has no 
limit on the maximum number 
of MAC addresses learned by 
a port. 
Set the processing policy 
when the number of MAC 
addresses learned by a port 
reaches the threshold value 
mac-address 
max-mac-count enable
 { 
alarm | forward }* 
By default, the switch 
forwards packets whose 
source MAC addresses are not 
leaned by the port when the 
number of MAC addresses 
learned reaches the threshold 
value.