Front | Back |
Three OSPF tables?
|
Neighbour table
Topology table Routing table |
Five types of OSPF packets?
|
Hello
DBD (DataBase Descriptor) - Sends a list of router IDs from whom the router has an LSA and the current sequence number LSR (Link State Request) - ask for any missing LSAs LSU (Link State Update) - Replies to link-state request with requested data. LSAck (Link State Ack) - Confirm receipt of link-state information |
OSPF cost calculation
|
Cost = 100,000,000/LinkSpeed
(100Mbps/LinkSpeed) |
Eight OSPF neighbor states in order?
|
1) Down - No hello received from neighbour
2) Attempt - Only in NBMA, sends unicast hello 3) Init - Hello received, but receiving router’s ID was not included in it 4) 2-way - bi-directional communication established 5) Exstart - exchanging link-state information can start between routers and DR&BDR 6) Exchange - exchange database descriptor (DBD) 7) Loading - exchange of link-state information 8) Full - fully adjacent with each other |
Command to:
- start ospf with process number 100 - enable OSPF area 0 on 10.0.0.0 ints |
Router ospf 100
network 10.0.0.0 0.255.255.255 area 0 |
Three possibilities to be router ID
|
Address defined by router-id command
Highest loopback int address Highest physical int address |
Command to:
- display OSPF process details |
Sh ip ospf
|
Command to:
- display contents of the topological database. |
Sh ip ospf database
|
Command to:
- display how OSPF has been configured on each interface. |
Sh ip ospf int
|
Command to:
- displays neighbor information (state of adjacencies). |
Sh ip ospf neighbor
|
Command to:
- show IP routing protocol configuration |
Sh ip protocols
|
Command to:
- display routing table |
Sh ip route
|
Command to:
- display information about OSPF-related events, such as adjacencies, flooding information, designated router selection, and SPF calculation. |
Debug ip ospf events
|
Command to:
- display IP debugging information includes packets received, generated, and forwarded. |
Debug ip packet
|
Command to:
- manually determine which router to become the DR? |
Ip ospf priority 100
|