3Com WX2200 3CRWX220095A Switch User Manual


 
98 CHAPTER 5: CONFIGURING AND MANAGING PORTS AND VLANS
To display all entries that begin with 00, type the following command:
WX1200# display 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
(For information about the fields in the output, see the Wireless LAN
Switch and Controller Command Reference.)
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:
WX1200# 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:
WX1200# 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]
To clear all dynamic forwarding database entries that match all VLANs,
type the following command:
WX1200# clear fdb dynamic
success: change accepted.
To clear all dynamic forwarding database entries that match ports 3 and
5, type the following command:
WX1200# clear fdb port 3,5
success: change accepted.