Entering The Vlan Configuration Submode - 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
Command or Action
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 create a range of VLANs from 15 to 20:
switch# config t
switch(config)# vlan 15-20
switch(config-vlan)# exit
switch(config)#

Entering the VLAN Configuration Submode

To configure or modify the VLAN for the following parameters, you must be in the VLAN configuration
submode:
• Name
• State
• Shut down
Purpose
Creates a VLAN or a range or VLANs. If you enter a number that is
already assigned to a VLAN, the device 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 default VLAN and cannot be
created or deleted. You cannot create or delete those VLANs that are
reserved for internal use.
Exits the VLAN mode.
(Optional)
Displays information about the VLANs.
(Optional)
Copies the running configuration to the startup configuration.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Entering the VLAN Configuration Submode
29

Advertisement

Table of Contents
loading

Table of Contents