Creating, Deleting, and Modifying VLANs
• The no system vlan vlan-id reserve command changes the range for reserved VLANs to the default
• Use the show system vlan reserved command to verify the range of the current and future reserved
Example of VLAN Reserve
The following is an example of configuring the VLAN reserve (before and after image reload):
**************************************************
CONFIGURE NON-DEFAULT RANGE, "COPY R S" AND RELOAD
**************************************************
switch(config)# system vlan 400 reserve
"vlan configuration 400-527" will be deleted automatically.
Vlans, SVIs and sub-interface encaps for vlans 400-527 need to be removed by the user.
Continue anyway? (y/n) [no] y
Note: After switch reload, VLANs 400-527 will be reserved for internal use.
switch(config)# show system vlan reserved
system current running vlan reservation: 3968-4095
system future running vlan reservation: 400-527
switch(config)# copy running-config startup-config
[########################################] 100%
switch(config)# reload
This command will reboot the system. (y/n)?
************
AFTER RELOAD
************
switch# show system vlan reserved
system current running vlan reservation: 400-527
Creating, Deleting, and Modifying VLANs
By default, all Cisco Nexus 9396 and Cisco Nexus 93128 ports are Layer 2 ports.
Note
By default, all Cisco Nexus 9504 and Cisco Nexus 9508 ports are Layer 3 ports.
VLANs are numbered from 1 to 3967. All ports that you have configured as switch ports belong to the default
VLAN when you first bring up the switch as a Layer 2 device. The default VLAN (VLAN1) uses only default
values, and you cannot create, delete, or suspend activity in the default VLAN.
You create a VLAN by assigning a number to it; you can delete VLANs and move them from the active
operational state to the suspended operational state. If you attempt to create a VLAN with an existing VLAN
ID, the device goes into the VLAN submode but does not create the same VLAN again.
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
20
range of 3968-4095 after the device is reloaded.
VLAN ranges.
This requires copy running-config to startup-config before
switch reload.
Creating VLANs within this range is not allowed.
[n] y
Configuring VLANs