120
[Sysname-Ethernet1/0/3] stp instance 2 port priority 16
# In PVST mode, set the priority of port Ethernet 1/0/3 to 16 in VLAN 2.
<Sysname> system-view
[Sysname] stp mode pvst
[Sysname] interface ethernet 1/0/3
[Sysname-Ethernet1/0/3] stp vlan 2 port priority 16
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
stp port-log
Syntax
stp
port-log
{
instance
{
instance-id
|
all
} |
vlan
vlan-list
}
undo
stp
port-log
{
instance
{
instance-id
|
all
} |
vlan
vlan-list
}
View
System view
Default level
2: System level