R2511-HP MSR Router Series Fundamentals Command Reference(V5)
102
Examples
# Schedule a device reboot in 88 minutes. This example assumes that the current time is 11: 4 8 o n J u n e
6, 2006.
<Sysname> schedule reboot delay 88
Reboot system at 13:16 06/06/2006(in 1 hour(s) and 28 minute(s)). confirm? [Y/N]:
Enter y at the prompt. If you have used the terminal logging command to enable the log display function
(enabled by default) on the terminal, the system automatically displays a reboot schedule log message.
<Sysname>
%Jun 6 11:48:44:860 2006 Sysname CMD/4/REBOOT:
vty0(192.168.1.54): Set schedule reboot parameters at 11:48:44 06/06/2006, and system will
reboot at 13:16 06/06/2006.
Related commands
schedule reboot at
shutdown-interval
Use shutdown-interval to set the port status detection timer.
Use undo shutdown-interval to restore the default.
Syntax
shutdown-interval time
undo shutdown-interval
Default
The port status detection timer is 30 seconds.
Views
System view
Default command level
2: System level
Parameters
time: Specifies the port status detection timer in seconds, in the range of 0 to 300.
Usage guidelines
Some protocols might shut down ports under specific circumstances. For example, MSTP shuts down a
BPDU guard–enabled port when the port receives a BPDU. In this case, you can set the port status
detection timer. If the port is still down when the detection timer expires, the protocol module
automatically cancel the shutdown action and restore the port to its original physical status.
• If you change the detection timer to T1 during port detection, the interval from when you change the
timer to the time when the protocol module shuts down the port is T. If T<T1, the down port will be
recovered after T1-T time. If T>=T1, the down port is recovered immediately. For example, if the
detection timer is set to 30 seconds and you change it to 10 seconds (T1=10) two seconds after the
port is shut down (T=2), this port will be recovered 8 seconds later. If the detection timer is set to 30
seconds and you change it to 2 seconds ten seconds after the port is shut down, this port is
recovered immediately.










