11
CCNA Exploration 4: Exercise1 – Review Use the following series for routers and switches Router – 2811 Switch – 2960 1

CCNA Exploration 4_exercise1

Embed Size (px)

Citation preview

Page 1: CCNA Exploration 4_exercise1

CCNA Exploration 4: Exercise1 – Review

Use the following series for routers and switches

Router – 2811Switch – 2960

1

Page 2: CCNA Exploration 4_exercise1

CCNA Exploration 4: Exercise1 – Review

Learning Objectives

To complete this lab:• Cable a network according to the topology diagram.• Erase the startup configuration and reload a router to the default state.• Perform basic configuration tasks on a router.• Configure and activate interfaces.• Configure Spanning Tree Protocol.• Configure VTP servers and client.• Configure VLANS on the switches.• Configure RIP routing on all the routers.• Configure OSPF routing on all routers.• Configure EIGRP routing on all the routers.

ScenarioIn this lab, you will review basic routing and switching concepts. Try to do as much on your own as possible. Refer back to previous material when you cannot proceed on your own.

Note: Configuring three separate routing protocols—RIP, OSPF, and EIGRP—to route the same network is emphatically not a best practice. It should be considered a worst practice and is not something that would be done in a production network. It is done here so that you can review the major routing protocols before proceeding, and see a clear illustration of the concept of administrative distance.

Task 1: Prepare the Network

Step 1: Cable a network that is similar to the one in the topology diagram.

Step 2: Clear any existing configurations on the routers.

Task 2: Perform Basic Device Configurations.

Configure the R1, R2, and R3 routers and the S1, S2, S3 switches according to the following guidelines:• Configure the hostname.• Disable DNS lookup.• Configure an EXEC mode password as "class".• Configure the following message-of-the-day banner: “Unauthorized access strictly prohibited and prosecuted to the full extent of the law".• Configure a password for console connections: “cisco”.• Configure a password for vty connections: “cisco”.• Save the running configuration to NVRAM.

2

Page 3: CCNA Exploration 4_exercise1

CCNA Exploration 4: Exercise1 – Review

Task 3: Configure and Activate Serial and Ethernet Addresses

Step 1: Configure interfaces on R1, R2, and R3 based on the table.

R1

R1(config)#interface FastEthernet0/1R1(config-if)#no shutdown

R1(config)#interface FastEthernet0/1.10R1(config-subif)#encapsulation dot1Q 10R1(config-subif)#ip address 192.168.10.1 255.255.255.0

R1(config)#interface FastEthernet0/1.12R1(config-subif)#encapsulation dot1Q 12

R1(config-subif)#ip address 10.12.12.1 255.255.255.0

R1(config)#interface FastEthernet0/1.13R1(config-subif)#encapsulation dot1Q 13R1(config-subif)#ip address 10.13.13.1 255.255.255.0

R1(config)#interface Serial0/0/0R1(config-if)#ip address 10.1.1.1 255.255.255.252R1(config-if)#no shutdownR1(config-if)#clock rate 64000

R2

R2(config)#interface FastEthernet0/1R2(config-if)#no shutdown

R2(config)#interface FastEthernet0/1.12R2(config-subif)#encapsulation dot1Q 12

R2(config-subif)#ip address 10.12.12.2 255.255.255.0

R2(config)#interface FastEthernet0/1.20R2(config-subif)#encapsulation dot1Q 20R2(config-subif)#ip address 192.168.20.1 255.255.255.0

R2(config)#interface Serial0/0/0R2(config-if)#ip address 10.1.1.2 255.255.255.252R2(config-if)#no shutdown

R2(config)#interface Serial0/0/1R2(config-if)#ip address 10.2.2.1 255.255.255.252R2(config-if)#clock rate 64000R2(config-if)#no shutdown

R3R3(config)#interface FastEthernet0/1R3(config-if)#no shutdown

R3(config)#interface FastEthernet0/1.13R3(config-subif)#encapsulation dot1Q 13R3(config-subif)#ip address 10.13.13.3 255.255.255.0

R3(config)#interface FastEthernet0/1.30R3(config-subif)#encapsulation dot1Q 30

3

Page 4: CCNA Exploration 4_exercise1

CCNA Exploration 4: Exercise1 – Review

R3(config-subif)#ip address 192.168.30.1 255.255.255.0

R3(config)#interface Serial0/0/1R3(config-if)#ip address 10.2.2.2 255.255.255.252R3(config-if)#no shutdown

Step 2: Verify IP addressing and interfaces of all the routers.

Router#show ip interface brief

Step 3: Configure the Management VLAN interface on S1, S2, and S3.

S1(config)#interface vlan10S1(config-if)#ip address 192.168.10.2 255.255.255.0

S2(config)#interface vlan20S2(config-if)#ip address 192.168.20.2 255.255.255.0

S3(config)#interface vlan30S3(config-if)#ip address 192.168.30.2 255.255.255.0

Step 4: Configure the PC1 and PC3 Ethernet interfaces based on the table.

Step 5: Test connectivity between the PCs.

Task 4: Configure STP

Step 1: Configure S1 to always be root.

S1(config)#spanning-tree vlan 1-1000 root primary

Step 2: Verify that S1 is root.

S1#show spanning-tree summary

Task 5: Configure VTP

Step 1: Configure S1 as the VTP server and create a domain name and password.Note: The domain name is "cisco" and the vtp password is "cisco".

S1(config)#vtp mode serverSetting device to VTP SERVER modeS1(config)#vtp domain ciscoChanging VTP domain name from NULL to ciscoS1(config)#vtp password ciscoSetting device VLAN database password to cisco

Step 2: Configure S2 and S3 as VTP clients and assign domain names and passwords.

S2(config)#vtp mode clientSetting device to VTP CLIENT modeS2(config)#vtp domain ciscoChanging VTP domain name from NULL to ciscoS2(config)#vtp password ciscoSetting device VLAN database password to cisco

4

Page 5: CCNA Exploration 4_exercise1

CCNA Exploration 4: Exercise1 – Review

S3(config)#vtp mode clientSetting device to VTP CLIENT modeS3(config)#vtp domain ciscoChanging VTP domain name from NULL to ciscoS3(config)#vtp password ciscoSetting device VLAN database password to cisco

Step 3: Verify the configuration.

S1#show vtp statusS2#show vtp statusS3#show vtp status

Task 6: Configure VLANsStep 1: Assign ports to the appropriate VLANs.

S1:S1(config)#interface FastEthernet0/1S1(config-if)#switchport trunk allowed vlan 10,12,13S1(config-if)#switchport mode trunk

S1(config)#interface FastEthernet0/2S1(config-if)#switchport access vlan 10S1(config-if)#switchport mode access

S1(config)#interface GigabitEthernet1/1S1(config-if)#switchport trunk allowed vlan 1,12S1(config-if)#switchport mode trunk

S1(config)#interface GigabitEthernet1/2S1(config-if)#switchport trunk allowed vlan 1,13S1(config-if)#switchport mode trunk

S2:S2(config)#interface FastEthernet0/1S2(config-if)#switchport trunk allowed vlan 12,20S2(config-if)#switchport mode trunk

S2(config)#interface FastEthernet0/2S2(config-if)#switchport access vlan 20S2(config-if)#switchport mode access

S2(config)#interface GigabitEthernet1/1S2(config-if)#switchport trunk allowed vlan 12S2(config-if)#switchport mode trunkS3:S3(config)#interface FastEthernet0/1S3(config-if)#switchport trunk allowed vlan 13,30S3(config-if)#switchport mode trunk

S3(config)#interface FastEthernet0/2S3(config-if)#switchport access vlan 30S3(config-if)#switchport mode access

S3(config)#interface GigabitEthernet1/1S3(config-if)#switchport trunk allowed vlan 13S3(config-if)#switchport mode trunk

5

Page 6: CCNA Exploration 4_exercise1

CCNA Exploration 4: Exercise1 – Review

Step 2: Configure S1 with VLANs.

S1(config)#vlan 10S1(config)#vlan 12S1(config)#vlan 13S1(config)#vlan 20S1(config)#vlan 30

Step 3: Verify that S2 and S3 received VLAN configurations from S1.

S1#show vlan brief

Task 7: Configure RIP Routing

Step 1: Configure RIP routing on R1, R2, and R3.

R1

R1(config)#router ripR1(config-router)#version 2R1(config-router)#no auto-summaryR1(config-router)#network 10.0.0.0R1(config-router)#network 192.168.10.0

R2

R2(config)#router ripR2(config-router)#version 2R2(config-router)#no auto-summaryR2(config-router)#network 10.0.0.0R2(config-router)#network 192.168.20.0

R3

R3(config)#router ripR3(config-router)#version 2R3(config-router)#no auto-summaryR3(config-router)#network 10.0.0.0R3(config-router)#network 192.168.30.0

Step 2: Test connectivity by pinging all of the addresses in the Addressing Table.

R1:R1#ping 10.1.1.2R1#ping 10.2.2.1R1#ping 10.2.2.2R1#ping 10.12.12.2R1#ping 10.13.13.3R1#ping 192.168.10.2R1#ping 192.168.10.10R1#ping 192.168.20.1R1#ping 192.168.20.2R1#ping 192.168.30.1R1#ping 192.168.30.2R1#ping 192.168.30.10

6

Page 7: CCNA Exploration 4_exercise1

CCNA Exploration 4: Exercise1 – Review

R2:R2#ping 10.1.1.1R2#ping 10.2.2.2R2#ping 10.12.12.1R2#ping 10.13.13.1R2#ping 10.13.13.3R2#ping 192.168.10.1R2#ping 192.168.10.2R2#ping 192.168.10.10R2#ping 192.168.20.2R2#ping 192.168.30.1R2#ping 192.168.30.2R2#ping 192.168.30.10

R3:R3#ping 10.1.1.1R3#ping 10.1.1.2R3#ping 10.2.2.1R3#ping 10.12.12.1R3#ping 10.12.12.2R3#ping 10.13.13.1R3#ping 192.168.10.1R3#ping 192.168.10.2R3#ping 192.168.10.10R3#ping 192.168.20.1R3#ping 192.168.20.2R3#ping 192.168.30.2R3#ping 192.168.30.10

All pings should be successful

Step 3: Verify the routing table.

R1#show ip route

R2#show ip route

R3#show ip route

Task 8: Configure OSPF Routing

Step 1: Configure OSPF routing on R1, R2, and R3.

R1

R1(config)#router ospf 1R1(config-router)#network 10.1.1.0 0.0.0.3 area 0R1(config-router)#network 10.12.12.0 0.0.0.255 area 0R1(config-router)#network 10.13.13.0 0.0.0.255 area 0R1(config-router)#network 192.168.10.0 0.0.0.255 area 0

R2

R2(config)#router ospf 1R2(config-router)#network 10.1.1.0 0.0.0.3 area 0R2(config-router)#network 10.2.2.0 0.0.0.3 area 0

7

Page 8: CCNA Exploration 4_exercise1

CCNA Exploration 4: Exercise1 – Review

R2(config-router)#network 10.12.12.0 0.0.0.255 area 0R2(config-router)#network 192.168.20.0 0.0.0.255 area 0

R3

R3(config)#router ospf 1R3(config-router)#network 10.2.2.0 0.0.0.3 area 0R3(config-router)#network 10.13.13.0 0.0.0.255 area 0R3(config-router)#network 192.168.30.0 0.0.0.255 area 0

Step 2: Verify that OSPF routes have replaced RIP routes because of lower administrative distance.

R1#show ip route

R2#show ip route

R3#show ip route

How are the routing decisions different now that OSPF is running?

Before OSPF was added, the routers would take the path with the fewest number of hops. For example, R3 would use its Serial0/0/0 interface to reach subnet 192.168.20.0 because it is one hop away. After OSPF is running, the path taken is determined by the fastest path. Using the earlier example, R3 uses Fast Ethernet 0/0.13 to reach subnet 192.168.20.0.

Step 3: Verify that RIP is still running.

R1#show ip rip database

R2#show ip rip database

R3#show ip rip database

Task 9: Configure EIGRP Routing

Step 1: Configure EIGRP routing on R1, R2, and R3.

R1

R1(config)#router eigrp 10R1(config-router)#no auto-summaryR1(config-router)#network 10.1.1.0 0.0.0.3R1(config-router)#network 10.12.12.0 0.0.0.255R1(config-router)#network 10.13.13.0 0.0.0.255R1(config-router)#network 192.168.10.0

R2

R2(config)#router eigrp 10R2(config-router)#no auto-summaryR2(config-router)#network 10.1.1.0 0.0.0.3R2(config-router)#network 10.2.2.0 0.0.0.3R2(config-router)#network 10.12.12.0 0.0.0.255R2(config-router)#network 192.168.20.0

8

Page 9: CCNA Exploration 4_exercise1

CCNA Exploration 4: Exercise1 – Review

R3

R3(config)#router eigrp 10R3(config-router)#no auto-summaryR3(config-router)#network 10.2.2.0 0.0.0.3R3(config-router)#network 10.13.13.0 0.0.0.255R3(config-router)#network 192.168.30.0

Step 2: Verify that EIGRP routes have replaced OSPF routes because of lower administrative distance.

R1#show ip route

R2#show ip route

R3#show ip route

Step 3: Verify that OSPF is still running.

R1#show ip ospf database

R2#show ip ospf database

R3#show ip ospf database

9