OSPF commands Flashcards
how to configure RID
en- conf t- router ospf 1- router-id 192.168.255.254(ip-addr)
how to configure loop back address for routers
en-conf t- int loop 0- ip addr 192.196.255.254 (ipaddr)
how to show all ospf info (what does it all show)
sh ip protocol
- show Royer ID
loopback adds
connected ip’s in which aread
how to show neighbouring ospf
sh ip ospf neighbor
How to configure routes to connected networks
en-conf t- router ospf 1 - network 10.1.1.0 0.0.0.3 area 0
network 10.1.1.0 0.0.0.254 area 0
(network network-address wildcard-ask area area-id)
-ospf area is a group of routers that share link state info
What is all part of the OSPF packet heacder
- Router ID
- Area id
- type of code for ospf packet type
What is part of the IP packet header
-source ip addr, destination ip addr, protocol field set to 89
OSPF packet types (5)
LAP
OSPF interface priority command
what does that priority ave to be to ensure it is not a DR?
in config- if- ip ospf priority (0-255)
0- not able to be dr or bdr
1 deafult value
higher priority= DR
what is OSPF costs
used to determine best route
cost based on bandwidth- 10*8/ bandwidth
Router ID determined in the following order
- uses ip addr configured with the ospf router-id command
- if none configured- router chooses highest ip of any loopback interface
-if none- router chooses highest ctive ip addr of physical interfaces
(use sh ip protocol to see details)
5 important ospf route sources and administractive distance
Connected - 0
Static - 1
ospf - 110
rip - 120
Hello packets help to do what?
What is a DR
& BDR
Hello protocol packets contain info used to elect DR + BDR
DR- Designated router- responsable to update all other ospf routers
bdr- takes over is DR fails
** point to point links never have a DR****
Hello packet does what?
- discovers neighbours and builds adjacencies between them
b4- 2 routers can be adjacent they must have same values for : - Hello interval, dead interval and Network type
-HI_multicast=( 224.0.0.5) sent ever 30s
DI- default is 4x hello time
Database description (DBD) does?
checks database synchronization b/w routers