Forwarding Database Maintenance
© Copyright Lenovo 2016
The Forwarding Database commands can be used to view information and to
delete a MAC address from the forwarding database or to clear the entire
forwarding database. This is helpful in identifying problems associated with MAC
address learning and packet forwarding decisions.
Table 399.
FDB Manipulation Options
Command Syntax and Usage
show macaddresstable address <MAC address>
Displays a single database entry by its MAC address. Enter the MAC address
using one of the following formats:
xx:xx:xx:xx:xx:xx (such as 08:00:20:12:34:56)
xxxxxxxxxxxx (such as 080020123456)
Command mode: All
show macaddresstable interface port <port alias or number>
Displays all FDB entries for a particular port.
Command mode: All
show macaddresstable multicast
Displays all Multicast MAC entries in the FDB.
Command mode: All
show macaddresstable privatevlan <VLAN ID (2‐4094)>
Displays all FDB entries on a single private VLAN.
Command mode: All
show macaddresstable static
Displays static entries in the FBD.
Command mode: All
show macaddresstable vlan <VLAN ID (1‐4094)>
Displays all FDB entries on a single VLAN.
Command mode: All
no macaddresstable {multicast|static} {all|<MAC address>
<VLAN ID (1‐4094)>}
Removes static FDB entries.
Command mode: Global configuration
clear macaddresstable
Clears the entire Forwarding Database from switch memory.
Command mode: Privileged EXEC
Chapter 7: Maintenance Commands
711