MES53xx, MES33xx, MES23xx Ethernet Switch Series
89
Table 5.73. Default path cost (spanning-tree cost)
Interface
Method for defining the path cost.
Long
Short
Port-channel
20000
4
TenGigabit Ethernet (10000 Mbps)
2000000
100
FortyGigabit Ethernet (40000 Mbps)
2000000
100
Gigabit Ethernet (1000 Mbps)
2000000
100
Privileged EXEC mode commands
Command line prompt in the Privileged EXEC mode is as follows:
console#
Table 5.74. Privileged EXEC mode commands
Command
Value/Default value
Action
show 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)
Show STP state.
show spanning-tree detail
[active | blockedports]
-
Show the detailed information on STP configuration,
information on active or blocked ports.
clear spanning-tree
detectedprotocols *interface
{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. Restart STP tree
recalculation.
EXEC mode commands
Command line prompt in the EXEC mode is as follows:
console#
Table 5.75. EXEC mode commands
Command
Value/Default value
Action
show spanning-tree bpdu
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
|
port-channel
group
| detailed]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4);
group: (1..16).
Show BPDU packet processing mode for the interfaces.
5.16.5.2
MSTP configuration
Global configuration mode commands
Command line prompt in the global configuration mode is as follows:
console(config)#
Table 5.76. Global configuration mode commands
Command
Value/Default value
Action
spanning-tree
-/enabled
Enable STP on the switch.
no spanning-tree
Disable STP on the switch.
spanning-tree mode {stp |
rstp | mstp}
-/RSTP
Set STP operation mode.
no spanning-tree mode
Set the default value.