
MSTP Configuration
186
7. Configure the spanning-tree attribute of port
8. Configure the snooping attribute of authentication key
9. Configure the FLUSH mode once topology changes
Command
Explanation
Port Mode
spanning-tree cost
no spanning-tree cost
Set the port path cost.
spanning-tree port-priority
no spanning-tree port-priority
Set the port priority.
spanning-tree rootguard
no spanning-tree rootguard
Set the port is root port.
Global Mode
spanning-tree
transmit-hold-count
<tx-hold-count-value>
no spanning-tree transmit-hold-count
Set the max transmit-hold-count of
port.
spanning-tree cost-format {dot1d | dot1t}
Set port cost format with dot1d or
dot1t.
Command
Explanation
Port Mode
spanning-tree digest-snooping
no spanning-tree digest-snooping
Set the port to use the authentication
string of partner port.
The
no
command restores to use the
generated string.
Command
Explanation
Global Mode
spanning-tree tcflush {enable| disable|
protect}
no spanning-tree tcflush
Enable: the spanning-tree flush once
the topology changes.
Disable: the spanning tree don‘t flush
when the topology changes.
Protect: the spanning-tree flush not
more than one time every ten
seconds.
The no command restores to default
setting, enable flush once the
topology changes.