10.1.3.5 Lab Configuring OSPFv2 Advanced Features
10.1.3.5 Lab Configuring OSPFv2 Advanced Features
10.1.3.5 Lab Configuring OSPFv2 Advanced Features
Topology
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 7
Lab - Configuring OSFPv2 Advanced Features
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
Objectives
Part 1: Configure Basic Device Settings
Part 2: Configure and Verify OSPF Routing
Part 3: Change OSPF Metrics
Part 4: Configure and Propagate a Static Default Route
Background / Scenario
Open Shortest Path First (OSPF) has advanced features to allow changes to be made to control metrics,
default route propagation, and security.
In this lab, you will adjust OSPF metrics on the router interfaces and configure OSPF route propagation.
Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers (ISRs) with
Cisco IOS Release 15.2(4)M3 (universalk9 image). Other routers and Cisco IOS versions can be used.
Depending on the model and Cisco IOS version, the commands available and output produced might vary
from what is shown in the labs. Refer to the Router Interface Summary Table at the end of this lab for the
correct interface identifiers.
Required Resources
• 3 Routers (Cisco 1941 with Cisco IOS Release 15.2(4)M3 universal image or comparable)
• 2 PCs (Windows with terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet and serial cables as shown in the topology
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 7
Lab - Configuring OSFPv2 Advanced Features
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 7
Lab - Configuring OSFPv2 Advanced Features
Note: It may be necessary to disable the PC firewall for the pings to be successful.
Note: If the router had Fast Ethernet interfaces instead of Gigabit Ethernet interfaces, then the cost would
now be 10 on those interfaces.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 7
Lab - Configuring OSFPv2 Advanced Features
b. Apply the ip ospf cost 16000 command to the S0/0/1 interface on R1. A cost of 16,000 is higher than the
accumulated cost of the route through R2 which is 15,624.
c. Issue the show ip ospf interface brief command on R1 to view the cost change to S0/0/1.
R1# show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Se0/0/1 1 0 192.168.13.1/30 16000 P2P 1/1
Se0/0/0 1 0 192.168.12.1/30 7812 P2P 1/1
Gi0/0 1 0 192.168.1.1/24 1 DR 0/0
d. Re-issue the show ip route ospf command on R1 to display the effect this change has made on the
routing table. All OSPF routes for R1 are now being routed through R2.
R1# show ip route ospf
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Explain why the route to the 192.168.3.0/24 network on R1 is now going through R2?
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 7
Lab - Configuring OSFPv2 Advanced Features
b. Issue the show ip route command on R1 to verify the propagation of the static route from R2.
R1# show ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 7
Lab - Configuring OSFPv2 Advanced Features
c. Verify end-to-end connectivity by issuing a ping from PC-A to the ISP interface address 209.165.200.225.
Were the pings successful? ________________
Reflection
1. What is the easiest and preferred method of manipulating OSPF route costs?
_______________________________________________________________________________________
_______________________________________________________________________________________
2. What does the default-information originate command do for a network using the OSPF routing protocol?
_______________________________________________________________________________________
Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2
1800 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
1900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
2801 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/1/0 (S0/1/0) Serial 0/1/1 (S0/1/1)
(F0/0) (F0/1)
2811 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
2900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the
device. The table does not include any other type of interface, even though a specific router may contain one.
An example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can
be used in Cisco IOS commands to represent the interface.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 7