Clear vlan, Clear dynamic vlans, Clear vlan clear dynamic vlans – Avaya P333T User Manual

Page 101: Ge 85

Advertising
background image

Chapter 6

CLI – Layer 2

Avaya P333T User’s Guide

85

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

P330-N# clear vlan 5 name V5

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-id 5 assigned to default vlan.

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:

P330-N# clear dynamic vlans

This command will delete all the vlans that were dynamically

learned by the device - do you want to continue (Y/N)?

vlan_id

Number of the VLAN (range is 1to 3071)

vlan_name

VLAN name

Advertising