Configuring 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 VLANs

Configuring a VLAN

To configure or modify a VLAN for the following parameters, you must be in VLAN configuration submode:
• Name
• State
• Shut down
You cannot create, delete, or modify the default VLAN or the internally allocated VLANs. Additionally,
Note
some of these parameters cannot be modified on some VLANs.
Before You Begin
Ensure that you are in the correct VDC (or enter the switchto vdc command). VLAN names and IDs can be
repeated in different VDCs, so you must confirm which VDC that you are working in.
SUMMARY STEPS
1. config t
2. vlan {vlan-id | vlan-range}
3. name vlan-name
4. state {active | suspend}
5. no shutdown
6. exit
7. (Optional) show vlan
8. (Optional) show vtp status
9. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
vlan {vlan-id | vlan-range}
Example:
switch(config)# vlan 5
switch(config-vlan)#
Purpose
Enters global configuration mode.
Places you into VLAN configuration submode. If the VLAN does not
exist, the system creates the specified VLAN and then enters the VLAN
configuration submode.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Configuring a VLAN
31

Advertisement

Table of Contents
loading

Table of Contents