8 - OSPF and Routing Protocols Flashcards
What are routing protocols designed to exchange routes between routers in different Autonomous Systems called?
EGP (Exterior Gateway Protocols)
What is an ASN?
An Autonomous System number
What is the only EGP in use today?
BGP (Border Gateway Protocol)
What are the three main branches of routing protocol algorithms for IGP protocols?
- Distance vector
- Advanced distance vector (hybrid)
- Link-state
What type of routing protocol is RIP?
Distance vector
What type of routing protocol is OSPF and IS-IS?
Link state
What type of routing protocol is EIGRP?
Advanced distance vector / hybrid
What metric does RIP use?
Hop count (between router and destination subnet)
What metric does OSPF use?
Cost (sum of all interface cost settings for all links in route)
What metric does EIGRP use?
Calculation based on bandwidth and delay.
Calculated based on route’s slowest link and cumulative delay associated with each interface in the route
What command is used to change the perceived bandwidth for an interface?
The bandwidth
command
cost = reference bandwidth / interface bandwidth
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# router ospf 1
RP/0/RSP0/CPU0:router(config-ospf)# auto-cost reference-bandwidth 1000
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
By default OSPF calculates the OSPF metric for an interface according to the bandwidth of the interface.
The OSPF metric is calculated as the mbps value divided by bandwidth, with mbps equal to 108 by default.
If you have multiple links with high bandwidth (such as OC-192), you might want to use a larger number to differentiate the cost on those links. That is, the metric calculated using the default mbps value is the same for all high-bandwidth links.
Recommended usage of cost configuration for OSPF interfaces with high bandwidth is to be consistent: Either explicitly configure (by using the cost command) or choose the default (by using the auto-cost command).
The value set by the cost command overrides the cost resulting from the auto-cost command.
What routing protocol sent routing protocol messages as IP broadcast addresses?
RIPv1
What is route redistribution?
When two routers or AS are operating different routing protocols, and routers can take routes learned by one protocol and redistribute them into the other routing protocol and vice versa
How does IOS choose between routes learned using different routing protocols?
Administrative distance. Lowest is best
What is the default administrative distance for RIP?
120
What is the default administrative distance for OSPF?
110
What is the default administrative distance for EIGRP?
90
What is the default administrative distance for a connected route?
0
What is the default administrative distance for a static route?
1
How do you change the administrative distance of a route directly?
Using the IP route command:
ip route 192.168.1.0 255.255.255.0 192.168.1.1 <210>
What is an LSA?
A Link State Advertisement used in OSPF to be flooded / collectively advertise almost every detail about the network to all other routers to ensure every router in the network has the exact same information
What is an LSDB?
Link State Database. A collection of all LSAs known to the router
How does the OSPF flooding process work?
Every router floods an LSA containing its information to other routes. All routers receiving LSAs can learn the content and forward it if necessary.
To prevent LSAs flooding in circles routers communicate to neighboring routers asking if they already have the LSA
What is the LSA aging timer?
Determines how often an LSA is re-flooded. Default is 30 minutes
True/False: The LSDB states each router’s best route to a destination
False. Routers must do math (SPF algorithm) using the information in the LSDB
What are the three main phases of OSPF?
- Becoming neighbors
- Exchanging databases
- Calculating/adding best routes
What command shows OSPF neighbors?
show ip ospf neighbor
How does the OSPF neighbor model allow new routers to be dynamically discovered and added without requiring reconfiguration of routers?
OSPF routers listen for Hello messages from new routers. Upon receiving them they attempt to become neighbors and exchange LSDBs
What OSPF process allows new neighbor relationships to be formed?
OSPF Hello process
What is the RID in OSPF?
Router ID. The routers unique name/identifier for OSPF. It is included in the OSPF Hello message