R3303-HP 6600/HSR6600 Routers Fundamentals Command Reference

187
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) 2 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 10 seconds after the port is shut down, this port is
recovered immediately.
If the detection timer is set to 0, the protocol module never automatically recovers the port. You need
to manually bring up the port by using the undo shutdown command or change the detection timer
to a non-zero value.
The following matrix shows the command and router compatibility:
Command 6602 HSR6602
6604/6608/6616
shutdown-interval No. No.
Yes when RPE-X1 and RSE-X1 MPUs are
used and no when MCP MPUs are used.
Examples
# Set the port status detection timer to 100 seconds.
<Sysname> system-view