Information Technology Reference
In-Depth Information
Use the show ip ospf neighbor command to view information about the other routers in
the OSPF area.
Step 3.
Notice that R3 is the DR:
R2# show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.31.33 1 FULL/DR 00:00:33 192.168.1.3 FastEthernet0/0
Task 6: Configure OSPF on the DRother Router
Configure the OSPF process on the router with the lowest router ID last. This router will be designat-
ed as DRother instead of DR or BDR.
Use the router ospf command in global configuration mode to enable OSPF on the R1
router.
Step 1.
Enter a process ID of 1 for the process-ID parameter. Configure the router to advertise
the 192.168.1.0/24 network. Use an area ID of 0 for the OSPF area-id parameter in the
network statement:
R1(config)# router ospf 1
R1(config-router)# network 192.168.1.0 0.0.0.255 area 0
R1(config-router)# end
%SYS-5-CONFIGI: Configured from console by console
R1#
00:16:08: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.22 on FastEthernet0/0
from LOADING to FULL, Loading Done
00:16:12: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.31.33 on FastEthernet0/0
from EXCHANGE to FULL, Exchange Done
Notice that an adjacency is formed with the R2 and R3 routers. It can take up to 40 sec-
onds for both the R2 and R3 routers to each send a Hello packet.
Use the show ip ospf interface command to verify that OSPF has been configured cor-
rectly and that R1 is a DRother.
Step 2.
R1# show ip ospf interface
FastEthernet0/0 is up, line protocol is up
Internet address is 192.168.1.1/24, Area 0
Process ID 1, Router ID 192.168.31.11, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DROTHER, Priority 1
Designated Router (ID) 192.168.31.33, Interface address 192.168.1.3
Backup Designated Router (ID) 192.168.31.22, Interface address
192.168.1.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:00
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Search WWH ::




Custom Search