3Com WX2200 3CRWX220095A Switch User Manual


 
Managing the Layer 2 Forwarding Database 97
Displaying
Forwarding Database
Information
You can display the forwarding database size and the entries contained in
the database.
Displaying the Size of the Forwarding Database
To display the number of entries contained in the forwarding database,
use the following command:
display fdb count {perm | static | dynamic} [vlan vlan-id]
For example, to display the number of dynamic entries that the
forwarding database contains, type the following command:
WX1200# display fdb count dynamic
Total Matching Entries = 2
Displaying Forwarding Database Entries
To display the entries in the forwarding database, use either of the
following commands:
display fdb [mac-addr-glob [vlan vlan-id]]
display fdb {perm | static | dynamic | system | all}
[port port-list | vlan vlan-id]
The mac-addr-glob parameter can be an individual address, or a portion
of an address with the asterisk (*) wildcard character representing from 1
to 5 bytes. The wildcard allows the parameter to indicate a list of MAC
addresses that match all the characters except the asterisk.
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:
WX1200# display 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