Exam Objectives
Completion of this exam requires the following tasks: Create an addressing scheme to accommodate the hosts on the network Cable network according to the diagram Configure OSPF Configure OSPF priorities Configure OSPF cost Verify OSPF operation Configure a static default route
Scenario
You are a network engineer for a company with multiple locations that are connected through a switch. You are assigned the task of creating an addressing scheme for each clients LAN. You must set the OSPF priorities so that the HQ router is the DR and the Remote_1 router is the BDR. You must also make sure that the Remote_2 router never takes part in the DR/BDR election.
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.
Page 1 of 14
Remote_2
Remote_2
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.
Page 2 of 14
HQ: HQ#show ip ospf neighbor Neighbor ID Pri State 192.168.1.129 1 FULL/BDR 192.168.1.161 1 FULL/DR
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.
Page 3 of 14
HQ: HQ#show ip ospf neighbor Neighbor ID Pri State 192.168.1.129 1 FULL/BDR 192.168.1.161 1 FULL/DR
Step 2: Configure the HQ router with the highest possible OSPF priority. HQ(config)#int fa0/0 HQ(config-if)#ip ospf priority 255 Step 3: Assure that the Remote_2 router will never take place in the DR/BDR election process. Remote_2(config)#int fa0/0 Remote_2(config-if)#ip ospf priority 0 Step 4: Reboot the switch using the reload command to force the OSPF election process. Step 5: Verify that the OSPF election has occurred. Confirm that the HQ router is now the DR, the Remote_1 router is the BDR and the Remote_2 router is now the DROTHER. Remote_1: Remote_1#show ip ospf Neighbor ID Pri 188.46.37.254 255 192.168.1.129 0 Remote_2: Remote_2#show ip ospf Neighbor ID Pri 188.46.37.254 255 192.168.1.161 1 neighbor State FULL/DR FULL/DROTHER neighbor State FULL/DR FULL/BDR
HQ: HQ#show ip ospf neighbor Neighbor ID Pri State 192.168.1.129 0 FULL/DROTHER 192.168.1.161 1 FULL/BDR
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.
Page 4 of 14
O C O C C O
Remote_2: Remote_2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.
Page 5 of 14
O C C O O C
188.46.0.0/32 is subnetted, 1 subnets 188.46.37.254 [110/2] via 10.10.10.1, 00:00:34, FastEthernet0/0 10.0.0.0/29 is subnetted, 1 subnets 10.10.10.0 is directly connected, FastEthernet0/0 192.168.1.0/24 is variably subnetted, 4 subnets, 3 masks 192.168.1.64/26 is directly connected, Loopback0 192.168.1.1/32 [110/2] via 10.10.10.3, 00:00:34, FastEthernet0/0 192.168.1.161/32 [110/2] via 10.10.10.3, 00:00:34, FastEthernet0/0 192.168.1.128/27 is directly connected, Loopback1
HQ: HQ#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 188.46.0.0/30 is subnetted, 1 subnets 188.46.37.252 is directly connected, Loopback0 10.0.0.0/29 is subnetted, 1 subnets 10.10.10.0 is directly connected, FastEthernet0/0 192.168.1.0/32 is subnetted, 4 subnets 192.168.1.65 [110/101] via 10.10.10.2, 00:00:02, FastEthernet0/0 192.168.1.1 [110/101] via 10.10.10.3, 00:00:02, FastEthernet0/0 192.168.1.161 [110/101] via 10.10.10.3, 00:00:02, FastEthernet0/0 192.168.1.129 [110/101] via 10.10.10.2, 00:00:03, FastEthernet0/0 Instructors Initial ______
C C O O O O
Remote_3: HQ#show ip ospf neighbor Neighbor ID Pri State 192.168.1.129 0 FULL/DROTHER 192.168.1.161 1 FULL/BDR
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.
Page 6 of 14
Step 2: Verify that all networks are present in the routing table. Remote_1: Remote_1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 188.46.0.0/32 is subnetted, 1 subnets 188.46.37.254 [110/2] via 10.10.10.1, 00:59:26, FastEthernet0/0 10.0.0.0/29 is subnetted, 1 subnets 10.10.10.0 is directly connected, FastEthernet0/0 192.168.1.0/24 is variably subnetted, 4 subnets, 3 masks 192.168.1.65/32 [110/2] via 10.10.10.2, 00:59:26, FastEthernet0/0 192.168.1.0/26 is directly connected, Loopback0 192.168.1.160/28 is directly connected, Loopback1 192.168.1.129/32 [110/2] via 10.10.10.2, 00:59:27, FastEthernet0/0
O C O C C O
Remote_2: Remote_2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 188.46.0.0/32 is subnetted, 1 subnets 188.46.37.254 [110/2] via 10.10.10.1, 01:00:47, FastEthernet0/0 10.0.0.0/29 is subnetted, 1 subnets 10.10.10.0 is directly connected, FastEthernet0/0 192.168.1.0/24 is variably subnetted, 4 subnets, 3 masks 192.168.1.64/26 is directly connected, Loopback0 192.168.1.1/32 [110/2] via 10.10.10.3, 01:00:47, FastEthernet0/0 192.168.1.161/32 [110/2] via 10.10.10.3, 01:00:47, FastEthernet0/0 192.168.1.128/27 is directly connected, Loopback1
O C C O O C
HQ: HQ#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.
Page 7 of 14
C C O O O O
188.46.0.0/30 is subnetted, 1 subnets 188.46.37.252 is directly connected, Loopback0 10.0.0.0/29 is subnetted, 1 subnets 10.10.10.0 is directly connected, FastEthernet0/0 192.168.1.0/32 is subnetted, 4 subnets 192.168.1.65 [110/101] via 10.10.10.2, 00:58:49, FastEthernet0/0 192.168.1.1 [110/101] via 10.10.10.3, 00:58:49, FastEthernet0/0 192.168.1.161 [110/101] via 10.10.10.3, 00:58:49, FastEthernet0/0 192.168.1.129 [110/101] via 10.10.10.2, 00:58:50, FastEthernet0/0 Instructors Initial ______
C C O O O O S*
Remote_1: Remote_1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is 10.10.10.1 to network 0.0.0.0
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 14
188.46.0.0/32 is subnetted, 1 subnets 188.46.37.254 [110/2] via 10.10.10.1, 01:31:53, FastEthernet0/0 10.0.0.0/29 is subnetted, 1 subnets C 10.10.10.0 is directly connected, FastEthernet0/0 192.168.1.0/24 is variably subnetted, 4 subnets, 3 masks O 192.168.1.65/32 [110/2] via 10.10.10.2, 01:31:53, FastEthernet0/0 C 192.168.1.0/26 is directly connected, Loopback0 C 192.168.1.160/28 is directly connected, Loopback1 O 192.168.1.129/32 [110/2] via 10.10.10.2, 01:31:54, FastEthernet0/0 O*E2 0.0.0.0/0 [110/1] via 10.10.10.1, 00:28:04, FastEthernet0/0 O Remote_2: Remote_2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is 10.10.10.1 to network 0.0.0.0 188.46.0.0/32 is subnetted, 1 subnets 188.46.37.254 [110/2] via 10.10.10.1, 01:31:43, FastEthernet0/0 10.0.0.0/29 is subnetted, 1 subnets
10.10.10.0 is directly connected, FastEthernet0/0 192.168.1.0/24 is variably subnetted, 4 subnets, 3 masks C 192.168.1.64/26 is directly connected, Loopback0 O 192.168.1.1/32 [110/2] via 10.10.10.3, 01:31:43, FastEthernet0/0 O 192.168.1.161/32 [110/2] via 10.10.10.3, 01:31:43, FastEthernet0/0 C 192.168.1.128/27 is directly connected, Loopback1 O*E2 0.0.0.0/0 [110/1] via 10.10.10.1, 00:27:53, FastEthernet0/0 Instructors Initial ______
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information.
Page 9 of 14
Final Configurations
HQ: HQ#show run Building configuration... Current configuration : 1251 bytes version 12.4 no service password-encryption hostname HQ ip subnet-zero interface Loopback0 ip address 188.46.37.254 255.255.255.252 ! interface FastEthernet0/0 ip address 10.10.10.1 255.255.255.248 ip ospf cost 100 ip ospf priority 255 duplex auto speed auto ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial0/0/0 no ip address shutdown no fair-queue clock rate 125000 ! interface Serial0/0/1 no ip address shutdown ! router ospf 1 log-adjacency-changes network 10.10.10.0 0.0.0.7 area 0 network 188.46.37.252 0.0.0.3 area 0 default-information originate ! ip classless ! ip route 0.0.0.0 0.0.0.0 Loopback0 ! ip http server ! ! control-plane ! !
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 14
line con 0 line aux 0 line vty 0 4 login ! scheduler allocate 20000 1000 ! end Remote_1: Remote_1#show run Building configuration... Current configuration : 1050 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Remote_1 ! boot-start-marker boot-end-marker ! ! no aaa new-model ! resource policy ! ip subnet-zero ! ! ip cef ! ! ! ! ! ! interface Loopback0 ip address 192.168.1.1 255.255.255.192 ! interface Loopback1 ip address 192.168.1.161 255.255.255.240 ! interface FastEthernet0/0 ip address 10.10.10.3 255.255.255.248 duplex auto speed auto ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto !
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 11 of 14
interface Serial0/0/0 no ip address shutdown clock rate 125000 ! interface Serial0/0/1 no ip address shutdown clock rate 125000 ! router ospf 1 log-adjacency-changes network 10.10.10.0 0.0.0.7 area 0 network 192.168.1.0 0.0.0.63 area 0 network 192.168.1.160 0.0.0.15 area 0 ! ip classless ! ip http server ! ! control-plane ! ! line con 0 line aux 0 line vty 0 4 login ! scheduler allocate 20000 1000 ! end
Remote_2: Remote_2#show run Building configuration... Current configuration : 1088 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Remote_2 ! boot-start-marker boot-end-marker ! ! no aaa new-model ! resource policy ! ip subnet-zero
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 12 of 14
! ! ip cef ! ! ! ! ! ! interface Loopback0 ip address 192.168.1.65 255.255.255.192 ! interface Loopback1 ip address 192.168.1.129 255.255.255.224 ! interface FastEthernet0/0 ip address 10.10.10.2 255.255.255.248 ip ospf cost 1 ip ospf priority 0 duplex auto speed auto ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial0/0/0 no ip address shutdown clock rate 125000 ! interface Serial0/0/1 no ip address shutdown clock rate 125000 ! router ospf 1 log-adjacency-changes network 10.10.10.0 0.0.0.7 area 0 network 192.168.1.64 0.0.0.63 area 0 network 192.168.1.128 0.0.0.31 area 0 ! ip classless ! ip http server ! ! control-plane ! ! line con 0 line aux 0 line vty 0 4 login !
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 13 of 14
All contents are Copyright 20072009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 14 of 14