Set vlan – Avaya P460 User Manual

Page 127

Advertising
background image

Chapter 2

Avaya P460 CLI Commands

Avaya P460 Reference Guide

117

Example:

set vlan

User level: read-write, admin.
Use the set vlan command to configure VLANs.

The syntax for this command is:

set vlan

<vlan-id> [name <vlan-name>]

Example:

If you wish to define a name which includes spaces, you must enclose the entire
name in quotation marks, for example “new york”.

port

Number of the port on the module. If you do not specify a
number, all the ports on the module are set.
You can also specify a range of ports separated by a dash,
for example, 4/5-13 for ports 5 to 13 on module 4.

off
(Optional)

Forces the port to become a non-tagging port and persuade
the neighboring port to become a non-tagging port. The
port becomes a non-tagging port even if the neighbor port
does not agree to become a non-tagging port.

dot1q
(Optional)

Specifies an IEEE 802.1Q tagging on a Fast Ethernet or
Gigabit Ethernet port.

P460-1# set trunk 3/3 dot1q

Dot1Q VLAN tagging set on port 3/3.

vlan-id

vlan number

vlan-name

vlan name

P460-1# set vlan 3 name gregory

VLAN id 3, vlan-name gregory created.

Advertising