This section describes how to configure VLANs on Cisco switches:
- Creating a VLAN: Enter the following commands to create a VLAN:
Switch(config)# vlan <vlan-ID>
Switch(config-vlan)# exit
Switch(config)#
- Naming the VLAN: Enter the following commands to name the VLAN:
Switch(config)# vlan <vlan-ID>
Switch(config-vlan)# name <vlan name>
Switch(config-vlan)# exit
Switch(config)#
- Assigning port to VLAN: Enter the following commands to assign the VLAN to the correct switch interface:
Switch(config)# interface <interface-ID>
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan <vlan-ID>
Switch(config-if)# exit
Switch(config)#
- Assigning multiple ports to VLAN: Enter the following commands to assign a VLAN to multiple interfaces:
Switch(config)# interface range <interface range-IDs>
Switch(config...