30.
Configuring the Watchdog Features
MN700004 Rev 01
339
Configuring the SNMP Request Failure Detection
Feature
The SNMP Request Failure Detection feature monitors the timing and validity of the SNMP
requests. If no valid SNMP request has been received within a specified time period, the
request is considered lost and the feature resets the switch. The rationale is that the missing or
invalid SNMP request indicates lost management network link and resetting the switch
provides management access to it anew. This feature is fully configurable: it can be
enabled/disabled and the SNMP request time out - specified in the range 10÷300 seconds.
By default, this feature is disabled.
NOTE
The SNMP Request Failure Detection feature should be enabled ONLY IF the SNMP server is
configured to send periodic requests. Otherwise, the Watchdog will be interpreting the lack
of SNMP requests as SNMP request failures and will be resetting the switch repeatedly thus
forming a reset loop.
Enabling SNMP Request Failure Detection
The
add sw-watchdog system snmp-request-reset
command, in Watchdog Configuration
mode, enables the SNMP request failure detection, specifies the timeout period and resets the
device in case of SNMP request failure.
Command Syntax
device-name
(sw-watchdog)#
add sw-watchdog system snmp-request-reset
<
TIME
>
Argument Description
<TIME>
Timeout for the SNPM request in seconds. If no valid response is received within the
<Time> period, the switch will reset. The valid range is between 10 and 300.
Example
To configure the switch to reset if no valid response is received 5 minutes (300 seconds) after
sending an SNMP request:
device-name
(sw-watchdog)#
add sw-watchdog system snmp-request-reset
300
device-name
(sw-watchdog)#
Disabling SNMP Request Failure Detection
The
remove sw-watchdog snmp-request-reset
command, in Watchdog mode, disables the
SNMP Request Failure Detection feature and prevents the system from being monitored for
SNMP request failures.
Command Syntax
device-name
(sw-watchdog)#
remove sw-watchdog system snmp-request-reset
Example
device-name
(sw-watchdog)#
remove sw-watchdog system snmp-request-reset
device-name
(sw-watchdog)#