deleted manually. The learned entries will be cleared after the switch is 
rebooted. When permanent mode is selected, the learned MAC address will 
be out of the influence of the aging time and can only be deleted manually too. 
However, the learned entries will be saved even the switch is rebooted. 
status  ——  Select the action to be taken when the number of the MAC 
addresses reaches the maximum learning number on the port. By default this 
function is disabled. 
•  forward: The packets will be forward but not be learned when learned 
MAC number exceeds the the maximum MAC address number on this port. 
•  drop: The packets will be dropped when learned MAC number exceeds 
the the maximum MAC address number on this port. 
•  disable: The MAC address threshold on this port is disabled. 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet) 
Privilege Requirement 
Only Admin, Operator and Power User level users have access to these 
commands. 
Example 
Enable Port Security function for port 1/0/1, select Static mode as the learn 
mode, and specify the maximum number of MAC addresses that can be 
learned on this port as 30. When the number of MAC address entries reaches 
30 on this port, new entry will be dropped :     
T2500G-10TS(config)# interface gigabitEthernet 1/0/1 
T2500G-10TS(config-if)# mac address-table max-mac-count max-number 
30 mode static status drop 
20.5  show mac address-table 
Description 
The show mac address-table command is used to display the information of 
all address entries. 
Syntax 
show mac address-table { dynamic | static | drop | all } 
148