Configuring A Vlan Before Creating The Vlan - Cisco Nexus 9000 Series Configuration Manual

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

Advertisement

Configuring VLANs
Step 5
Step 6
Step 7
Step 8
Step 9
This example shows how to configure optional parameters for VLAN 5:
switch# config t
switch(config)# vlan 5
switch(config-vlan)# name accounting
switch(config-vlan)# state active
switch(config-vlan)# no shutdown
switch(config-vlan)# exit
switch(config)#

Configuring a VLAN Before Creating the VLAN

You can configure a VLAN before you create the VLAN. This procedure is used for IGMP snooping, VTP,
and other configurations.
The show vlan command does not display these VLANs unless you create it using the vlan command.
Note
Command or Action
no shutdown
Example:
switch(config-vlan)# no
shutdown
exit
Example:
switch(config-vlan)# exit
switch(config)#
show vlan
Example:
switch# show vlan
show vtp status
Example:
switch# show vtp status
copy running-config
startup-config
Example:
switch(config)# copy
running-config startup-config
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Configuring a VLAN Before Creating the VLAN
Purpose
Enables the VLAN. The default value is no shutdown (or
enabled). You cannot shut down the default VLAN, VLAN1,
or VLANs 1006 to 3967.
Exits the VLAN configuration submode.
(Optional)
Displays information and status of VLANs.
(Optional)
Displays information and status of VLAN Trunking
Protocols (VTPs).
(Optional)
Copies the running configuration to the startup configuration.
Note
Commands entered in the VLAN configuration
submode are not immediately executed. You must
exit the VLAN configuration submode for
configuration changes to take effect.
27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents