SNR S2940-8G-v2 Switch Configuration Guide
MSTP Configuration
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.
8. Configure the snooping attribute of authentication key
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.
9. Configure the FLUSH mode once topology changes
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 ev-
ery ten seconds.
The no command restores to default setting, enable flush
once the topology changes.
Port Mode
spanning-tree tcflush { enable |
disable | protect }
no spanning-tree tcflush
Configure the port flush mode.
The no command restores to use the global configured flush
mode.
170