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

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring a VLAN

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 device.
Once a VLAN is created, it is automatically in the active state.
When you delete a VLAN, ports associated to that VLAN become inactive. Therefore, no traffic flows
Note
and the packets are dropped. On trunk ports, the port remains open and the traffic from all other VLANs
except the deleted VLAN continues to flow.
If you create a range of VLANs and some of these VLANs cannot be created, the software returns a message
listing the failed VLANs, and all the other VLANs in the specified range are created.
You can also create and delete VLANs in the VLAN configuration submode.
Note
Before You Begin
Ensure that you are in the correct VDC (or enter the switchto vdc command). You can repeat VLAN names
and IDs in different VDCs, so you must confirm that you are working in the correct VDC.
SUMMARY STEPS
1. config t
2. vlan {vlan-id | vlan-range}
3. exit
4. (Optional) show vlan
5. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
28
Purpose
Enters global configuration mode.
Configuring VLANs

Advertisement

Table of Contents
loading

Table of Contents