stp port shutdown permanent

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

Use undo stp port shutdown permanent to restore the default.

Syntax

stp port shutdown permanent

undo stp port shutdown permanent

Default

The device reactivates an edge port shut down by BPDU guard after the port status detection timer expires.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

This command takes effect only on edge ports shut down by BPDU guard after this command is configured. The device does not bring up the shutdown ports if you execute the undo stp port shutdown permanent command. To bring up these ports, you must use the undo shutdown command.

For more information about the port status detection timer, see device management configuration in Fundamentals Configuration Guide.

Examples

# Disable the device from reactivating edge ports shut down by BPDU guard.

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