Vlan (Exec Mode) - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Chapter 2
Ethernet Commands
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

vlan (EXEC mode)

To add a VLAN or to enter the VLAN configuration mode, use the vlan command. To delete the VLAN
and exit the VLAN configuration mode, use the no form of this command.
Syntax Description
vlan-id
vlan-range
Command Default
None
Command Modes
Configuration mode
You can also create and delete VLANs in the VLAN configuration mode using these same commands.
Note
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
When you enter the vlan vlan-id command, a new VLAN is created with all default parameters and
causes the CLI to enter VLAN configuration mode. If the vlan-id argument that you entered matches an
existing VLAN, nothing happens except that you enter VLAN configuration mode.
You can enter the vlan-range using a comma (,), a dash (-), and the number.
VLAN 1 parameters are factory configured and cannot be changed; you cannot create or delete this
VLAN. Additionally, you cannot create or delete VLAN 4095 or any of the internally allocated VLANs.
When you delete a VLAN, all the access ports in that VLAN are shut down and no traffic flows. On trunk
ports, the traffic continues to flow for the other VLANs allowed on that port, but the packets for the
deleted VLAN are dropped. However, the system retains all the VLAN-to-port mapping for that VLAN,
and when you reenable, or recreate, that specified VLAN, the switch automatically reinstates all the
original ports to that VLAN.
Examples
This example shows how to add a new VLAN and enter VLAN configuration mode:
switch(config)# vlan 2
switch(config-vlan)#
OL-16599-01
vlan {vlan-id | vlan-range}
no vlan {vlan-id | vlan-range}
Number of the VLAN; the range of valid values is from 1 to 4094.
Note
Range of configured VLANs; see the "Usage Guidelines" section for a list of
valid values.
Modification
This command was introduced.
You cannot create, delete, or modify VLAN 1 or any of the internally
allocated VLANs.
Cisco Nexus 5000 Series Command Reference
vlan (EXEC mode)
2-103

Advertisement

Table of Contents
loading

Table of Contents