xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
241
32
F
ILTER
D
ATABASE
(FDB)
C
OMMANDS
This section describes the Filter Database functionality and specifications based on IEEE 802.1d 2001 standard and
IEEE 802.1Q-2003 standard. Functions of this software module apply on L2 and L3 Ethernet switches.
The Filter Database (FDB) commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
create fdb
<vlan_name 32> <macaddr> port <port>
create multicast_fdb
<vlan_name 32> <macaddr>
config multicast_fdb
<vlan_name 32> <macaddr> [add | delete] <portlist>
config fdb aging_time
<sec 10-1000000>
config multicast filtering_mode
[vlan <vlan_name 32> | all ][forward_all_groups| forward_unregistered_groups|
filter_unregistered_groups]
delete fdb
<vlan_name 32> <macaddr>
clear fdb
[ vlan <vlan_name 32> | port <port> | all ]
show multicast_fdb
{[ vlan <vlan_name 32> | vlanid < vidlist > ]| mac_address <macaddr>}
show fdb
{port <port> | [ vlan <vlan_name 32> | vlanid <vidlist>] | mac_address
<macaddr> | static | aging_time}
show multicast filtering_mode
{vlan <vlan_name 32>}
Each command is listed, in detail, in the following sections.
create fdb
Purpose
Used to create a static entry in the unicast MAC address forwarding table (database).
Syntax
create fdb <vlan_name 32> <macaddr> port <port>
Description
The create fdb command places an entry into the switch’s unicast MAC address forwarding
database
Parameters
vlan_name
- Specifies a VLAN name associated with a MAC address.
macaddr
- The MAC address to be added to the static forwarding table.
port
- The port number corresponding to the MAC destination address. The switch will always
forward traffic to the specified device through this port.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a unicast MAC forwarding:
DGS-3450:admin# create fdb default 00-00-00-00-01-02 port 2:5
Command: create fdb default 00-00-00-00-01-02 port 2:5
Success.
DGS-3450:admin#