System information

45
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
VLAN Commands
clear fdb (continued)
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.
clear vlan
Removes physical or virtual ports from a VLAN or removes a VLAN entirely.
Caution: When you remove a VLAN, MSS completely removes the VLAN from the
configuration and also removes all configuration information that uses the VLAN. If you want
to remove only a specific port from the VLAN, make sure you specify the port number in the
command.
Syntax: clear vlan vlan-id [port port-list [tag tag-value]]
vlan-id VLAN name or number.
port port-list List of physical ports. MSS removes the specified ports from the VLAN. If
you do not specify a list of ports, MSS removes the VLAN entirely.
tag tag-value Tag number that identifies a virtual port. MSS removes only the specified
virtual port from the specified physical ports.
Defaults: None
Access: Enabled