A static VLAN is created when the administrator manually assigns switch ports to belong to a VLAN. Initially, the default is for all ports to be assigned to VLAN1. Static VLANs can be created in VLAN configuration mode. Creating our two VLANs involves only a few commands:
- We move from privileged EXEC mode to configuration mode:
Switch# configure terminal
- Next, we create the first VLAN (VLAN2, the DEVELOPERS VLAN):
Switch (config)# interface vlan 2
- Now, we can assign it a name:
Switch (config-vlan)# name DEVELOPERS
- Next, we want to apply the changes, increase the revision number, and return to the global configuration mode:
Switch (config-vlan)# exit
- We follow the same steps for the ENGINEERING VLAN, except for ...