245
should be the multiples of 4096, such as 0, 4096, 8192…61440.
Command mode:
Global Mode
Default:
The default bridge priority is 32768.
Usage Guide:
By setting the bridge priority, users can change the bridge ID for the
specified instance. And the bridge ID can influence the elections of root bridge and
designated port for the specified instance.
Example:
Set the priority for Instance 2 to 4096.
Switch(Config)#spanning-tree mst 2 priority 4096
8.3.19 spanning-tree portfast
Command: spanning-tree portfast
no spanning-tree portfast
Function:
Set the current port as boundary port; The command “
no spanning-tree
portfast
” sets the current port as non-boundary port.
Command mode:
Interface Mode
Default:
All the ports are non-boundary ports by default when enabling MSTP.
Usage Guide:
When a port is set to be a boundary port, the port converts its status from
discarding to forwarding without bearing forward delay. Once the boundary port receives
the BPDU, the port becomes a non-boundary port.
Example:
Set port 1/5-6 as boundary ports.
Switch(Config)#interface ethernet 1/5-6
Switch(Config-Port-Range)#spanning-tree portfast
8.3.20 spanning-tree digest-snooping
Command:spanning-tree digest-snooping
no spanning-tree digest-snooping
Function:
Configure the port to use the authentication string of partner port .the
command “
no spanning-tree digest-snooping
“ restores to use the port generated
authentication string.
Default:
Don’t use the authentication string of partner port .
Command mode:
Interface mode
Usage Guide:
According to
MSTP protocol, the region authentication string is generated
by MD5 algorithm with public authentication key,intstance ID, VLAN ID. Some
manufactory don’t user the public authentication key, this cause the incompatibility . After
the command is executed the port can use the authentication string of partner port ,
realize compatibility with these manufactories equipment .