MN700004 Rev 01
337
30. Configuring the Watchdog
Features
Overview
The Watchdog is a set of system features for monitoring some tasks or processes on the
switch that are either critical or their monitoring is very useful for the administration of the
switch. Unlike the other monitoring features however, it also triggers some automated actions
to correct the situation if a monitored event or process goes wrong adding thus a bit of
artificial intelligence to your switch.
The Watchdog is managed in a special Service Configuration mode called "Software
Watchdog Configuration mode" (or "Watchdog mode" for short) and represented with the
(
sw-watchdog
)#
prompt on the display. To access the Watchdog mode, use the
service sw-
watchdog
command in Global Configuration mode.
The Watchdog integrates three features:
1.
Reset-Loop Detection
:
Detects and stops a reset-loop.
2.
SNMP Request Failure Detection
:
Detects when an SNMP request fails and resets the switch.
3.
Application Suspension Detection
:
Detects suspended applications and issues log notifications.
Each of these features is covered in detail later in this chapter.
Accessing Watchdog Mode
The
service sw-watchdog
command in Global Configuration mode provides access to
Watchdog mode and its configuration options.
Command Syntax
device-name
(config)#
service sw-watchdog
Example
Accessing the Watchdog feature from View mode:
device-name
>enable
device-name
#configure terminal
device-name
(config)#
service sw-watchdog
device-name
(sw-watchdog)#