[Contents] [Prev] [Next] [Index] [Report an Error]

# 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 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

[Contents] [Prev] [Next] [Index] [Report an Error]