Chapter 4: Commands for CLI configuration
spanning-tree mst <instance> cost
Command:
spanning-tree mst <instance> cost { <cost> | auto }
spanning-tree
Spanning Tree protocol
mst
STP bridge instance
<Instance : 0-7>
instance 0-7 (CIST=0, MST1=1...)
cost
STP Cost of this port
<Cost : 1-200000000>
Cost range
auto
Use auto cost
Default:
Auto
Usage Guide:
To configure the
Path Cost
of
MSTI Port
Example:
To configure the
Path Cost (321)
of
MSTI Port (MST 2)
Switch# configure terminal
Switch (config)#
snmp-server host IFS
Switch
(config-snmps-host)#
spanning-tree mst 2 cost 321
spanning-tree mst <instance> port-priority
Command:
spanning-tree mst <instance> port-priority <prio>
spanning-tree
Spanning Tree protocol
mst
STP bridge instance
<Instance : 0-7>
instance 0-7 (CIST=0, MST1=1...)
port-priority
STP priority of this port
<Prio : 0-240>
Range (lower higher priority)
Default:
Auto
Usage Guide:
To configure the
Port Priority
of
MSTI Port
Example:
To configure the
Port Priority (96)
of
MSTI Port (MST 2)
Switch# configure terminal
Switch (config)#
snmp-server host IFS
Switch
(config-snmps-host)#
spanning-tree mst 2 port-priority
96
spanning-tree restricted-role
Command:
spanning-tree restricted-role
spanning-tree
Spanning Tree protocol
restricted-role
Port role is restricted (never root port)
228
NS3500-24T-4C Managed Switch Command Guide