Operation Manual
VLAN Commands
VLAN Commands
6 – 71
clear vlan-profile
Removes a VLAN profile or individual entries from a VLAN profile.
Syntax
clear vlan-profile profile-name [vlan vlan-name]
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 6.0.
Usage
A VLAN profile lists the VLANs that locally switch traffic by MPs where the VLAN profile
is applied. Use this command to remove individual VLANs from a VLAN profile, or to remove an
entire VLAN profile. If you remove all of the entries from a VLAN profile, the VLAN profile is
removed.
If a VLAN profile is changed so that traffic that had been tunneled to an MX is now locally
switched by MPs, or vice-versa, the sessions of clients associated with the MPs where the VLAN
profile is applied are terminated, and the clients must re-associate with the MPs.
Examples
The following command removes the entry for VLAN red from VLAN profile locals:
MX# clear vlan-profile locals vlan red
MX#
The following command removes VLAN profile locals:
MX# clear vlan-profile locals
MX#
See Also
● set ap local-switching vlan-profile on page 12-245
● set vlan-profile on page 6-75
● show vlan-profile on page 6-83
set fdb
Adds a permanent or static entry to the forwarding database.
Syntax
set fdb {perm | static} mac-addr port port-list
vlan vlan-id [tag tag-value]
profile-name VLAN profile name
vlan-name Name of a VLAN to remove from the VLAN profile.
perm Adds a permanent entry. A permanent entry does not age out and remains in the
database even after a reboot, reset, or power cycle.
static Adds a static entry. A static entry does not age out, but is removed from the database
after a reboot, reset, or power cycle.
mac-addr Destination MAC address of the entry. Use colons to separate the octets (for example,
00:11:22:aa:bb:cc).
port
port-list
List of physical destination ports for which to add the entry. A separate entry is added
for each port you specify.