Configuring A Vlan; Creating And Deleting A Vlan - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Configuring a VLAN

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
Commands entered in the VLAN configuration submode are immediately executed.
Note
VLANs 3968 to 4047 and 4094 are reserved for internal use; these VLANs cannot be changed or used.
Note
Configuring a VLAN
This section includes the following topics:

Creating and Deleting a VLAN

You can create or delete all VLANs except the default VLAN and those VLANs that are internally
allocated for use by the switch.
Once a VLAN is created, it is automatically in the active state.
When you delete a VLAN, ports associated to that VLAN shut down. The traffic does not flow and the
Note
packets are dropped.
To create a VLAN, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# vlan {vlan-id |
vlan-range}
This example shows how to create a range of VLANs from 15 to 20:
switch# configure terminal
switch(config)# vlan 15-20
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
6-4
Creating and Deleting a VLAN, page 6-4
Entering the VLAN Submode and Configuring the VLAN, page 6-5
Adding Ports to a VLAN, page 6-6
Purpose
Enters configuration mode.
Creates a VLAN or a range or VLANs.
If you enter a number that is already assigned to a
VLAN, the switch puts you into the VLAN
configuration submode for that VLAN. If you enter a
number that is assigned to an internally allocated
VLAN, the system returns an error message.
However, if you enter a range of VLANs and one or
more of the specified VLANs is outside the range of
internally allocated VLANs, the command takes
effect on only those VLANs outside the range. The
range is from 2 to 4094; VLAN1 is the default VLAN
and cannot be created or deleted. You cannot create or
delete those VLANs that are reserved for internal use.
Chapter 6
Configuring VLANs
OL-16597-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents