Adding/Removing A Vlan - OmniSwitch os6900 Network Configuration Manual

Table of Contents

Advertisement

Configuring VLANs
The operational status of a VLAN remains inactive until at least one active switch port is assigned to the
VLAN. This means that VLAN properties, such as Spanning Tree or router interfaces, also remain
inactive. Ports are considered active if they are connected to an active network device. Non-active port
assignments are allowed, but do not change the operational state of the VLAN.
Ports can be statically assigned to VLANs. When a port is assigned to a VLAN, a VLAN port association
(VPA) is created and tracked by VLAN management switch software. For more information about VPAs,
see
"Assigning Ports to VLANs" on page

Adding/Removing a VLAN

To add a VLAN to the switch configuration, enter vlan followed by a unique VLAN ID, an optional
administrative status, and an optional description. For example, the following command creates VLAN
755 with a description:
-> vlan 755 name "IP Finance Network"
By default, administrative status and Spanning Tree are enabled when the VLAN is created. The name
parameter for VLAN is optional.
Note. Quotation marks are required if the description contains multiple words separated by spaces. If the
description consists of only one word or multiple words separated by another character, such as a hyphen,
then quotes are not required.
You can also specify a contiguous range of VLAN IDs by using a hyphen with the vlan command. For
example, the following commands create VLANs 10 through 15 and 100 through 105 on the switch:
-> vlan 10-15 name "Marketing Network"
-> vlan 100-105 name "Marketing Network"
To remove a VLAN from the switch configuration, use the no form of the vlan command.
-> no vlan 200
-> no vlan 100-105
-> no vlan 10-15
When a VLAN is deleted, any router interfaces defined for the VLAN are removed and all VLAN port
associations are dropped. If the VLAN deleted is the default VLAN for a port, the port returns to default
VLAN 1. If the VLAN deleted is not a default VLAN, then the ports are directly detached from the
VLAN. For more information about VLAN router interfaces, see
page
4-10.
To view a list of VLANs already configured on the switch, use the
the VLAN Configuration" on page 4-13
OmniSwitch AOS Release 7 Network Configuration Guide
4-6.
for more information.
June 2013
Creating/Modifying VLANs
"Configuring VLAN IP Interfaces" on
show vlan
command. See
"Verifying
page 4-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents