![D-Link DES-3528 - xStack Switch - Stackable Скачать руководство пользователя страница 98](http://html.mh-extra.com/html/d-link/des-3528-xstack-switch-stackable/des-3528-xstack-switch-stackable_cli-reference-manual_76439098.webp)
xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
98
Forwarding Database Commands
The layer 2 forwarding database 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> | 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>
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]}
config multicast
vlan_filtering_mode
[vlanid <vidlist> | vlan <vlan_name 32> | all ] [forward_all_groups |
forward_unregistered_groups | filter_unregistered_groups]
show multicast
vlan_filtering_mode
{[vlanid <vidlist> | vlan <vlan_name 32>]}
Each command is listed, in detail, in the following sections.
create fdb
Purpose
Used to create a static entry to the unicast MAC address forwarding table (database).
Syntax
create fdb <vlan_name 32> <macaddr> [port <port> | drop]
Description
This command will make an entry into the Switch’s unicast MAC address forwarding
database.
Parameters
<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.
drop -
Specifies that all the ports specified will drop the packet of the previously configured
MAC
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command
Example usage:
To create a unicast MAC FDB entry
:
DES-3528:admin# create fdb default 00-00-00-00-01-02 port 5
Command: create fdb default 00-00-00-00-01-02 port 5
Success.
DES-3528:admin#