Data center · Lesson 1 of 4

VLANs on Cisco Nexus: What Changes in NX-OS

The commands look like IOS, but NX-OS has its own rules. The first surprise: there are VLANs you cannot create.

By topologia.appUpdated: Nov 13, 2026⏱ 6 min❓ 4 questions📶 Level intermediate

In a nutshell

In NX-OS functions are enabled with feature, VLANs 3968–4094 are reserved for internal use and SVIs require feature interface-vlan.

In this lesson
  1. Everything starts with feature
  2. Reserved VLANs in NX-OS
  3. VLANs, trunks and SVIs
  4. What you must remember
  5. Exam-style questions

Everything starts with feature

NX-OS is modular: many functions are off until you enable them. For data center VLANs the most common ones are:

N9K(config)# feature interface-vlan  ← allows SVIs (interface vlan)
N9K(config)# feature lacp  ← LACP port-channels
N9K(config)# feature vpc  ← vPC
N9K(config)# feature hsrp  ← redundant gateway

Reserved VLANs in NX-OS

By default NX-OS reserves a block of 128 VLANs (3968–4095) for internal use. If you try to create VLAN 4000, the switch rejects it. The block can be moved with system vlan <start> reserve (requires saving and reloading).

N9K(config)# vlan 4000
ERROR: Vlan 4000 is reserved for internal use

N9K# show system vlan reserved
system current running vlan reservation: 3968-4095

Very common real mistake

Migrating a Catalyst network that uses VLANs 4000+ (for management, for example) and finding out they cannot be created on Nexus. Review the VLAN plan before migrating.

VLANs, trunks and SVIs

N9K(config)# vlan 10
N9K(config-vlan)# name WEB
N9K(config)# interface ethernet1/1
N9K(config-if)# switchport
N9K(config-if)# switchport mode trunk
N9K(config-if)# switchport trunk allowed vlan 10,20
N9K(config)# interface vlan 10
N9K(config-if)# no shutdown  ← SVIs come shut down
N9K(config-if)# ip address 10.10.10.2/24  ← prefix notation

N9K# show vlan brief
N9K# show interface trunk
  • NX-OS has no DTP: trunk or access mode is always configured explicitly.
  • There is no vlan.dat: VLANs live in the running-config.
  • On Nexus 9000, ports often come as Layer 3 (no switchport); check with show running-config interface.

What you must remember

  • Functions are enabled with feature (interface-vlan, lacp, vpc…).
  • VLANs 3968–4095 are reserved by default.
  • NX-OS uses neither DTP nor vlan.dat.
  • SVIs need feature interface-vlan and come shut down.

Check what you learned

4 exam-style questions. Some have one answer and others ask you to choose several. Answer them all to complete the lesson.

Question 1 of 4 · One answerOn a Nexus, interface vlan 10 returns an invalid command error. What is missing?
Question 2 of 4 · One answerWhich VLAN range does NX-OS reserve by default for internal use?
Question 3 of 4 · Choose twoWhich two statements about VLANs on NX-OS are correct? (Choose two.)
Question 4 of 4 · One answerA Catalyst network uses VLAN 4000 for management and will be migrated to Nexus 9000. What must be reviewed?