Configuring A Vlan; Creating And Deleting A Vlan - Cisco Nexus 5000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 5.0(3)n1(1)
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Configuring VLANs
• If you enable VTP, you must configure either version 1 or version 2. On the Cisco Nexus 5010 and
• The show running-configuration command does not show VLAN or VTP configuration information for
• When deployed with vPC, both vPC switches must be configured identically.
• VTP advertisements are not sent out on Cisco Nexus 2000 Series Fabric Extender ports.
• VTP pruning is not supported.

Configuring a VLAN

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.
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}
Nexus 5020 switch, 512 VLANs are supported. If these switches are in a distribution network with other
switches, the limit remains the same.
On the Cisco Nexus 5010 switch and the Nexus 5020 switch, 512 VLANs are supported. If these switches
are in a distribution network with other switches, the VLAN limit for the VTP domain is 512. If a Nexus
5010 switch or Nexus 5020 switch client/server receives additional VLANs from a VTP server, they
transition to transparent mode
VLANs 1 to 1000.
Purpose
Enters configuration mode.
Creates a VLAN or a range of 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
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)N1(1)
Configuring a VLAN
47

Advertisement

Table of Contents
loading

Table of Contents