What command(s) could you use to find OSPF neighbors off of an interface?
What is the OSPF process-id?
What is the OSPF network command used for?
What details are displayed by the ‘show ip ospf neighbor’ command?
When using the ‘show ip ospf neighbor’ command what are all the possible values of the State field?
What information will the ‘show ip ospf database’ command show?
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?
What are the two methods of enabling OSPF on an interface?
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?
What command could you use to cause a router to advertise a default route to neighbors?
‘default-information originate’ from router OSPF configuration mode
What are the three ways of changing an OSPF interface cost to influence the route cost of a particular route?
True or False. The value configured using the ‘bandwidth’ command has to match the speed of an interface.
False. The bandwidth command will not affect the actual speed of an interface, but some IOS features (such as OSPF) will use this metric to make decisions.
What does the ‘auto-cost reference-bandwidth <value>' command do?</value>
What command could be used increase the number of routes that OSPF will allow ECMP to route traffic to a particular subnet over?
‘maximum-paths <number>' in router OSPF configuration mode</number>
What command could you use to find the cost of an interface?
‘show ip ospf int brief’
What rules must OSPF routers follow in order to become neighbors?
On routers where the below don’t match, they can still become neighbors but OSPF won’t function properly and neighbors may not form full adjacencies
- Layer 3 MTU settings must match
- OSPF network type
What command can you use to change the Hello timer of an OSPF router?
‘ip ospf hello-interval <value>' in interface config</value>
What command can you use to change the Dead timer of an OSPF router?
‘ip ospf dead-interval <value>' in interface config</value>
What commands would you use to setup an OSPF password?