Chapter 4: Commands for CLI configuration
86
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
Switch (config-if) #
spanning-tree mst 0 cost 100
spanning-tree mst <Instance : 0-7> cost
Command:
spanning-tree mst <Instance : 0-7> port-priority <Prio : 0-240>
spanning-tree
Spanning Tree protocol
mst
STP bridge instance
<Instance : 0-7>
instance 0-7 (CIST=0, MST2=1...)
port-priority
STP priority of this port
<Prio : 0-240>
Range (lower higher priority)
auto
Use auto cost
Default:
Auto
Usage Guide:
To configure
Path Cost
of
CIST / MST Normal Port Configuration
for specific
interface
Example:
To enable
Path Cost
(32) of
CIST / MST Normal Port Configuration
(CIST)
for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
spanning-tree mst 0 port-priority 32
spanning-tree restricted-role
Command:
spanning-tree restricted-role
spanning-tree
Spanning Tree protocol
restricted-role
Port role is restricted (never root port)
Default:
Disabled
Usage Guide:
To enable
Restricted-role
of
CIST Normal Port Configuration
for specific
interface
Example:
To enable
Restricted-role
of
CIST Normal Port Configuration
for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
spanning-tree restricted-role
spanning-tree restricted-tcn
Command:
spanning-tree restricted-tcn