shutdown-interval
Use shutdown-interval to set the detection timer.
Use undo shutdown-interval to restore the default.
Syntax
shutdown-interval time
undo shutdown-interval
Default
The detection interval is 30 seconds.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
time: Specifies a detection timer (in seconds) in the range of 0 to 300. Setting it to 0 disables the detection feature.
Usage guidelines
The device starts a detection timer when a port is shut down by a protocol. If the port is still down when the detection timer expires, the device automatically brings up the port so the port status reflects the port's actual 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.
Examples
# Set the detection timer to 100 seconds.
<Sysname> system-view [Sysname] shutdown-interval 100