Advanced System Command Reference for Cisco NCS 6000 Series Routers
Watchdog Commands
Downloads: This chapterpdf (PDF - 1.27MB) The complete bookPDF (PDF - 3.07MB) | Feedback

Watchdog Commands

Watchdog Commands

This module describes commands used to monitor the memory states and thresholds of routers running Cisco IOS XR software.

show reboot history

To display reboot information for the last graceful reboot, use the show reboot history command in XR EXEC mode.

show reboot history [reverse] location node-id

Syntax Description

reverse

(Optional) Displays the reverse in chronological order.

location

Specifies a node.

node-id

Node ID. The node-id argument is entered in the rack/slot/module notation.

Command Modes

XR EXEC

Command History

Release

Modification

Release 5.0.0

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

The reboot history shows all reboot causes that is stored for the previous node resets.

Task ID

Task ID

Operations

system

read

Examples

The following sample output is from the show reboot history command:

RP/0/RP0/CPU0:router# show reboot history location 0/1/CPU0

No  Time                      Cause Code  Reason
--------------------------------------------------------------------------------
01  Mon Jul 30 19:27:05 2007  0x2000004f  Cause: MBI-HELLO reloading node on rec
                                          eiving reload notification            
                                            Process: mbi-hello                  
                                                                                
                                                Traceback: fc15b1a0 fc15b290 482
                                          0020c fc1d5fb0 0 0
02  Thu Aug 16 16:32:35 2007  0x21000106  Cause: All fabric links down on Fabric
                                          q                                     
                                            Process: fabricq_mgr                
                                                                                
                                                Traceback: fc15b1a0 fc15b290 fc9
                                          9ded4 fc99ae00 fc99affc fc99affc
03  Thu Aug 16 17:05:20 2007  0x2000004f  Cause: MBI-HELLO reloading node on rec
                                          eiving reload notification            
                                            Process: mbi-hello                  
                                                                                
                                                Traceback: fc15b1a0 fc15b290 482
                                          0020c fc1d5fb0 0 0
04  Mon Sep 10 21:01:34 2007  0x21000106  Cause: All fabric links down on Fabric
                                          q                                     
                                            Process: fabricq_mgr                
                                                                                
                                                Traceback: fc15b1a0 fc15b290 fc9
                                          a3f00 fc9a0e10 fc9a100c fc9a100c
05  Mon Sep 10 21:36:10 2007  0x2000004f  Cause: MBI-HELLO reloading node on rec
                                          eiving reload notification            
                                            Process: mbi-hello                  
                                                                                
                                                Traceback: fc1601a0 fc160290 482
                                          0020c fc1dcfb0 0 0
06  Wed Oct 10 18:28:53 2007  0x21000106  Cause: All fabric links down on Fabric
                                          q                                     
                                            Process: fabricq_mgr                
                                                                                
                                                Traceback: fc1601a0 fc160290 fc9
                                          d9f48 fc9d6e58 fc9d7054 fc9d7054
07  Wed Oct 10 19:04:02 2007  0x2000004f  Cause: MBI-HELLO reloading node on rec
                                          eiving reload notification            
                                            Process: mbi-hello                  
                                                                                
                                                Traceback: fc160c38 fc160d34 482
                                          0020c fc1ddfb0 0 0
08  Wed Oct 10 20:19:39 2007  0x0000004f  Cause: HBAgent reloading node on recei
                                          ving reload notification              
                                            Process: hbagent                    
                                                                                
                                                Traceback: fc160c38 fc160d34 482
                                          00228 fc1ddfb0 0 0
09  Wed Oct 10 20:45:53 2007  0x0000004f  Cause: HBAgent reloading node on recei
                                          ving reload notification              
                                            Process: hbagent                    
                                                                                
                                                Traceback: fc160c38 fc160d34 482
                                          00228 fc1ddfb0 0 0
10  Thu Oct 11 19:15:55 2007  0x0000004f  Cause: HBAgent reloading node on recei
                                          ving reload notification              
                                            Process: hbagent                    
                                                                                
                                                Traceback: fc160c38 fc160d34 482
                                          00228 fc1ddfb0 0 0
  

Related Commands

Command

Description

show reboot first

Displays reboot information for a node first.  

show reboot graceful

Displays reboot information for the last graceful reboot for a node.  

show reboot last

Displays the latest crash information.  

show reboot pcds

Displays Persistent Critical Data Store critical information for the last ungraceful reboot.  

show watchdog

To display information about the memory state or threshold memory, use the show watchdog command in XR EXEC mode.

show watchdog [ memory-state | overload state location node-id | trace ] [ threshold memory { configured | defaults } location node-id ] [ location node-id ]

Syntax Description

memory-state

(Optional) Displays the memory state.

threshold memory

(Optional) Displays the memory thresholds.

configured

Displays the configured memory thresholds.

defaults

Displays the default system memory thresholds.

location node-id

(Optional) Specifies a node. The node-id argument is entered in the rack/slot/module notation.

The location node-id keyword and argument must be specified if the threshold memory keywords are selected.

overload state

(Optional) Displays the overload control state information.

trace

(Optional) Displays the watchdog trace data.

Command Default

The command output is not compressed.

Command Modes

XR EXEC

Command History

Release

Modification

Release 5.0.0

This command was introduced.

Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.

Use the show watchdog command to display information about the memory states or thresholds for a specified location. You can display the default or configured memory thresholds.

Task ID

Task ID

Operations

basic-services

read

Examples

The following sample output is from the show watchdog command:

RP/0/RP0/CPU0:router# show watchdog memory-state 

Wed Nov  4 00:18:59.575 UTC
Memory information:
    Physical Memory: 4096     MB
    Free Memory:     2623.671 MB
    Memory State:         Normal
  

Related Commands

Command

Description

watchdog threshold memory

Configures the value of memory available for each alarm threshold.