show data track
This command displays the status of active tracks, a specific track ID, a specific interface or a specific IP address, and track failures.
Syntax
show data track {<Track ID> history|<Track ID> rtt-history|brief}
Command |
Description |
||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<Track ID> history [failures] |
Display status history of a specific track ID. You optional view track failure history: show data track <track ID> history failures [<last x hours>]: Displays track failures (when and duration) for a specified track and optionally, in the last x hours (1-72). |
||||||||||||||||||||||||
<Track ID> rtt-history |
Display a graph of track average RTT during THE last 60 minutes and 72 hours of a specific track ID. |
||||||||||||||||||||||||
brief {<IP address>|failures|interface} |
Displays the status ("up" or "down") of all active trackings. The output can be filtered by:
|
Command Mode
Basic User and Privileged User
Related Commands
clear counters track
Example
■ | This example displays the state of all tracks: |
show data track brief
Track State Min / 60sec. Avg / Max RTT (m.s) Target Interface Description 1 Up 1 1 118 10.4.4.60 VLAN 1 "vlan1_local_test"
2 Down 3 3 239 1.1.1.1 GigabitEthernet 0/0 "rrr"
3 Up 1 2 135 2001::31 VLAN 1 "track_3" 4 Up 41 45 212 8.8.8.8 VLAN 1
■ | This example displays the state of all tracks filtered by interface GE 0/0: |
show data track brief interface gigabitethernet 0/0
Track State Min / 60sec. Avg / Max RTT (m.s) Target Interface Description
1 Up 41 50 1020 8.8.8.8 GigabitEthernet 0/0
3 Up 41 48 1020 8.8.4.4 GigabitEthernet 0/0 "this_is_a_long_track_description"
11 Down 3 3 239 1.1.1.1 GigabitEthernet 0/0 "rrr"
■ | This example displays when the last failures occurred for each track: |
# show data track brief failures
track 1 has no failures (target 8.8.8.8, Description "ping_google")
track 2 failed in the last 24 hours (target 8.8.4.4, Description)
track 10 never been UP (target 1.11.2.22, Description)
track 3 failed in the last hour (target 8.8.8.8, Description)
■ | This example displays how many times a track failed and for how long (total), in the last x hours (1-720): |
# show data track brief failures 24
track 1 failed 2 times for a total of 40 seconds (target 8.8.8.8, Description "ping google")
track 2 had no failures (target 10.1.1.1, Description)
track 3 Never been UP (target 10.2.1.1, Description)
track 4 failed 5 times for a total of 70 seconds (target 8.8.4.4, Description "google 2")
■ | This example displays failures (when and duration) for a specified track and optionally, in last x hours (1-72): |
# show data track 2 history failures 72
Failed at 01-01-2003@05:16:23 for 1 second
Failed at 01-01-2003@15:29:59 for 1 second
Failed at 01-01-2003@22:58:39 for 1 second
Failed at 01-02-2003@00:09:20 for 1 second