Chapter 20 - Implementing OSPF Flashcards
What command(s) could you use to find OSPF neighbors off of an interface?
- show ip ospf neighbor (shows neighbors off all interfaces)
- show ip ospf neighbor <interface> (shows neighbors off a specific interface)</interface>
What is the OSPF process-id?
- The OSPF process-id defines an OSPF process that will be used on the local router, it is the first part of the process of setting up OSPF on a router.
- This does not have to match between neighbors unlike the EIGRP AS-id.
- There can be multiple processes running on a single router.
- Can be any value between 1 and 65535.
What is the OSPF network command used for?
- An alternate method of enable OSPF on interfaces to the ‘ip ospf’ method in interface configuration.
- Same as EIGRP network command
- The network command is used to indirectly identify which interface on the local router will be part of the relevant process-id and what area that interface will be part of.
- Matches the ip-address and wildcard-mask parameters to the IPs and subnets configured on interfaces. Whichever interfaces match the parameters will be part of the defined process and area.
- The area part of this command can be anything between 0 and 4294967295.
What details are displayed by the ‘show ip ospf neighbor’ command?
- Interface - The local router’s interface that is connected to a particular neighbor.
- Address - The IP address of the interface of the particular neighbor at the other end of a link.
- State - Shows the role of the neighboring router in this neighbor relationship and whether the relationship is full.
- Neighbor ID - Shows the router-ID of this particular neighbor.
When using the ‘show ip ospf neighbor’ command what are all the possible values of the State field?
- FULL/- - The neighbor has been fully negotiated. The ‘-‘ means this link does not use a DR/BDR.
- FULL/DR - The neighbor has been fully negotiated and the neighbor is the DR.
- FULL/BDR - The neighbor has been fully negotiated and the neighbor is the BDR.
- FULL/DROTHER - The neighbor has been fully negotiated and the neighbor is not the DR or BDR. This also implies that the local router is the DR or BDR as the first part of the state is FULL.
- 2WAY/DROTHER - The neighbor is in a 2-way state and the neighbor is neither the DR nor BDR (A DROTHER router). This also implies that the local router is not the DR or BDR (and is a DROTHER) since the first part of the state is not FULL.
What information will the ‘show ip ospf database’ command show?
- A Router LSA (Type 1 Router LSA) for each router in the same area.
- A Network LSA (Type 2 Network LSA) from a DR for each router in that DRs network (per area)
True or False. The ‘show ip protocols’ command will list the OSPF configuration on the local router per area.
True.
What command can you use to show what interfaces OSPF is currently enabled on? What other information can you find using this command?
show ip ospf interface brief
This command also shows:
- The process ID that enabled this interface
- The area the interface is part of
- The IP of the interface
- The number of neighbors found via this interface
What command can you use to configure a loopback interface?
interface loopback <interface></interface>
What is a loopback interface?
- A loopback interface is a virtual interface that is always in an up/up state unless configured as shutdown.
- Very useful for OSPF RIDs unlike physical interfaces that can go down and will have a physical state of down if no signal is detected.
What are the two methods of enabling OSPF on an interface?
- Indirectly using the network command (Older)
- Directly using the ip ospf command in interface configuration mode (Newer)
Which OSPF show commands would list different information depending on whether it was configured directly or indirectly? Which would show the same?
Commands that differ depending on whether OSPF has been configured directly or indirectly:
- show ip protocols - Will add ‘Routing on interfaces configured explicitly’ if configured using the ‘ip ospf’ command.
- show ip ospf interface <interface> - will show 'Attached via Interface enable' next to processes configured directly. Will show 'Attached via Network statement' next to processes configured indirectly.</interface>
Commands that don’t differ depending on whether OSPF has been configured directly or indirectly:
- show ip ospf int brief
- show ip ospf database
- show ip ospf neighbor
- show ip route
What is a Passive OSPF Interface?
An OSPF enabled interface that advertises the interface’s connected subnet to other OSPF routers in the area but does not send OSPF Hellos or process received OSPF Hellos. This can be configured using:
‘passive-interface <interface>' in router configuration mode</interface>
What command could you use to determine if an OSPF enabled interface is passive?
- ‘show ip ospf int <interface>'</interface>
- ‘show ip protocols’
What command could you use to cause a router to advertise a default route to neighbors?
‘default-information originate’ from router OSPF configuration mode