11.
Forwarding Database (FDB)
MN700004 Rev 01
105
How Entries Are Added to the FDB
You can add entries into the FDB in the following two ways:
•
The switch learns MAC addresses at the FDB with the following parameters:
source MAC address, VLAN, interface and the VLAN priority (if any).
•
You can add entry to the FDB statically.
Configuring and Displaying FDB Settings
Table 11-1 summarizes the commands for configuring and viewing FDB settings.
Table 11-1 FDB Configuration and Viewing Commands
C o m m a n d D e s c r i p t i o n
mac-address-table
Adds an entry to the FDB table.
clear mac-address-table
Clears the specified MAC addresses.
no mac-address-table
Clears the specified MAC addresses.
show mac-address-table
Displays the specified data pertaining to the FDB table.
mac-address-table aging-time
Sets the FDB aging time.
show mac-address-table aging-
time
Displays the FDB table aging time.
Description of Commands
Adding FDB Table Entries with the CLI
To add a new MAC address manually to the FDB table, use the following command in
Configuration mode.
mac-address-table
The
mac-address-table
command, in Global Configuration mode, adds a static, dynamic or
secure entry to the FDB table. The command specifies the entry’s MAC address, the port
number and the VLAN ID.