29
426
•
secure— A MAC address added manually or learned in a secure mode. Use
the mac address-table static command with the secure keyword to add a
secure MAC address. The MAC address cannot be relearned.
A secure MAC address may be added only in a secure port mode.
•
dynamic— a MAC address learned by the switch in non secure mode. A
value of its time-to-live attribute is delete-on-timeout.
Examples
Example 1 - The following example adds two permanent static MAC address:
switchxxxxxx(config)#mac address-table static 00:3f:bd:45:5a:b1 vlan 1 gi1
switchxxxxxx(config)mac address-table static 00:3f:bd:45:5a:b2 vlan 1 gi1
permanent
Example 2 - The following example adds a deleted-on-reset static MAC address:
switchxxxxxx(config)mac address-table static 00:3f:bd:45:5a:b2 vlan 1 gi1
delete-on-reset
Example 3 - The following example adds a deleted-on-timeout static MAC
address:
switchxxxxxx(config)mac address-table static 00:3f:bd:45:5a:b2 vlan 1 gi1
delete-on-timeout
Example 4 - The following example adds a secure MAC address:
switchxxxxxx(config)mac address-table static 00:3f:bd:45:5a:b2 vlan 1 gi1
secure
29.19 clear mac address-table
Use the clear mac address-table Privileged EXEC command to remove learned or
secure entries from the forwarding database (FDB).
Address Table Commands
78-21075-01 Command Line Interface Reference Guide