OSPF Flashcards
Link state topology that uses Dijkstra algorithm to compute routing information
OSPF
Collection of networks and routers that have the same area identification. The identifier is locally significant.
OSPF area
How is the OSPF router ID determined?
Configuration with router-id command Highest numbered IP address of loopback Highest numbered IP address of physical interface If no interface exists, set router ID to 0.0.0.0
Command that is used to manually set which router becomes the DR (Designated Router)
OSPF priority
When two or more routers are contending to be a DR on a network segment, how is the DR chosen?
Highest OSPF priority
Router type with an interface in area0
backbone
Router that connects two or more areas
Area Border Router (ABR)
Connects to additional routing domains; typically located in the backbone
AS Boundary Router (ASBR)
What is the default administrative distance of OSPF?
110
Routers receive these updates containing information about an OSPF area.
Link State Advertisements (LSA)
When routers receives LSAs from other OSPF routers, what database is populated?
Link State Database
What kind of route is populated into the routing table?
best path
Routers that reside on the same network link and exchange hello messages.
Neighbors
Neighbor routers that have exchanged Link State Updates (LSU) and Database Description (DD) packets.
Adjacencies
When forming an adjacency, what state do both routers begin in?
Init
R1 sends a Hello packet to R2. R2 does not see its own router ID and sends a Hello packet back. When R1 receives this packet and sees its own router ID, what state does R1 transition to?
2 way
What state is the DR and BDR selected in?
2 way
What state is the primary and designated router selected in?
ExStart
The actual exchange of database information happens in what state?
Exchange
The _____ router sends out database description packets to the _____ router and the secondary router sends an acknowledgment
primary secondary
What packet contains a list of the LSAs known to the router?
DD packet
If R1 sees that it is missing an LSA from the DD packet, what does it do?
Responds with a Link State Request (LS)
In what state does a router send LS for missing LSAs?
Loading state
Once all of the missing pieces of the puzzle are completed, both routers should have identical link state databases on these two routers. What is the state when an adjacency is formed?
Full state
A logical link that interconnects the backbone area with an area that is not adjacent to the backbone area.
virtual link
What kind of packet helps ensure a reliable transmission of LSAs
LSA Acknowledgement
What command enables the OSPF routing process for process-id 1?
router ospf 1
What command identifies the networks that you want to advertise for area 1?
network [ip address] [wildcard mask] area 1
Instead of identifying networks, you can alternatively enable OSPF on an interface with what command?
ip ospf [process-id] area [area-id]
In order to route towards external networks or toward the internet, what must the router know?
destination network or default route
What command is used for a router that announce the default route? What keyword can be added to the end to always announce the default route?
default-information originate always
What two commands allow you to verify OSPF configuration?
show run | section ospf show ip protocols
What command displays which interfaces are enabled for the OSPF routing process? Useful to determine if your network statements were correctly composed.
show ip ospf interface brief
What command displays OSPF related information on interface FastEthernet 0/1?
show ip ospf interface f0/1
What command displays the OSPF neighbors?
show ip ospf neighbor
What command displays the content of the routing table?
show ip route
By default on Cisco devices, what is the cost calculation based on?
interface bandwidth
What is the formula to determine cost?
cost = reference bandwidth / interface bandwidth
What is the default reference bandwidth?
100
What is the cost for all links that are faster than FastEthernet?
1
What command allows you to configure the reference bandwidth?
ospf auto-cost reference bandwidth [reference-bandwidth]
What command allows you to change the interface cost?
ip ospf cost [cost]
What command allows you to change the bandwidth?
bandwidth [kbps]
The cumulative cost of all links on the path to destinations
path cost
A _____ interface surpasses inbound and outbound OSPF packets on the interface. The interface no longer sends and receives Hello packets and will not become neighbors.
passive
What command configures a specific interface as passive for the OSPF routing protocol on FastEthernet0/1?
passive-interface f0/1
What command configures all interfaces, except FastEthernet0/2, as passive for the OSPF routing protocol
passive-interface default no passive-interface f0/2
What command displays the number of times that the SPF algorithm has been executed?
show ip ospf
What area must all other areas directly connect to?
Backbone area
What are the characteristics of the ABR?
Separates LSA flooding zones Becomes primary point for area address summarization Functions regularly as source for default routes Maintains the LSDB for each area it is connected to
How does OSPFv3 communicate?
By using IPv6 multicast addresses
Is OSPFv3 enabled per network?
No. Enabled per link
What type of addresses does OSPFv3 adjacencies use to communicate?
link-local
What IPv6 protocol number is used to transport LSAs?
89
What multicast address is used by OSPFv3 for all OSPF routers?
FF02::5
What multicast address is used by OSPFv3 for the DR and BDR?
FF02::6