Chapter 2 Avaya P460 CLI Commands
clear vlan
User level: read-write, admin.
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 | VLAN number |
vlan_name | VLAN name |
If you wish to enter a name which includes spaces, you must enclose the entire name in quotation marks, for example “new york”.
Example:
P460-1# clear vlan 100
This command will assign all ports on vlan 100 to their default in the entire management domain - do you want to continue (Y/N)? y
VLAN 100 deletion successful
clear vlan (Layer 3)
User level: read-write, admin.
You can only access this command in Configure mode.
Type configure at the command prompt to enter Configure mode if necessary.
Use the clear vlan command to delete a Router layer 2 interface.
The syntax for this command is:
clear vlan [<ifIndex>] [name <ifname>]
ifIndex | Interface Index |
ifname | Interface name (used in layer 3 protocols) |
Example: |
|
Router-1(configure)# clear vlan 2 name vlan2
22 | Avaya P460 Reference Guide |