D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
278
36
FILTER DATABASE (FDB) COMMANDS
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_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>}
enable cpu_rx_rate_control {<class_id 0-2>}
disable cpu_rx_rate_control {<class_id 0-2>}
show cpu_rx_rate_control
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: