Cisco Nexus 7000 Series Configuration Manual page 46

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

Advertisement

Entering the VLAN Configuration Submode
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)#
Step 2
vlan {vlan-id | vlan-range}
Example:
switch(config)# vlan 5
switch(config-vlan)#
Step 3
exit
Example:
switch(config-vlan)# exit
switch(config)#
Step 4
show vlan
Example:
switch# show vlan
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
This example shows how to enter and exit VLAN configuration submode:
switch# config t
switch(config)# vlan 15
switch(config-vlan)# exit
switch(config)#
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
30
Purpose
Enters global configuration mode.
Places you into VLAN configuration submode. This submode
allows you to name, set the state, disable, and shut down the
VLAN or range of VLANs.
You cannot change any of these values for VLAN1 or the
internally allocated VLANs.
Exits VLAN configuration mode.
(Optional)
Displays information and status of VLANs.
(Optional)
Copies the running configuration to the startup configuration.
Configuring VLANs

Advertisement

Table of Contents
loading

Table of Contents