stp port shutdown permanent

Syntax

stp port shutdown permanent

undo stp port shutdown permanent

View

System view

Default level

2: System level

Description

Use stp port shutdown permanent to disable the device to reactivate edge ports shut down by BPDU guard.

Use undo stp port shutdown permanent to restore the default.

By default, the device reactivates the shutdown edge ports after a port status detection interval.

This command disables the device to reactivate edge ports that are shut down after the stp port shutdown permanent command is configured. These edge ports will remain down after you execute the undo stp port shutdown permanent command. To reactivate these edge ports, you must 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 edge ports shut down by BPDU guard.

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