Clear vlan, Clear vlan (layer 3), Clear vlan clear vlan (layer 3) – Avaya P460 User Manual

Page 32

Advertising
background image

Chapter 2

Avaya P460 CLI Commands

22

Avaya P460 Reference Guide

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>[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:

clear vlan (Layer 3)

User level: read-write, admin.
L 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>]

Example:

vlan_id

VLAN number

vlan_name

VLAN name

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

ifIndex

Interface Index

ifname

Interface name (used in layer 3 protocols)

Router-1(configure)# clear vlan 2 name vlan2

Advertising