TP-LINK 16-Port Gigabit Web Smart Switch with 2 Combo SFP Slots TL-SG2216WEB Data Sheet

Product codes
TL-SG2216WEB
Page of 226
 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet) 
Example 
Enable Port Security function for port 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:     
TL-SG2424(config)# interface gigabitEthernet 1/0/1 
TL-SG2424(config-if)# mac address-table max-mac-count max-number 30 
mode static status enable 
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 } 
Parameter 
dynamic | static | drop | all —— The type of your desired entry 
Command Mode 
Privileged EXEC Mode and Any Configuration Mode 
Example 
Display the information of all address entries: 
TL-SG2424(config)# show mac address-table all 
show mac address-table aging-time 
Description 
The
  show  mac address-table aging-time  command is used to display the 
Aging Time of the MAC address.   
Syntax 
show mac address-table aging-time 
Command Mode 
Privileged EXEC Mode and Any Configuration Mode 
62