Alcatel Carrier Internetworking Solutions 6800 User Manual

Page of 614
Troubleshooting IP Routing
OSPF Troubleshooting
OmniSwitch Troubleshooting Guide
September 2005
page 12-19
OSPF Troubleshooting
The following commands are used to troubleshoot OSPF failures:
show ip ospf interface x.y.z.
show ip ospf area 2.2.2.2 
show ip ospf
show ip ospf neighbor 
//state is FULL (connect to DR or BDR) or 2 Ways (router to router)
show ip ospf interface          //DR or BDR
show ip ospf lsdb                  //within area 
A debug-level of 50 for detail and 75 for more detail.   
7700-> ip ospf debug-type ?
^
WARNING VLINK TM TIME SUMMARY STATE SPF SETUP 
SEND RESTART REDIST RECV RDB MIP LSDB INTF INFO
HELPER HELLO FLOOD ERROR DBEXCH AUTH AREA ALL
AGE
(IP Routing & Multicast Command Set)
To debug OSPF:
1) show ip ospf debug          //level 0 is disabled
2) ip ospf debug-level 0
3) ip ospf debug-type warning
4) ip ospf debug-type error
5) ip ospf debug-type state
6) ip ospf debug-level (50 detail; 75 more detail)
7) ip ospf debug-level 0        //to stop
Verify the required parameters for an OSPF interface using the show ip ospf interface command:
-> show ip ospf interface 10.40.110.2
VLAN Id                               = 110,
Interface IP Address                  = 10.40.110.2,
Interface IP Mask                     = 255.255.255.0,
Admin Status                          = Disabled,
Operational Status                    = Up,
OSPF Interface State                  = Down,
Interface Type                        = Broadcast,
Area Id                               = 0.0.0.5,
Designated Router IP Address          = 0.0.0.0,
Designated Router RouterId            = 0.0.0.0,
Backup Designated Router IP Address   = 0.0.0.0,
Backup Designated Router RouterId     = 0.0.0.0,
MTU  (bytes)                          = 1492,
Metric Cost                           = 1,
Priority                              = 1,
Hello Interval (seconds)              = 10,
Transit Delay (seconds)               = 1,
Retrans Interval (seconds)            = 5,
Dead Interval (seconds)               = 40,
Poll Interval (seconds)               = 120,
Link Type                             = Broadcast,
Authentication Type                   = none,
# of Events                           = 0,