Address Table Commands4-159
4
Default Setting
None
Command Mode
Privileged Exec
Command Usage
The MAC Address Table contains the MAC addresses associated with each
interface. Note that the Type field may include the following types:
- Learned - Dynamic address entries
- Permanent - Static entry
- Delete-on-reset - Static entry to be deleted when system is reset
The mask should be hexadecimal numbers (representing an equivalent bit
mask) in the form xx-xx-xx-xx-xx-xx that is applied to the specified MAC
address. Enter hexadecimal numbers, where an equivalent binary bit “0”
means to match a bit and “1” means to ignore a bit. For example, a mask of
00-00-00-00-00-00 means an exact match, and a mask of
FF-FF-FF-FF-FF-FF means “any.”
The maximum number of address entries is 8191.
Example
mac-address-table aging-time
This command sets the aging time for entries in the address table. Use the no form
to restore the default aging time.
Syntax
mac-address-table aging-time seconds
no mac-address-table aging-time
seconds - Aging time. (Range: 10-1000000 seconds; 0 to disable aging)
Default Setting
300 seconds
Command Mode
Global Configuration
Command Usage
The aging time is used to age out dynamically learned forwarding information.
Console#show mac-address-table
Interface Mac Address Vlan Type
--------- ----------------- ---- -----------------
Eth 1/23 00-10-B5-C4-22-DD 1 Learned
Total number of MAC addresses : 1
Console#