30.Configuring the Watchdog FeaturesMN700004 Rev 01338Configuring the Reset-Loop Detection FeatureWhen this feature is enabled, the Watchdog detects when a reset-loop occurs and logs anotification about it to the NVRAM. The switch is considered to be in a rest loop when itresets more than 3 times in a certain time period. This period is configurable and can be set to30÷1500 seconds. If a reset loop is detected, the switch reverts to a state where all LAN portsexcept the one configured as maintenance port are kept in physically disabled state.By default, the Reset-Loop Detection feature is disabled.Enabling Reset-Loop DetectionTheadd sw-watchdog system reset-loopcommand, in Watchdog Configuration mode,enables the Reset-Loop Detection feature, sets the reset loop detection time period andspecifies the interface to be used as maintenance port when reset loop is detected.Command Syntaxdevice-name(sw-watchdog)#addsw-watchdogsystemreset-loop<TIME>port<UU/SS/PP>Argument DescriptionRepresentstheunit,slotandportnumbersoftheinterfaceconfiguredasmaintenance port in case of reset loop, e.g. 1/1/1.Time period in seconds within which if more than 3 resets occur, the switch will beconsidered to be in a reset loop. The valid range is between 30 and 1500.ExampleTo configure the switch to close all LAN ports except 1/1/1 if more than 3 reset loops occurwithin a 30-second period and to configure port 1/1/1 as maintenance port:device-name(sw-watchdog)#add sw-watchdog system reset-loop30port1/1/1device-name(sw-watchdog)#Disabling Reset-Loop DetectionTheremove sw-watchdog system reset-loopcommand, in Watchdog mode, disables theReset-Loop Detection feature and prevents the system from being monitored for reset loops.Command Syntaxdevice-name(sw-watchdog)#remove sw-watchdog system reset-loopExampledevice-name(sw-watchdog)#remove sw-watchdog system reset-loopdevice-name(sw-watchdog)#