mac
Commands for MAC Address Table Configuration
210
16.2 Commands for Mac Address Binding
configuration
16.2.1 clear port-security dynamic
Command: clear port-security dynamic [address <mac-addr> | interface
<interface-id>]
Function: Clear the Dynamic MAC addresses of the specified port.
Command mode: Admin Mode.
Parameter: <mac-addr> stands MAC address; <interface-id> for specified port
number.
Usage Guide: The secure port must be locked before dynamic MAC clearing operation
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
16.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
16.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.










