Router ID: 3.3.3.3
State: Full
DR: 192.168.1.1
Dead timer due in 39
Neighbor is up for 00:01:41
Authentication Sequence: [ 0 ]
Switch A becomes the DR, and Switch C is the BDR.
The full neighbor state means an adjacency has been established. The 2-way neighbor state
means the two routers are not the DR or BDR, and they do not exchange LSAs.
# Display OSPF interface information.
[SwitchA] display ospf interface
Area: 0.0.0.0
IP Address
192.168.1.1
[SwitchB] display ospf interface
Area: 0.0.0.0
IP Address
The interface state DROther means the interface is not the DR/BDR.
Configuring OSPF virtual links
Network requirements
In
Figure
39, Area 2 has no direct connection to Area 0, and Area 1 acts as the Transit Area to connect
Area 2 to Area 0 via a configured virtual link between Switch B and Switch C.
After configuration, Switch B can learn routes to Area 2.
Figure 39 Network diagram
Mode: Nbr is Slave
BDR: 192.168.1.3
sec
OSPF Process 1 with Router ID 1.1.1.1
Interfaces
Type
State
Broadcast DR
OSPF Process 1 with Router ID 2.2.2.2
Interfaces
Type
State
Address: 192.168.1.3
Priority: 2
MTU: 0
Cost
Pri
DR
1
100
192.168.1.1
Cost
Pri
106
GR State: Normal
BDR
192.168.1.3
DR
BDR