Chapter 2 - Single-Area OSPFv2 Configuration Flashcards
what command is used to enable OSPFv2 in global config mode
router ospf -process-id-
two situations that use router ID on OSPF-enabled router
- participate in OSPF database synchronization during Exchange State (higher router ID sends their DBD packets first)
- participate in election of DR (highest router ID is elected DR, second highest is BDR)
all OSPF packets include the router ID of the…
originating router
In preferential order of how router ID is derived:
- Router ID configured using router-id *recommended method
- Highest IPv4 address of any configured loopback interface
- Highest active IPv4 address of any physical interface
command to check Router ID
show ip protocols | include Router ID
True or False:
OSPF does not need to be enabled on an interface for that interface to be chosen as the router ID
True
command to config router id
In global config: #router ospf 10 #router-id 1.1.1.1
when can router be changed/modified?
router is reloaded or OSPF process is reset
command to reset neighbor adjacencies to modify router ID
clear ip ospf process
what command is used to enable OSPF on an interface on a point-to-point OSPF network
network -network-address wildcard-mask- area -area-id
two ways to identify interfaces that will participate in OSPFv2 routing process
- by Wildcard Mask - any active interface configured with an IPv4 add belonging to that network will participate in OSPFv2 routing process
- by specifying the exact interface IPv4 add using 0.0.0.0 wildcard mask -> network 10.1.1.5 0.0.0.0 area 0 tells router to enable interface associated with that network add for routing process
command to configure OSPF directly on interface
#interface g0/0 #ip ospf -process-id- area -area-id-
How does unneeded OSPF messages sent out on all OSPF-enabled interfaces affect the network?
inefficient use of bandwidth
inefficient use of resources
increased security risk
what command is used to prevent unwanted OSPF messages from transmitting but still allow that router interface to be advertised to other routers?
#router ospf 10 #passive-interface loopback 0
command to see what interfaces are elected DR and BDR
show ip ospf interface
what interface configuration command disables DR/BDR election?
#interface g0/0 #ip ospf network point-to-point
what IP does DROTHERs use to send OSPF packets to the DR and BDR
224.0.0.6
and only DR and BDR listen on this address
what info does show ip ospf interface -interface- display
shows router state (DR, BDR, DROTHER) - which is DR and BDR, their Router ID and IP add, how many adjacencies and who they are
command to verify OSPFv2 adjacencies
show ip ospf neighbor
how is DR elected?
Router with highest interface priority is elected DR.
0-255 value can be set
0 value interface can’t be elected DR
If all interface priorities are equal, router with highest Router ID is elected DR
Router remains DR until one of these events occurs
- DR fails
- OSPF process on DR fails or is stopped
- the multiaccess interface on the DR fails or is shutdown
what command is used to set interface priority?
ip ospf priority -value-
value btwn 0-255
what command is used in privilege mode to see DR and BDR election process
debug ip ospf adj
what gives indication of the overhead that is required to send packets across a certain interface?
a metric
formula to calculate OSPF cost
cost = reference bandwidth / interface bandwidth
**default reference bandwidth is always 10^8 (100,000,000) bps
command to change reference bandwidth on router configuration
how to verify OSPFv2 cost assigned to a router interface
auto-cost reference-bandwidth -Mbps-
show ip ospf interface -interface-
how often are Hello Packets transmitted to multiaccess address 224.0.0.5?
every 10 seconds
what is the period called that the router waits to receive a Hello Packet before declaring the nieghbor down?
time for multiaccess and non-broadcast multiaccess networks
Dead Interval
40 seconds for multiaccess (x4 of Hello Interval)
30 secs for Hello Packet and 120 secs for Dead Interval on non-broadcast multiaccess networks
command to check Hello and Dead intervals
sh ip ospf interface
command to see Dead Time countdown
show ip ospf neighbor
a router connected to the internet is sometimes called:
edge router or gateway router
name given to the router located btwn the OSPF routing domain and a non-OSPF network
Autonomous System Boundary Router (ASBR)
what does O*E2 indicate on a route table
the route was learned through OSPFv2
* - means good candidate for default route
E2 - identifies this as an external route
in order to propagate a default route, the edge router must be configured with the following:
- a default static route using ip route 0.0.0.0 0.0.0.0 either with [next-hop-address] but if going out to the internet use [exit-intf]
- default-information originate router config command; which tells router to be the source of the default route info and propagate the default static route in OSPF updates
Some reasons routers may not form OSPF adjacency:
- subnet masks don’t match
- OSPF Hello or Dead Timers don’t match
- OSPF Network Types don’t match
- missing or incorrect OSPF network command