show mac address-table
This topic explains the command that displays the MAC address table, optionally filtered by a MAC address.
|
Syntax |
show mac address-table [mac-address] |
|
Parameter |
|
|
Default |
No default value. |
|
Mode |
Privileged EXEC |
|
Usage |
Use this command to show the entries in the MAC address table. As an option, you can specify a single MAC address for which entries in the MAC address table must be displayed. |
Example: This example shows how to display the entire MAC address table:
Switch# show mac address-table
VID | MAC Address | Type | Ports
------+-------------------+-------------------+---------------
1 | DE:AD:BE:EF:01:02 | Management | CPU
1 | 1C:E6:C7:8F:10:02 | Dynamic | g3
Total number of entries: 2
Example: This example shows how to display address table entries that contain MAC address 00:11:22:33:44:55:
Switch# show mac address-table 00:11:22:33:44:55
VID | MAC Address | Type | Ports
------+-------------------+------------+----------------
100 | 00:11:22:33:44:55 | Static | g1
Total number of entries: 1