The shutdown command disables an interface.
The undo shutdown command enables an interface.
By default, interfaces are enabled.
Usage Scenario
After modifying parameters of an interface, run the shutdown and undo shutdown commands to make the modification take effect.
When an interface is not connected to a cable or fiber, you can use the shutdown command to disable the interface to prevent exceptions caused by interference.
Precautions
When the device supports the autocomplete function, you must enter at least the characters shut before the device can automatically complete the shutdown command.
Disabling an interface during data transmission will cause data frame loss or service interruption. Exercise caution when you use the shutdown command.
Some logical interfaces, such as loopback, and null interfaces, do not support the shutdown and undo shutdown commands.
If you run the shutdown command in the Eth-Trunk interface view, all Eth-Trunk member interfaces are disabled.
Running the shutdown and undo shutdown commands is equivalent to running the restart command.
When an interface is configured with a sub-interface, the default interval for running the shutdown and undo shutdown commands on the main interface is 15 seconds.
When a physical interface functions as an Eth-Trunk member interface, the default interval for running the shutdown and undo shutdown commands on this interface is 15 seconds.