With a Layer 3 switch, you gain the ability to create Switch virtual interfaces (SVIs) for each VLAN and assign IP addresses to these interfaces. These IP addresses assigned to the SVIs serve as the default gateways for all the host devices residing within those VLANs. Show In this post, I will show you how to configure layer 3 switch in the packet tracer. By the end of this post, you will have the knowledge and skills to:
Here is a vidoe tutorial showing How to Configure Layer 3 Switch in Packet Tracer; Network TopologyThe network topology shown below comprises of a layer 3 switch and 3 layer 2 switches attached to it. Each of the layer 3 switch is further connected to PCs. Configuration Objectives
ConfigurationBelow are the configurations needed for each of the network components and a brief explanation of what each configuration does. Multilayer Switch ConfigurationCreating VLANsEnter the following command to create the two vlans;
Confirms the vlans…
Creating the trunk portEnter the following commands to create trunk port on the layer 3 switch;
Creating SVIsEnter the following commands to create SVIs and assign IP addresses to them;
Enable IP RoutingEnter the following commands to enable Ip routing on the layer 3 Switch;
Confirm IPs addresses on SVIs;Enter the following command to confirm the ip address assigned to the vlans;
Switch1 ConfigurationCreating Trunk portEnter the following commands to create the trunk port on the first layer 2 switch; Note: This configuration completes the creation of Trunk link between Switch1 and the Layer 3 switch
Creating VLANsEnter the following commands to create VLAN 20 and VLAN 30 on swtich1;
Creating Access portsEnter the following commands to create access ports on switch1;
Switch2 ConfigurationCreating Trunk portEnter the following commands to create the trunk port on switch2;
Creating VLANsEnter the following commands to create VLAN 20 and VLAN 30 on swtich2;
0 Creating Access portsEnter the following commands to create access ports on switch2;
1 Switch0 ConfigurationCreating Trunk portEnter the following commands to create the trunk port on switch0;
Creating VLANsEnter the following commands to create VLAN 20 and VLAN 30 on swtich0;
Creating Access portsEnter the following commands to create access ports on switch0;
4 Configure the host devicesConfigure the host with Ip address as labeled in the network topology showed above. Note PC1 and PC3 are in the 192.168.2.0/24 subnetwork while PC0 and PC2 are in the 192.168.21.0/24 subnetwork. TestingWith the configuration we have completed on each of the network components, which comprises creating SVIs on the layer 3 switch, creating a trunk link between the layer 3 switch and each of the layer 2 switches, and creating an access port on the layer 2 switches, we have been able to achieve inter-VLAN routing in the network. To test it, we have pinged from PC3 to PC2, and the result is as shown in the image below: I am a passionate Networking Associate specializing in Telecommunications. With a degree in Electronic engineering, I possess a strong understanding of electronic systems and the intricacies of telecommunications networks. I gained practical experience and valuable insights working for a prominent telecommunications company. Additionally, I hold certifications in networking, which have solidified my expertise in network architecture, protocols, and optimization. |