Changing The Range Of Reserved Vlans - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Changing the Range of Reserved VLANs

When you delete a VLAN, ports associated to that VLAN shut down. The traffic does not flow and the
Note
packets are dropped.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# vlan {vlan-id | vlan-range}
3. switch(config-vlan)# no vlan {vlan-id | vlan-range}
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# vlan {vlan-id |
vlan-range}
Step 3
switch(config-vlan)# no 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
You can create and delete VLANs in the VLAN configuration submode.
Note
Changing the Range of Reserved VLANs
To change the range of reserved VLANs, you must be in global configuration mode. After entering this
command, you must do the following tasks:
• Enter the copy running-config startup-config command
• Reload the device
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
44
Purpose
Enters global configuration mode.
Creates a VLAN or a range of VLANs.
If you enter a number that is already assigned to a VLAN, the switch moves 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.
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.
Configuring VLANs
OL-25842-01

Advertisement

Table of Contents
loading

Table of Contents