CCNA 3: Packet Tracer Activity 6.4.1

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

Switch>enable Switch#config term Switch(config)#hostname S3 S3(config)#enable secret class S3(config)#no ip domain-lookup S3(config)#ip default-gateway 172.17.99.

1 S3(config)#line console 0 S3(config-line)#password cisco S3(config-line)#login S3(config-line)#line vty 0 15 S3(config-line)#password cisco S3(config-line)#login S3(config-line)#end S3#copy running-config startup-config [enter] Task 2: Configure the Ethernet Interfaces on the Host PCs From the Desktop tab, use the IP Configuration window to configure the Ethernet interfaces of PC1, PC2 and PC3 with the IP addresses from the addressing table. Task 3: Configure VTP on the Switches Step 1. Enable the user ports on S2 in access mode. S2(config)#interface fa0/6 S2(config-if)#switchport mode access S2(config-if)#no shutdown S2(config-if)#interface fa0/11 S2(config-if)#switchport mode access S2(config-if)#no shutdown S2(config-if)#interface fa0/18 S2(config-if)#switchport mode access S2(config-if)#no shutdown Step 2. Configure VTP.

Sub interface configuration table for R1

S1(config)#vtp mode server S1(config)#vtp domain Lab6 S1(config)#vtp password cisco S1(config)#end S2(config)#vtp mode client S2(config)#vtp domain Lab6 S2(config)#vtp password cisco S2(config)#end S3(config)#vtp mode client S3(config)#vtp domain Lab6 S3(config)#vtp password cisco S3(config)#end Step 3. Configure trunking ports and designate the native VLAN for the trunks. S1(config)#interface fa0/1 S1(config-if)#switchport mode trunk S1(config-if)#switchport trunk native S1(config-if)#no shutdown S1(config)#end S1(config)#interface fa0/2 S1(config-if)#switchport mode trunk S1(config-if)#switchport trunk native S1(config-if)#no shutdown S1(config)#end S1(config)#interface fa0/3 S1(config-if)#switchport mode trunk S1(config-if)#switchport trunk native S1(config-if)#no shutdown S1(config)#end S1(config)#interface fa0/4 S1(config-if)#switchport mode trunk S1(config-if)#switchport trunk native S1(config-if)#no shutdown S1(config)#end S1(config)#interface fa0/5 S1(config-if)#switchport mode trunk S1(config-if)#switchport trunk native S1(config-if)#no shutdown S1(config)#end

Task 1: Perform Basic Switch Configurations Switch>enable Switch#config term Switch(config)#hostname S1 S1(config)#enable secret class S1(config)#no ip domain-lookup S1(config)#ip default-gateway 172.17.99.1 S1(config)#line console 0 S1(config-line)#password cisco S1(config-line)#login S1(config-line)#line vty 0 15 S1(config-line)#password cisco S1(config-line)#login S1(config-line)#end S1#copy running-config startup-config [enter] Switch>enable Switch#config term Switch(config)#hostname S2 S2(config)#enable secret class S2(config)#no ip domain-lookup S2(config)#ip default-gateway 172.17.99.1 S2(config)#line console 0 S2(config-line)#password cisco S2(config-line)#login S2(config-line)#line vty 0 15 S2(config-line)#password cisco S2(config-line)#login S2(config-line)#end S2#copy running-config startup-config [enter]

vlan 99

vlan 99

vlan 99

vlan 99

vlan 99

S2(config)#interface fa0/1 S2(config-if)#switchport mode trunk S2(config-if)#switchport trunk native S2(config-if)#no shutdown S2(config-if)#end S2(config)#interface fa0/2 S2(config-if)#switchport mode trunk S2(config-if)#switchport trunk native S2(config-if)#no shutdown S2(config-if)#end S2(config)#interface fa0/3 S2(config-if)#switchport mode trunk S2(config-if)#switchport trunk native S2(config-if)#no shutdown S2(config-if)#end S2(config)#interface fa0/4 S2(config-if)#switchport mode trunk S2(config-if)#switchport trunk native S2(config-if)#no shutdown S2(config-if)#end S2(config)#interface fa0/5 S2(config-if)#switchport mode trunk S2(config-if)#switchport trunk native S2(config-if)#no shutdown S2(config-if)#end S3(config)#interface fa0/1 S3(config-if#switchport mode trunk S3(config-if)#switchport trunk native S3(config-if)#no shutdown S3(config-if#end S3(config)#interface fa0/2 S3(config-if#switchport mode trunk S3(config-if)#switchport trunk native S3(config-if)#no shutdown S3(config-if#end S3(config)#interface fa0/3 S3(config-if#switchport mode trunk S3(config-if)#switchport trunk native S3(config-if)#no shutdown S3(config-if#end S3(config)#interface fa0/4 S3(config-if#switchport mode trunk S3(config-if)#switchport trunk native S3(config-if)#no shutdown S3(config-if#end S3(config)#interface fa0/5 S3(config-if#switchport mode trunk S3(config-if)#switchport trunk native S3(config-if)#no shutdown S3(config-if)#end Step 4. Configure the VTP server with VLANs.

Step 7. Assign switch ports to VLANs on S2. vlan 99 S2(config)#interface fa0/6 S2(config-if)#switchport access vlan 30 S2(config-if)#interface fa0/11 S2(config-if)#switchport access vlan 10 S2(config-if)#interface fa0/18 S2(config-if)#switchport access vlan 20 S2(config-if)#end S2#copy running-config startup-config [enter] Task 4: Configure the Router and the Remote Server LAN Step 1. Create a basic configuration on the router. Router>enable Router#configure terminal Router(config)#hostname R1 R1(config)#enable secret class R1(config)#no ip domain-lookup R1(config)#line console 0 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#line vty 0 15 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#end Step 2. Configure the trunking interface on R1. R1(config)#interface fastethernet 0/0 R1(config-if)#no shutdown R1(config-if)#interface fastethernet 0/0.1 R1(config-subif)#encapsulation dot1q 1 R1(config-subif)#ip address 172.17.1.1 255.255.255.0 R1(config-subif)#interface fastethernet 0/0.10 R1(config-subif)#encapsulation dot1q 10 R1(config-subif)#ip address 172.17.10.1 255.255.255.0 R1(config-subif)#interface fastethernet 0/0.20 R1(config-subif)#encapsulation dot1q 20 R1(config-subif)#ip address 172.17.20.1 255.255.255.0 R1(config-subif)#interface fastethernet 0/0.30 R1(config-subif)#encapsulation dot1q 30 R1(config-subif)#ip address 172.17.30.1 255.255.255.0 R1(config-subif)#interface fastethernet 0/0.99 R1(config-subif)#encapsulation dot1q 99 native R1(config-subif)#ip address 172.17.99.1 255.255.255.0 Step 3. Configure the server LAN interface on R1. R1(config)#interface FastEthernet0/1 R1(config-if)#ip address 172.17.50.1 255.255.255.0 R1(config-if)#description server interface R1(config-if)#no shutdown R1(config-if)#end R1#show ip route If your routing table does not show all six networks, troubleshoot your configuration and resolve the problem before proceeding. Step 4. Verify Inter-VLAN routing.

vlan 99

vlan 99

vlan 99

vlan 99

vlan 99

vlan 99

vlan 99

vlan 99

vlan 99

S1(config)#vlan 99 S1(config-vlan)#name S1(config)#vlan 10 S1(config-vlan)#name S1(config)#vlan 20 S1(config-vlan)#name S1(config)#vlan 30 S1(config-vlan)#name S1(config-vlan)#end

management faculty-staff students guest

From PC1, verify that you can ping the remote server (172.17.50.254) and the other two hosts (172.17.20.22 and 172.17.30.23). It may take a couple of pings before the end to-end path is established. These pings should be successful. If not, troubleshoot your configuration. Check to make sure that the default gateways have been set on all PCs and all switches. Summary: 1. Perform basic switch configuration in S1, S2 & S3 and copy to startup. 2. Configure interfaces of host PCs. 3. Enable user ports on S2 in access mode. 4. Configure VTP in S1, S2 & S3. 5. Configure trunking ports and designate the native VLAN for the trunks in S1, S2 & S3. 6. Configure the VTP server with VLANs. 7. Verify that the VLANs created on S1 have been distributed to S2 and S3. 8. Configure the management interface address on S1, S2 & S3. 9. Assign switch ports to VLANs on S2 and copy to startup. 10. Create a basic configuration on the router. 11. Configure the trunking interface on R1. 12. Configure the server LAN interface on R1.

Step 5. Verify that the VLANs created on S1 have been distributed to S2 and S3. S2#show vlan brief S3#show vlan brief Step 6. Configure the management interface address on all three switches. S1(config)#interface vlan99 S1(config-if)#ip address 172.17.99.11 255.255.255.0 S2(config)#interface vlan99 S2(config-if)#ip address 172.17.99.12 255.255.255.0 S3(config)#interface vlan99 S3(config-if)#ip address 172.17.99.13 255.255.255.0

You might also like