Troubleshooting OSPF-Specific Issues
Before you start debugging any OSPF specific issue, you must collect information from the NetScaler appliance and all systems in the affected LAN, including upstream and downstream routers. To begin, enter the following commands:
- show interface from both nscli and VTYSH
- show ip ospf interface
- show ip ospf neighbor detail
- show ip route
- show ip ospf route
show ip ospf database summary
- If there are only few LSAs in the database, then enter show ip ospf database router, show ip ospf database A. network, show ip ospf database external, and other commands to get the full details of LSAs.
- If there are a large number of LSAs in the database, enter the show ip ospf database self-originated command.
- show ip ospf
- show ns ip. This ensures that the details of all VIPs of interest are included.
Get the logs from peering devices and run the following command:
gcore -s -c xyz.core /netscaler/ospfd <pid>
Note: The gcore command is non-disruptive.
Collect additional information from the NetScaler as follows:
Enable logging of error messages by entering the following command from the global configuration view in VTYSH:
ns(config)# log file /var/ospf.log
Enable debugging ospf events and log them by using the following command:
ns(config) #log file /var/ospf.log
Enable debug ospf lsa packet only if the number of LSAs in the database is relatively small (< 500).