MES53xx, MES33xx, MES23xx Ethernet Switch Series 91
spanning-tree mst
instance_id port-priority
priority
instance_id: (1..4094);
priority: (0..240)/128
Set the interface priority in an MSTP instance.
-instance-id - MSTP instance identifier;
- priority - interface priority.
Priority value must be divisible by 16.
no spanning-tree mst
instance_id port-priority
spanning-tree mst
instance_id cost cost
instance_id: (1..4094);
cost: (1..200000000)
Set the cost of path through the selected interface for a
specific MSTP instance.
- instance-id -MSTP instance identifier;
- cost – path cost.
no spanning-tree mst
instance_id cost
Set the cost based on the port transfer rate and the method of
determining path cost, see Table 5.79. EXEC mode commands.
spanning-tree port-priority
priority
Set the interface priority in the MSTP root spanning tree.
Priority value must be divisible by 16.
no spanning-tree
Privileged EXEC mode commands
Command line prompt in the Privileged EXEC mode is as follows:
console#
Table 5.79. EXEC mode commands
show spanning-tree
[gigabitethernet gi_port |
tengigabitethernet te_port |
fortygigabitethernet fo_port |
port-channel group] [instance
instance_id]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4);
group: (1..16)
instance_id: (1..64);
Show STP configuration.
- instance_id - MSTP instance identifier.
show spanning-tree detail
[active | blockedports]
[instance instance_id]
5.16.6 Show detailed information on STP configuration,
information on active or blocked ports.
- active - show information about active ports;
- blockedports - show information about blocked ports;
- instance_id - MSTP instance identifier.
showspanning-tree
Show information the configured MSTP instances.
clear spanning-tree
{gigabitethernet gi_port |
tengigabitethernet te_port |
fortygigabitethernet fo_port |
port-channel group}
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4);
group: (1..16)
Restarts the protocol migration process. The STP tree is
recalculated.
Examples of command usage
Enable STP support, set the RSTP spanning tree priority to 12288, forward-time interval to 20
seconds, 'Hello' broadcast message transmission interval to 5 seconds, spanning tree lifetime
to 38 seconds. Show STP configuration:
console(config)# spanning-tree
console(config)# spanning-tree mode rstp
console(config)# spanning-tree priority 12288
console(config)# spanning-tree forward-time 20
console(config)# spanning-tree hello-time 5
console(config)# spanning-tree max-age 38
console(config)# exit
console# show spanning-tree