Clears static entries. A static entry does not age out, but is removed from the database after a reboot, reset, or power cycle.You must specify a VLAN name or number with this option.
Clears dynamic entries. A dynamic entry is automatically removed through aging or after a reboot, reset, or power cycle.You are not required to specify a VLAN name or number with this option.
Clears dynamic entries that match destination ports in the port list. You are not required to specify a VLAN name or number with this option.
VLAN name or number—required for removing permanent and static entries. For dynamic entries, specifying a VLAN removes entries that match only that VLAN. Otherwise, dynamic entries that match all VLANs are removed.
VLAN tag value that identifies a virtual port. If you do not specify a tag value, MSS deletes only entries that match untagged interfaces. Specifying a tag value deletes entries that match only the specified tagged interface.
Clears permanent entries. A permanent entry does not age out and remains in the database even after a reboot, reset, or power cycle.You must specify a VLAN name or number with this option.

clear fdb

Deletes an entry from the forwarding database (FDB).

Syntax: clear fdb {perm static dynamic port port-list} [vlan vlan-id] [tag tag-value] perm

static

dynamic

port port-lis

vlan vlan-id

tag tag-value

Defaults: None.

Access: Enabled.

Usage: You can delete forwarding database entries based on entry type, port, or VLAN. A VLAN name or number is required for deleting permanent or static entries.

Examples: The following command clears all static forwarding database entries that match VLAN blue:

dws-1008# clear fdb static vlan blue success: change accepted.

The following command clears all dynamic forwarding database entries that match all VLANs:

dws-1008# clear fdb dynamic success: change accepted.

The following command clears all dynamic forwarding database entries that match ports 3 and 5:

dws-1008# clear fdb port 3,5 success: change accepted.

D-Link DWS-1008 CLI Manual

60

Page 63
Image 63
D-Link dws-1008 Clear fdb, Deletes an entry from the forwarding database FDB, Port port-lis Vlan vlan-id Tag tag-value