xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
278 
 
Chapter 30  Filter Database (FDB) 
Command List 
 
create fdb <vlan_name 32> <macaddr> [port <port> | drop] 
create fdb vlanid <vidlist> <macaddr> [port <port> | drop] 
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 vlan_filtering_mode [vlanid <vidlist> | 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 | security]} 
show multicast vlan_filtering_mode {[ vlanid < vidlist> | vlan <vlan_name 32>]} 
 
30-1  create fdb 
Description 
This command is used to create a static entry in the unicast MAC address forwarding table 
(database). 
 
Format 
create fdb <vlan_name 32> <macaddr> [port <port> | drop] 
 
Parameters 
<vlan_name 32> - Specify a VLAN name associated with a MAC address. The maximum length 
of the VLAN name is 32 bytes. 
<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. 
<port> - Enter the port number corresponding to the MAC destination address here. 
drop - Specify the action drop to be taken. 
 
Restrictions 
Only Administrator, Operator and Power-User level users can issue this command. 
 
Example 
To create a unicast MAC forwarding entry: