Tp-Link T1600G-28PS (TL-SG2424P) [171/754] Using the cli

Tp-Link T1600G-28PS (TL-SG2424P) [171/754] Using the cli
Configuration Guide 149
Managing MAC Address Table Example for Security Configurations
3) Click Save Config to save the settings.
4) Enable SNMP and set a management host. For detailed SNMP configurations, please refer to
Managing SNMP & RMON.
4.4 Using the CLI
1) Set the maximum number of MAC address in VLAN 10 as 100, and choose drop mode.
Switch#configure
Switch(config)#mac address-table security vid 10 max-learn 100 drop
2) Configure the new-MAC-learned trap on port 2 and set notification interval as 10 seconds.
Switch(config)#mac address-table notification global-status enable
Switch(config)#mac address-table notification interval 10
Switch(config)#interface gigabitEthernet 1/0/2
Switch(config-if)#mac address-table notification new-mac-learned enable
Switch(config-if)#end
Switch#copy running-config startup-config
3) Configure SNMP and set a management host. For detailed SNMP configurations, please refer
to Managing SNMP & RMON.
Verify the Configurations
Verify the configuration of VLAN Security.
Switch#show mac address-table security vid 10
VlanId Max-learn Current-learn Status
------ --------- ------------- ------
10 100 0 Drop
Verify the configuration of MAC Notification on port 1/0/2.
Switch#show mac address-table notification interface gigabitEthernet 1/0/2
Port LrnMode Change Exceed Max Limit New Mac Learned
---- -------------- ---------------- ----------------
Gi1/0/2 disable disable enable

Содержание

Похожие устройства

Скачать