SROS Command Line Interface Reference Guide
Global Configuration Mode Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
496
safe-mode
<reload timer> <threshold time>
Use the
safe-mode
command to enable SafeMode operation. SafeMode operation allows the user to
perform configuration changes without the possibility of being disconnected during a Telnet or SSH
session. Use the
no
form of this command to disable SafeMode operation.
Syntax Description
<reload timer>
Specifies the amount of time (in seconds) allowed for the user to write the
configuration to memory. With SafeMode enabled, the router will begin the reboot
process after the reload timer has expired. See the
Functional Notes
section for
more details. Valid range is 30 to 3600 seconds.
<threshold time>
Specifies the amount of time (in seconds) the router waits before reloading when
the user is prompted to restart the SafeMode timer. To restart the SafeMode
reload timer, press <Ctrl + r>. Valid range is 30 to 3600 seconds.
Default Values
<reload timer>
The default for the reload timer is
300
seconds.
<threshold time>
The default for the threshold time is
60
seconds.
Functional Notes
Users that manage a router remotely via SSH or Telnet can encounter a situation where the configuration
change they perform interrupts network connectivity. For example, if the user is connected to the router via
a Telnet session and configures an access list (ACL) that blocks all Telnet access and applies it to an
interface, the user loses connectivity. In this example, the only way to recover connectivity is to directly
connect to the Console port and remove the ACL.
Once enabled, SafeMode requires the user to periodically reset a reload timer within a specified amount of
time. A message will appear on the display:
2005.12.12 10:22:53 SAFEMODE: SafeMode Enable. Reboot in <n> seconds!
To reset the SafeMode reload timer, press <Ctrl + r>. If no reset request is received, the router displays the
following message to the screen:
2005.12.12 10:23:23 SAFEMODE: SafeMode Timer Expired - problem-config generated
The router saves the current disruptive running-configuration to internal flash (labeling it
problem-config
)
and reboots. Once the router has rebooted, it will display a reboot cause message and load the current
saved startup-configuration file. The startup-configuration should allow the user to regain access to the
router. The user should then review the saved disruptive configuration file (
problem-config
) and correct
the disruption.
Usage Examples
The following example enables SafeMode operation and specifies a reload timer of 240 seconds and a
threshold timer of 120 seconds:
ProCurve(config)#
safe-mode 240 120