254
C
16: IP R
HAPTER
OUTING
Example: Configuring
DR Election Based on
OSPF Priority
P
O
ROTOCOL
PERATION
Table 252 Displaying and debugging OSPF
Operation
Display OSPF routing table
Display OSPF virtual links
Display OSPF request list
Display OSPF retransmission list
Display the information of OSPF
ABR and ASBR
Display the summary information of
OSPF imported route
Display OSPF interface information
Display OSPF errors
Display Command for OSPF Neighbor Information
Use the command display ospf peer statistics, which has the same display output
as that of display ospf peer brief command.
The display ospf peer brief command has the following fields in its display output:
Router ID
■
Address (IP address of the neighbor)
■
Pri (priority of the neighbor)
■
DeadTime(s)
■
Interface
■
State
■
Networking Requirements
In this example, four Switch 5500s, Switch A, Switch B, Switch C and Switch D, which
can perform the router functions and run OSPF, are located on the same segment, as
shown Figure 57
Networking Diagram
Figure 57 Networking for configuring DR election based on OSPF priority
1.1.1.1
Switch A
DR
196.1.1.1/24
196.1.1.2/24
Switch B
Command
display ospf [ process_id ] routing
display ospf [ process_id ] vlink
display ospf [ process_id ] request-queue
display ospf [ process_id ] retrans-queue
display ospf [ process_id ] abr-asbr
display ospf [ process_id ] asbr-summary [
ip_address mask ]
display ospf [ process_id ] interface
display ospf [ process_id ] error
Switch D
3.3.3.3
2.2.2.2
Switch C
4.4.4.4
196.1.1.4/24
196.1.1.3/24
BDR