The layer 2 forwarding database commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
create fdb
create multicast_fdb
config multicast_fdb
config fdb aging_time
delete fdb
clear fdb
show multicast_fdb
show fdb
config multicast filtering_mode
show multicast filtering_mode
Each command is listed, in detail, in the following sections.
create fdb
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To create a unicast MAC FDB entry:
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
Parameters
<vlan_name 32> <macaddr> port <port>
<vlan_name 32> <macaddr>
<vlan_name 32> <macaddr> [add | delete] <portlist>
<sec 10-1000000>
<vlan_name 32> <macaddr>
[vlan <vlan_name 32> | port <port> | all]
{vlan <vlan_name 32> | mac_address <macaddr>}
{port <port> | vlan <vlan_name 32> | mac_address <macaddr> | static |
aging_time}
[<vlan_name 32> | all] [forward_all_groups | forward_unregistered_groups |
filter_unregistered_groups]
{vlan <vlan_name 32>}
Used to create a static entry to the unicast MAC address forwarding
table (database).
create fdb <vlan_name 32> <macaddr> port <port>
This command will make an entry into the Switch's unicast MAC
address forwarding database.
<vlan_name 32> − The name of the VLAN on which the MAC
address resides.
<macaddr> − The MAC address that will be added to the forwarding
table.
port <port> − The port number corresponding to the MAC destination
address. The Switch will always forward traffic to the specified
device through this port.
Only administrator-level users can issue this command.
DGS-3400:4#create fdb default 00-00-00-00-01-02 port 5
Command: create fdb default 00-00-00-00-01-02 port 5
Success.
DGS-3400:4#
F
ORWARDING
81
D
C
ATABASE
11
OMMANDS