OSPF Flashcards
What kind of routing protocol is OSFP?
Distance Vector
Link State
Link State
Does OSPF only know about it’s neighbor’s routes or have a picture of the entire network topology
OSPF is a Link State routing protocol so it knows about the while network topology.
A Distance Vector protocol like RIP or EIGRP only learns about routes from its directly connected neighbors.
What kind of packets are used in OSPF to exchange routing infrormation?
LSA - Link State Advertisements are used to pass routing updates between routers.
List steps taken in OSPF route learning.
List OSPF Packet Types
- Hello Packet - Router sends and listens for these on enabled interfaces
- DBD - DataBase Descriptor - Info about the networks a router knows about
- LSR - Link State Request - asking for more information about a link
- LSA - Link State Advertisement - A routing update
- LSU - Link State Update - contains a list of LSA’s that should be updated, typicially flooded out
- LSAck - Recieving routers acknowledge LSAs
What is the number called that is listed when enabling OSPF on a router?
i.e. R1(config)# router ospf 100
the Process ID
- This is a locally, not globaly significant number.
- This does not have to be the same on other neighbor routers.
- Usually only one Process ID is used on a router no matter how many interfaces it has.
What is the number denote that is entered after the network address and wildcard mask in OSPF?
i.e:
R1(config)# router ospf 1
R1(config)# network 192.168.0.0 0.0.255.255 area 0
R1(config)# network 10.0.0.0 0.255.255.255 area 0
The area number will be the same on all routers that are sharing routing info in their databases with each other.
In OSPF, if you enter the following commands and hit enter, what will happen reguarding the wildcard mask?
R1 (config) # router ospf 100
R1(config-router) network 10.0.0.0
You’ll get an % Incomplete command error because OSFP does not default to classful network/wildcard masks.
In OSPF when entering the command:
R1(config-router) network 192.168.0.0 0.0.255.255 area 0
Will the network 192.168.0.0/16 be advertised?
Probably No.
Only if an interface on that router is configured on that exact network / mask combination. If it only has interfaces configured with 192.168.10.0/24 and 192.168.20.0/24, those spific networks will be advertised, not the entire 192.168.0.0/16 network.
Command to show OSPF running config
R1# show run | section ospf
command to show detailed information about OSPF:
R1# show ip protocols
Command to show interfaces setup for OSPF?
R1# show ip ospf interface brief
command to show nearby OSPF devices:
R1# show ip ospf neighbor
Command to view OSPF database
R1# show ip ospf database
How is the default Router ID chosen in OSPF?
Highest loopback interface IP.
If no loopback interfaces, then highest interface IP address.
Can also manually be set.