D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
324
Chapter 31
FDB Commands
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>]}
31-1 create fdb
Description
This command is used to make an entry into the switch’s unicast MAC address forwarding
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
is 32 characters.
<macaddr> - Specify the MAC address to be added to the static forwarding table.
port - The switch will always forward traffic to the specified device through this port.
<port> - Specify the port number corresponding to the MAC destination address.
drop
- Specify to have the switch drop traffic.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create an unicast MAC forwarding:
DGS-3420-28SC:admin#create fdb default 00-00-00-00-01-02 port 1:5
Command: create fdb default 00-00-00-00-01-02 port 1:5
Success.
DGS-3420-28SC:admin#