Entering The Vlan Submode And Configuring The Vlan - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Chapter 6
Configuring VLANs
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
You can also create and delete VLANs in the VLAN configuration submode.
Note
To delete a VLAN, perform this task:
Command
switch(config-vlan)# no vlan {vlan-id |
vlan-range}

Entering the VLAN Submode and Configuring the VLAN

To configure or modify the VLAN for the following parameters, you must be in the VLAN configuration
submode:
Note
You cannot create, delete, or modify the default VLAN or the internally allocated VLANs. Additionally,
some of these parameters cannot be modified on some VLANs; see the
section on page 6-2
To enter the submode and configure the VLAN, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# vlan {vlan-id |
vlan-range}
Step 3
switch(config-vlan)# name vlan-name
Step 4
switch(config-vlan)# no shutdown
This example shows how to configure optional parameters for VLAN 5:
switch# configure terminal
switch(config)# vlan 5
switch(config-vlan)# name accounting
switch(config-vlan)# state active
switch(config-vlan)# no shutdown
OL-16597-01
Name
Shut down
for complete information.
Purpose
Deletes the specified VLAN or range of VLANs and
removes you from the VLAN configuration submode.
You cannot delete VLAN1 or the internally allocated
VLANs.
Purpose
Enters configuration mode.
Enters VLAN configuration submode. If the VLAN
does not exist, the system first creates the specified
VLAN.
Names the VLAN. You can enter up to 32
alphanumeric characters to name the VLAN. You
cannot change the name of VLAN1 or the internally
allocated VLANs. The default value is VLANxxxx
where xxxx represent four numeric digits (including
leading zeroes) equal to the VLAN ID number.
Enables the VLAN. The default value is no shutdown
(or enabled). You cannot shut down the default
VLAN, VLAN1, or VLANs 1006 to 4094.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring a VLAN
"Understanding VLAN Ranges"
6-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents