Address Table Commands
165
OL-32830-01 Command Line Interface Reference Guide
5
User Guidelines
Use the command to add a static MAC address with given time-to-live in any
mode or to add a secure MAC address in a secure mode.
Each MAC address in the MAC address table is assigned two attributes: type and
time-to-live.
The following value of time-of-live is supported:
•
permanent—MAC address is saved until it is removed manually.
•
delete-on-reset—MAC address is saved until the next reboot.
•
delete-on-timeout—MAC address that may be removed by the aging timer.
The following types are supported:
•
static— MAC address manually added by the command with the following
keywords specifying its time-of-live:
-
permanent
-
delete-on-reset
-
delete-on-timeout
A static MAC address may be added in any port mode.
•
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
interface gi11
switchxxxxxx(config)#
mac address-table static
00:3f:bd:45:5a:b2 vlan 1
interface gi11 permanent
Summary of Contents for 300 Series
Page 2: ......