User`s manual

80
DWS-1008 User’s Manual
D-Link Systems, Inc.
Conguring and Managing Ports and VLANs
Use a colon between each byte in the address (for example, 11:22:33:aa:bb:cc or 11:22:33:*).
You can enter the asterisk (*) at the beginning or end of the address as a wildcard, on any byte
boundary. To display all entries in the forwarding database, type the following command:
DWS-1008# show fdb all
* = Static Entry. + = Permanent Entry. # = System Entry.
VLAN TAG Dest MAC/Route Des [CoS] Destination Ports [Protocol Type]
----------------------------------------------------------------------------------------------------------------------
1 00:01:97:13:0b:1f 1 [ALL]
1 aa:bb:cc:dd:ee:ff * 3 [ALL]
1 00:0b:0e:02:76:f5 1 [ALL]
Total Matching FDB Entries Displayed = 3
To display all entries that begin with 00, type the following command:
DWS-1008# show fdb 00:*
* = Static Entry. + = Permanent Entry. # = System Entry.
VLAN TAG Dest MAC/Route Des [CoS] Destination Ports [Protocol Type]
------------------------------------------------------------------------------------------------------------------------
1 00:01:97:13:0b:1f 1 [ALL]
1 00:0b:0e:02:76:f5 1 [ALL]
Total Matching FDB Entries Displayed = 2
Adding an Entry to the Forwarding Database
To add an entry to the forwarding database, use the following command:
set fdb {perm | static} mac-addr port port-list vlan vlan-id [tag tag-value]
To add a permanent entry for MAC address 00:bb:cc:dd:ee:ff on ports 3 and 5 in VLAN
blue, type the following command:
DWS-1008# set fdb perm 00:bb:cc:dd:ee:ff port 3,5 vlan blue
success: change accepted.
To add a static entry for MAC address 00:2b:3c:4d:5e:6f on port 1 in the default VLAN, type
the following command:
DWS-1008# set fdb static 00:2b:3c:4d:5e:6f port 1 vlan default
success: change accepted.
Removing Entries from the Forwarding Database
To remove an entry from the forwarding database, use the following command:
clear fdb {perm | static | dynamic | port port-list} [vlan vlan-id] [tag tag-value]