Chapter 16
| Address Table Commands
– 440 –
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
Flag: * - VXLAN VNID
Interface MAC Address VLAN/VXLAN Type Life Time
--------- ----------------- ---------- -------- -----------------
CPU 70-72-CF-EA-1B-71 1 CPU Delete on Reset
Eth 1/ 1 14-DA-E9-CF-40-04 1 Learn Delete on Timeout
Eth 1/ 1 14-DA-E9-CF-40-03 3 Config Permanent
Eth 1/ 2 00-10-B5-A7-74-F5 1 Learn Delete on Timeout
Eth 1/ 2 00-00-00-00-BB-BB * 1002 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#