XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
210
spanning-tree
no spanning-tree
Enable/Disable MSTP.
Global Mode
spanning-tree mode {mstp|stp|rst
p}
no spanning-tree mode
Set MSTP running mode.
Port Mode
spanning-tree mcheck
Force port migrate to run under MSTP.
2. Configure instance parameters
Command
Explanation
Global Mode
spanning-tree mst <instance-id> priorit
y <bridge-priority>
no spanning-tree mst <instance-id> pr
iority
Set bridge priority for specified instance.
spanning-tree priority <bridge-priority>
no spanning-tree priority
Configure the spanning-tree priority of the
switch.
Port Mode
spanning-tree mst <instance-id> cost
<cost>
no spanning-tree mst <instance-id> co
st
Set port path cost for specified instance.
spanning-tree mst <instance-id> port-p
riority <port-priority>
no spanning-tree mst <instance-id> p
ort-priority
Set port priority for specified instance.
spanning-tree mst <instance-id> rootg
uard
no spanning-tree mst <instance-id> ro
otguard
Configure currently port whether running
rootguard in specified instance
, configure
the rootguard port cant turn to root port.
spanning-tree rootguard
no spanning-tree rootguard
Configure currently port whether running
rootguard in instance
0, configure the
rootguard port cant turn to root port.
spanning-tree [mst <instance-id>] loop
guard
no spanning-tree [mst <instance-id>] l
oopguard
Enable loopguard function on specified
instance
, the no command disables this
function.