Creating Static VLANs Using VLAN Configuration Mode
Static VLANs occur when a switch port is manually assigned by the network administrator to belong to a VLAN. Each port is associated with a specific VLAN. By default, all ports are originally assigned to VLAN 1. You create VLANs using the VLAN configuration mode.
Switch(config)# vlan 3 | Creates VLAN 3 and enters VLAN configuration mode for further definitions |
Switch(config-vlan)# name Engineering | Assigns a name to the VLAN. The length of the name can be from 1 to 32 characters |
Switch(config-vlan)# exit | Applies changes, increases the VTP revision number by 1, and returns to global configuration mode NOTE: The VLAN is not created until you exit VLAN configuration mode |
Switch(config)# |
NOTE: Use this method to add normal-range VLANs (1–1005) or extended-range VLANs (1006–4094). Configuration information for normal-range VLANs is always saved in the VLAN database, and you can display this information by entering the show vlan privileged EXEC command.
NOTE: The VLAN Trunking Protocol (VTP) revision number is increased by one each time a VLAN is created or changed.
NOTE: VTP Version 3 supports propagation of extended-range VLANs. VTP Versions 1 and 2 propagate only VLANs 1–1005.
NOTE: Transparent mode does not increment the VTP revision number.