Operation Manual
VLAN Commands
Mobility System Software Command Reference Guide
Version 7.3
6 – 68
Defaults
None.
Access
Enabled.
History
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:
MX# clear fdb static vlan blue
success: change accepted.
The following command clears all dynamic forwarding database entries that match all VLANs:
MX# clear fdb dynamic
success: change accepted.
The following command clears all dynamic forwarding database entries that match ports 3 and 5:
MX# clear fdb port 3,5
success: change accepted.
See Also
● set fdb on page 6-71
● show fdb on page 6-76
clear security l2-restrict
Removes one or more MAC addresses from the list of destination MAC addresses that clients in a
VLAN are allowed to send traffic at Layer 2.
Syntax
clear security l2-restrict vlan vlan-id
[permit-mac mac-addr [mac-addr] | all]
system Clears system entries from the FDB. You must specify a VLAN name or number with
this option.
dynamic 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.
mac-addr Clears MAC addresses from the FDB. You must specify a MAC address in the format
a:b:c:d:e:f or a-b-c-d-e-f.
port port-list 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 vlan-id 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.
tag tag-value 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.
MSS Version 1.0 Command introduced.
MSS Version 7.0 Added address-mode and MAC address option.
vlan-id VLAN name or number.