SNR S2940-8G-v2 Switch Configuration Guide
MSTP Configuration
abort
Quit MSTP region mode and return to Global
mode without saving MSTP region configuration.
exit
Quit MSTP region mode and return to Global
mode with saving MSTP region configuration.
no
Cancel one command or set initial value.
4. Configure MSTP time parameters
Command
Explanation
Global Mode
spanning-tree forward-time <time>
no spanning-tree forward-time
Set the value for switch forward delay time.
spanning-tree hello-time <time>
no spanning-tree hello-time
Set the Hello time for sending BPDU messages.
spanning-tree maxage <time>
no spanning-tree maxage
Set Aging time for BPDU messages.
spanning-tree max-hop <hop-count>
no spanning-tree max-hop
Set Maximum number of hops of BPDU mes-
sages in the MSTP region.
5. Configure the fast migrate feature for MSTP
Command
Explanation
Port Mode
spanning-tree link-type p2p { auto | force-
true | force-false }
no spanning-tree link-type
Set the port link type.
spanning-tree portfast [ bpdufilter | bp-
duguard ] [recovery <30-3600>]
no spanning-tree portfast
Set and cancel the port to be an boundary port.
bpdufilter receives the BPDU discarding; bp-
duguard receives the BPDU will disable port; no
parameter receives the BPDU, the port becomes
a non-boundary port.
6. Configure the format of MSTP
Command
Explanation
Port Mode
spanning-tree format standard
spanning-tree format privacy
spanning-tree format auto
no spanning-tree format
Configure the format of port spanning-tree packet, stan-
dard format is provided by IEEE, privacy is compatible with
CISCO and auto means the format is determined by check-
ing the received packet.
7. Configure the spanning-tree attribute of port
Command
Explanation
Port Mode
spanning-tree cost
no spanning-tree cost
Set the port path cost.
169
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...