194Usage guidelinesSome protocols might shut down ports under specific circumstances. For example, MSTP shuts down aBPDU guard–enabled port when the port receives a BPDU. In this case, you can set the port statusdetection timer. If the port is still down when the detection timer expires, the protocol moduleautomatically 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 thetimer to the time when the protocol module shuts down the port is T. If Trecovered after T1-T time. If T>=T1, the down port is recovered immediately. For example, if thedetection timer is set to 30 seconds and you change it to 10 seconds (T1=10) two seconds after theport is shut down (T=2), this port will be recovered 8 seconds later. If the detection timer is set to 30seconds and you change it to 2 seconds ten seconds after the port is shut down, this port isrecovered immediately.• If the detection timer is set to 0, the protocol module never automatically recovers the port. You needto manually bring up the port by using the undo shutdown command or change the detection timerto a non-zero value.Examples# Set the port status detection timer to 100 seconds. system-view[Sysname] shutdown-interval 100sysnameUse sysname to set the device name.Use undo sysname to restore the default.Syntaxsysname sysnameundo sysnameDefaultThe device name is H3C.ViewsSystem viewDefault command level2: System levelParameterssysname: Name of the device, which is a string of 1 to 30 characters.Usage guidelinesA device name identifies a device in a network and works as the user view prompt at the CLI. Forexample, if the device name is Sysname, the user view prompt is .Examples# Set the name of the device to R2000. system-view[Sysname] sysname R2000