MES1000, MES2000 Ethernet Switches
97
5.16.5.2
MSTP protocol configuration
Global configuration mode commands
Command line request in global configuration mode appears as follows:
console(config)#
Table 5.86 —Global configuration mode commands
Command
Value/Default value
Action
spanning-tree
-
Enable STP protocol utilization by the switch.
no spanning-tree
Disable STP protocol utilization by the switch.
spanning-tree mode
{stp | rstp | mstp}
-/RSTP
Set STP protocol operation mode.
no spanning-tree mode
Restore the default value.
spanning-tree pathcost
method
{
long
|
short
}
-/short
Set the method for defining the path value.
-
long—
value in the range 1..200000000
- short
—value in the range 1..65535.
no spanning-tree pathcost
method
Restore the default value.
spanning-tree mst
instance_id
priority
priority
instance_id: (1..4094);
priority: (0..61440)/32768
Set the higher priority for the current switch than for other
switches, that use the common MSTP instance.
Priority value must be divisible by 4096.
no spanning-tree mst
instance_id
priority
Restore the default value.
spanning-tree mst max-
hops
hop_count
(1..40)/20
Set the maximum transit portions for BDPU packet required
for the tree formation and keeping the information on its
structure. If the packet has gone through the maximum
quantity of transit portions, it will be discarded at the next
portion;
no spanning-tree mst max-
hops
Restore the default value.
spanning-tree mst
configuration
-
Enter the MSTP configuration mode.
MSTP configuration mode commands
Command line request in MSTP configuration mode appears as follows:
console#
configure
console (config)#
spanning-tree mst configuration
console (config-mst)#
Table 5.87 —MSTP configuration mode commands
Command
Value/Default value
Action
instance
instance_id
vlan
vlan_range
instance_id:(1..4094);
vlan_range: (1..4094)
Create the match between MSTP instance and VLAN groups.
no instance
instance_id
vlan
vlan_range
Remove the match between MSTP instance and VLAN groups.
name
string
(1..32) characters
Set MST configuration name.
no name
Remove MST configuration name.
revision
value
(0..65535)/0
Set the MST configuration revision number.
no revision
Restore the default value.
show
{
current
|
pending
}
-
Show the current or pending MST configuration.
exit
-
Save configuration and exit MSTP configuration mode.
abort
-
Discard configuration and exit MSTP configuration mode.
Ethernet interface configuration mode commands, port group interface
Command line request in Ethernet interface, port group interface configuration mode appears as
follows: