stp port shutdown permanent

Use stp port shutdown permanent to disable the device to reactivate the shutdown edge ports.

Use undo stp port shutdown permanent to restore the default.

Syntax

stp port shutdown permanent

undo stp port shutdown permanent

Default

The device reactivates the shutdown edge ports after a port status detection interval.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This command applies to edge ports that are shut down by BPDU guard after the command is executed. To bring up these ports, use the undo shutdown command.

You can use the shutdown-interval time command to set the port status detection interval after which the device reactivates the shutdown ports. For information about the shutdown-interval time command, see Fundamentals Command Reference.

Examples

# Disable the device to reactivate shutdown edge ports.

<Sysname> system-view
[Sysname] stp port shutdown permanent