Configuring A Vlan - Cisco Nexus 9000 Series Configuration Manual

Nx-os layer 2 switching configuration
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring a VLAN

This example shows how to enter and exit the VLAN configuration submode:
switch# config t
switch(config)# vlan 15
switch(config-vlan)# exit
switch(config)#
Configuring a VLAN
To configure or modify a VLAN for the following parameters, you must be in the VLAN configuration
submode:
• Name
• State
• 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
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
26
Command or Action
config t
Example:
switch# config t
switch(config)#
vlan {vlan-id | vlan-range}
Example:
switch(config)# vlan 5
switch(config-vlan)#
name vlan-name
Example:
switch(config-vlan)# name
accounting
state {active | suspend}
Example:
switch(config-vlan)# state
active
Purpose
Enters configuration mode.
Places you into the VLAN configuration submode. If the
VLAN does not exist, the system creates the specified
VLAN and then enters the VLAN configuration submode.
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.
Note
128-character names are supported (VLAN
Long-Name).
Sets the state of the VLAN to active or suspend. While the
VLAN state is suspended, the ports associated with this
VLAN become inactive, 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 3967.
Configuring VLANs

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents