■
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
Neighbor Uptime Tracking
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 319 for output field definitions.
host1#
show ip ospf neighbors history
Transition log for neighbor 10.10.8.2:
Interface Event Cause Time
==============================================
ATM2/0.8 Seen NA WED DEC 14 07:02:27
Transition log for neighbor 10.10.12.2:
Interface Event Cause Time
==============================================
ATM2/0.12 Seen NA WED DEC 14 07:09:12
ATM2/0.12 DOWN Interface down WED DEC 14 07:05:47
ATM2/0.12 Seen NA WED DEC 14 07:02:32
Monitoring OSPF
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.
debug Commands
The debug commands provide information about the following OSPF items:
300
■
Neighbor Uptime Tracking
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Содержание IGP - CONFIGURATION GUIDE V11.1.X
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 18: ...xviii List of Figures JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 20: ...xx List of Tables JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 26: ...2 Internet Protocol JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 148: ...Set clauses set local pref 400 See show route map 124 Monitoring IP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 228: ...204 Internet Protocol Routing JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 264: ...240 Monitoring RIP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 438: ...414 Monitoring IS IS JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 439: ...Part 3 Index Index on page 417 Index 415...
Страница 440: ...416 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 454: ...430 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...