Configuring A Vlan - Cisco Nexus 3000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 6.x
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring a VLAN

Configuring a VLAN
To configure or modify the VLAN for the following parameters, you must be in the VLAN configuration
submode:
• Name
• Shut down
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.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
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
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
12
Command or Action
switch# configure terminal
switch(config)# vlan {vlan-id
| vlan-range}
switch(config-vlan)# name
vlan-name
switch(config-vlan)# state
{active | suspend}
switch(config-vlan)# no
shutdown
Purpose
Enters global 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 represents four numeric digits (including
leading zeroes) equal to the VLAN ID number.
Sets the state of the VLAN to active or suspend. While the VLAN
state is suspended, the ports associated with this VLAN are shut
down, and that VLAN does not pass any traffic. The default state
is active. You cannot suspend the state for the default VLAN or
VLANs 1006 to 4094.
(Optional)
Enables the VLAN. The default value is no shutdown (or
enabled). You cannot shut down the default VLAN, VLAN1, or
VLANs 1006 to 4094.
Configuring VLANs
OL-29545-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents