Cisco Cisco SF302-08PP 8-port 10 100 PoE+ Managed Switch Referencia técnica
Address Table Commands
78-21485-01 Command Line Interface Reference Guide
465
29
switchxxxxxx(conf)mac address-table static 00:3f:bd:45:5a:b2 vlan 1 interface
gi1 permanent
Example 2 - The following example adds a deleted-on-reset static MAC address:
switchxxxxxx(conf)mac address-table static 00:3f:bd:45:5a:b2 vlan 1 interface
gi1 delete-on-reset
Example 3 - The following example adds a deleted-on-timeout static MAC
address:
address:
switchxxxxxx(conf)mac address-table static 00:3f:bd:45:5a:b2 vlan 1 interface
gi1 delete-on-timeout
Example 4 - The following example adds a secure MAC address:
switchxxxxxx(conf)mac address-table static 00:3f:bd:45:5a:b2 vlan 1 interface
gi1 secure
29.20 clear mac address-table
Use the clear mac address-table Privileged EXEC command to remove learned or
secure entries from the forwarding database (FDB).
secure entries from the forwarding database (FDB).
Syntax
clear mac address-table
dynamic interface interface-id
clear mac address-table
secure interface interface-id
Parameters
•
dynamic interface
interface-id
—Delete all dynamic (learned) addresses on
the specified interface.The interface ID can be one of the following types:
Ethernet port or port-channel. If interface ID is not supplied, all dynamic
addresses are deleted.
Ethernet port or port-channel. If interface ID is not supplied, all dynamic
addresses are deleted.