Chapter 6 | CLI – Layer 2 |
|
|
clear vlan
Use the clear vlan command to delete an existing VLAN and return ports from this VLAN to the default VLAN #1. When you clear a VLAN, all ports assigned to that VLAN are assigned to the default VLAN #1.
The syntax for this command is:
clear vlan
vlan_id | Number of the VLAN (range is 1to 3071) |
vlan_name | VLAN name |
Note: If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, e.g. "new york".
Output Example:
To delete an existing VLAN (VLAN 5) from a management domain:
This command will assign all ports on vlan 5 to their default in the entire management domain
- do you want to continue (Y/N)? y
All ports on
VLAN 5 was deleted successfully.
clear dynamic vlans
Use the clear dynamic vlans command to clear dynamic vlans. Only the VLANs learned by the switch from incoming traffic are cleared using this command.
The syntax for this command is:
clear dynamic vlans
Output Example:
This command will delete all the vlans that were dynamically learned by the device - do you want to continue (Y/N)?
Avaya P332MF User’s Guide | 85 |