3Com 3.01.01 Switch User Manual


 
OSPF 103
[Switch A-Vlan-interface1]ip address 196.1.1.1 255.255.255.0
[Switch A]router id 1.1.1.1
[Switch A]ospf
[Switch A-ospf]area 0
[Switch A-ospf-area-0.0.0.0]network 196.1.1.0 0.0.0.255
2 Configure Switch B:
[Switch B]interface vlan-interface 7
[Switch B-Vlan-interface7]ip address 196.1.1.2 255.255.255.0
[Switch B]interface vlan-interface 8
[Switch B-Vlan-interface8]ip address 197.1.1.2 255.255.255.0
[Switch B]router id 2.2.2.2
[Switch B]ospf
[Switch B-ospf]area 0
[Switch B-ospf-area-0.0.0.0]network 196.1.1.0 0.0.0.255
[Switch B-ospf-area-0.0.0.0]quit
[Switch B-ospf]area 1
[Switch B-ospf-area-0.0.0.1]network 197.1.1.0 0.0.0.255
[Switch B-ospf-area-0.0.0.1]vlink-peer 3.3.3.3
3 Configure Switch C:
[Switch C]interface Vlan-interface 1
[Switch C-Vlan-interface1]ip address 152.1.1.1 255.255.255.0
[Switch C]interface Vlan-interface 1
[Switch C-Vlan-interface1]ip address 152.1.1.1 255.255.255.0
[Switch C]interface Vlan-interface 2
[Switch C-Vlan-interface2]ip address 197.1.1.1 255.255.255.0
[Switch C]router id 3.3.3.3
[Switch C]ospf
[Switch C-ospf]area 1
[Switch C-ospf-area-0.0.0.1]network 197.1.1.0 0.0.0.255
[Switch C-ospf-area-0.0.0.1]vlink-peer 2.2.2.2
[Switch C-ospf-area-0.0.0.1]quit
[Switch C-ospf]area 2
[Switch C-ospf-area-0.0.0.2]network 152.1.1.0 0.0.0.255
Troubleshooting OSPF
1 OSPF has been configured according to the previous procedures, but OSPF on the
router does not run normally.
Troubleshoot locally
Check whether the protocol between two directly connected routers is
operating normally. The normal sign is the peer state machine between the two
routers reaches the “FULL” state. Note that on a broadcast or NBMA network,
if the interfaces for two routers are in the DROther state, the peer state
machine for the two routers is in the 2-way state, instead of the FULL state. The
peer state machine between the DR or BDR, and all the other routers is in the
FULL state.
Execute the display ospf peer command to view peers.
Execute the display ospf interface command to view OSPF information in
the interface.
Execute the ping command to test whether the physical connections and
the lower level protocol operate normally. If the local router cannot ping the