![how to configure vlan on cisco switch step by step how to configure vlan on cisco switch step by step](https://www.mustbegeek.com/wp-content/uploads/2015/10/Cisco-VLAN-Configuration-.png)
The reason ping failed is that no routing has been made between the VLANs. When you ping PC4 from PC0 to VLAN30 member, ping will fail. When you ping between computers with other VLANs, you will see that the operation failed.Ī ping test from PC0 to PC2 which is a member of VLAN20 Since the network ports of PC0 and PC1 are connected to the VLAN10, you will see that there is a connection when you ping between these computers. SWITCH(config)# interface fastethernet 0/6Īfter adding the Switchport to the VLANs, check the interfaces you have created and made on the Switch with the show vlan command. SWITCH(config-if)# switchport access vlan 30 SWITCH(config)# interface fastethernet 0/5 To assign clients in the green zone to the VLAN20, perform the following commands in order. SWITCH(config)# interface fastethernet 0/4 SWITCH(config-if)# switchport access vlan 20 SWITCH(config)# interface fastethernet 0/3 To assign clients in the blue zone to VLAN20, perform the following commands in order. SWITCH(config)# interface fastethernet 0/2 SWITCH(config-if)# switchport access vlan 10
![how to configure vlan on cisco switch step by step how to configure vlan on cisco switch step by step](https://www.cisco.com/c/dam/en/us/support/docs/smb/switches/cisco-small-business-300-series-managed-switches/images/ijgm-07142017-port-to-vlan-interface-settings-step00.png)
SWITCH(config-if)# switchport mode access SWITCH(config)# interface fastethernet 0/1 To assign clients in the red zone to VLAN10, perform the following commands in order. Switch from privileged configuration mode on Cisco Switch to global configuration mode. Switch# conf tĪfter creating VLANs for departments, you need to make clients connected to the Switch interface to VLANs. Use the following commands to create a VLAN by topology. To change to Privileged mode, execute enable.Īfter making the basic settings, create 3 different VLAN groups according to the topology you have created on the Switch. First, add a Router, Switch, and six PCs to the Packet Tracer workspace to create a network topology as shown in the image below.Īfter configuring the Cisco Router’s interface and the TCP/IP settings of the computers, click Switch and click the CLI tab in the window that opens.