Chapter 18
| Address Table Commands
– 492 –
Command Usage
◆ The MAC Address Table contains the MAC addresses associated with each
interface. Note that the Type field may include the following types:
■
Learn - Dynamic address entries
■
Config - Static entry
■
Security - Port Security
◆ 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 16K.
Example
Console#show mac-address-table
Interface MAC Address VLAN Type Life Time
--------- ----------------- ---- -------- -----------------
CPU 00-00-0C-00-00-FD 1 CPU Delete on Reset
Eth 1/ 1 00-E0-29-94-34-DE 1 Config Delete on Reset
Eth 1/21 00-01-EC-F8-D8-D9 1 Learn Delete on Timeout
Console#
show mac-address-
table aging-time
This command shows the aging time for entries in the address table.
Default Setting
None
Command Mode
Privileged Exec
Example
Console#show mac-address-table aging-time
Aging Status : Enabled
Aging Time: 300 sec.
Console#