30.
Configuring the Watchdog Features
MN700004 Rev 01
338
Configuring the Reset-Loop Detection Feature
When this feature is enabled, the Watchdog detects when a reset-loop occurs and logs a
notification about it to the NVRAM. The switch is considered to be in a rest loop when it
resets more than 3 times in a certain time period. This period is configurable and can be set to
30÷1500 seconds. If a reset loop is detected, the switch reverts to a state where all LAN ports
except the one configured as maintenance port are kept in physically disabled state.
By default, the Reset-Loop Detection feature is disabled.
Enabling Reset-Loop Detection
The
add sw-watchdog system reset-loop
command, in Watchdog Configuration mode,
enables the Reset-Loop Detection feature, sets the reset loop detection time period and
specifies the interface to be used as maintenance port when reset loop is detected.
Command Syntax
device-name
(sw-watchdog)#
add sw-watchdog system reset-loop
<
TIME
>
port
<
UU/SS/PP
>
Argument Description
<UU/SS/PP>
Represents the unit, slot and port numbers of the interface configured as
maintenance port in case of reset loop, e.g. 1/1/1.
<TIME>
Time period in seconds within which if more than 3 resets occur, the switch will be
considered to be in a reset loop. The valid range is between 30 and 1500.
Example
To configure the switch to close all LAN ports except 1/1/1 if more than 3 reset loops occur
within a 30-second period and to configure port 1/1/1 as maintenance port:
device-name
(sw-watchdog)#
add sw-watchdog system reset-loop
30
port
1/1/1
device-name
(sw-watchdog)#
Disabling Reset-Loop Detection
The
remove sw-watchdog system reset-loop
command, in Watchdog mode, disables the
Reset-Loop Detection feature and prevents the system from being monitored for reset loops.
Command Syntax
device-name
(sw-watchdog)#
remove sw-watchdog system reset-loop
Example
device-name
(sw-watchdog)#
remove sw-watchdog system reset-loop
device-name
(sw-watchdog)#