mac

174
can be perform in specified port. If no ports and MAC are specified, then all dynamic MAC
in all locked secure ports will be cleared; if only port but no MAC address is specified, then
all MAC addresses in the specified port will be cleared.
Example: Delete all dynamic MAC in port1.
Switch#clear port-security dynamic interface Ethernet 1/1
5.2.2 mac-address-table periodic-monitor-time
Command: mac-address-table periodic-monitor-time <5-86400>
Function: Set the MAC monitor interval to count the added and deleted MAC in time, and
send out them with trap message.
Parameter: <5-86400>: the interval is 5 to 86400 seconds.
Command mode: Global Mode.
Default: 60 seconds.
Usage Guide: Associate this command with mac-address-table synchronizing enable
command to use.
Example: Set the MAC monitor interval as 120 seconds.
Switch(Config)#mac-address-table periodic-monitor-time 120
5.2.3 mac-address-table trap enable
Command: mac-address-table trap enable
no mac-address-table trap enable
Function: Enable or disable mac notification trap passthrough.
Parameter: None.
Command mode: Port Mode.
Default: Disable.
Usage Guide: Enable mac-address-table synchronizing and global mac notification trap,
then enable mac-address-table mac trap and mac notification trap in port mode. This
command takes effect as subcommand of mac-address-table synchronizing trap
command after enable global mac-address-table synchronizing trap only.
Example: Enable mac notification trap in port mode after the global mac notification trap
is enabled.
Switch(config)#mac-address-table synchronizing enable
Switch(config-if-ethernet1/1)#mac-address-table trap enable
Switch(config-if-enternet1/1)#exit
Swtich(config-if-ethernet1/1)#