TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
93
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 —— Enable or disable the Port Security function for a specified port. By
default, this function is disabled.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Enable Port Security function for Fast Ethernet 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-SL3428(config)#interface fastEthernet 1/0/1
TL-SL3428(config-if)#mac address-table max-mac-count max-number 30
mode static status enable
show mac address-table address
Description
The show mac address-table address command is used to display the
information of all address entries.
Syntax
show mac address-table address {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-SL3428(config)#show mac address-table address all