3com 4210 PWR 9-Port 3CR17341-91-ME 用户手册

产品代码
3CR17341-91-ME
下载
页码 567
136
C
HAPTER
 13: MAC A
DDRESS
 T
ABLE
 M
ANAGEMENT
Normally, you are recommended to use the default aging time, namely, 300 
seconds. The no-aging keyword specifies that MAC address entries do not age 
out.
MAC address aging configuration applies to all ports, but only takes effect on 
dynamic MAC addresses that are learnt or configured to age.
Setting the Maximum 
Number of MAC 
Addresses a Port Can 
Learn
The MAC address learning mechanism enables an Ethernet switch to acquire the 
MAC addresses of the network devices on the segment connected to the ports of 
the switch. By searching the MAC address table, the switch directly forwards the 
packets destined for these MAC addresses through the hardware, improving the 
forwarding efficiency. A MAC address table too big in size may prolong the time 
for searching MAC address entries, thus decreasing the forwarding performance 
of the switch.
By setting the maximum number of MAC addresses that can be learnt from 
individual ports, the administrator can control the number of the MAC address 
entries the MAC address table can dynamically maintain. When the number of the 
MAC address entries learnt from a port reaches the set value, the port stops 
learning MAC addresses.
Displaying MAC 
Address Table 
Information
To verify your configuration, you can display information about the MAC address 
table by executing the display command in any view.
Table 92   Set aging time of MAC address entries
Operation 
Command 
Description 
Enter system view 
system-view 
Set the aging time of MAC 
address entries 
mac-address timer { aging 
age | no-aging } 
Required
The default aging time is 300 
seconds.
Table 93   Set the maximum number of MAC addresses a port can learn
Operation 
Command 
Description 
Enter system view 
system-view 
Enter Ethernet 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.
Table 94   Display MAC address table information
Operation 
Command 
Description 
Display information about the 
MAC address table 
display mac-address [ 
display-option ] 
The display command can be 
executed in any view. 
Display the aging time of the 
dynamic MAC address entries 
in the MAC address table 
display mac-address 
aging-time