JunosE 11.3.x IP, IPv6, and IGP Configuration Guide
Neighbor Uptime Tracking
Monitoring OSPF
debug Commands
292
Use to specify traps for OSPF.
Example
host1(config-router-rn)#traps all
Use the no version to delete the specified trap, group of traps, or all traps.
See traps
You can use the history keyword with the show ip ospf neighbors command to display
a history of up to 10 events for all OSPF neighbors or a specific OSPF neighbor. This history
can aid in troubleshooting network problems related to neighbor flapping. The history
includes the interface for the neighbor, a timestamp for the event, whether the neighbor
transition is seen (up) or down, and the cause of down events.
You can track up to 50 neighbors; when that number is exceeded, the history of the least
recently tracked neighbor is overwritten. Similarly, when a neighbor's events exceed 10,
the oldest event is overwritten, because no more than 10 events can be tracked per
neighbor. Neighbor uptime tracking is not available for OSPFv3. See "show ip ospf
neighbors" on page 310 for output field definitions.
host1#show ip ospf neighbors history
Transition log for neighbor 10.10.8.2:
Interface
Event Cause
==============================================
ATM2/0.8
Seen
Transition log for neighbor 10.10.12.2:
Interface
Event Cause
==============================================
ATM2/0.12
Seen
ATM2/0.12
DOWN
ATM2/0.12
Seen
Two sets of commands enable you to monitor OSPF operation on your router: the debug
and the show commands. Both sets of commands provide information about your router's
OSPF state and configuration.
The task you are performing with each of these monitoring commands is basically the
same for each command; that is, you are requesting information. The results of this
request can vary. For instance, the debug commands provide information (some of which
is dynamically obtained from router logs) about problems with the network or the router,
whereas the show commands provide information about the actual state and
configuration of your router.
The debug commands provide information about the following OSPF items:
Time
NA
WED DEC 14 07:02:27
Time
NA
WED DEC 14 07:09:12
Interface down
WED DEC 14 07:05:47
NA
WED DEC 14 07:02:32
Copyright © 2010, Juniper Networks, Inc.
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - IP-IPV6-IGP CONFIGURATION GUIDE 2010-10-31 and is the answer not in the manual?
Questions and answers