C613-50170-01 Rev B
Command Reference for x510 Series
683
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
S
PANNING
T
REE
C
OMMANDS
SPANNING
-
TREE
MST
INSTANCE
RESTRICTED
-
ROLE
spanning-tree mst instance restricted-role
Overview
Use this command in Interface Configuration mode for a switch port interface only
to enable the restricted role for an MSTI (Multiple Spanning Tree Instance) on a
switch port. Configuring the restricted role for an MSTI on a switch port prevents
the switch port from becoming the root port in a spanning tree topology.
Use the
no
variant of this command to disable the restricted role for an MSTI on a
switch port. Removing the restricted role for an MSTI on a switch port allows the
switch port to become the root port in a spanning tree topology.
Syntax
spanning-tree mst instance <
instance-id
> restricted-role
no spanning-tree mst instance <
instance-id
> restricted-role
Default
The restricted role for an MSTI instance on a switch port is disabled by default.
Mode
Interface Configuration mode for a switch port interface only.
Usage
The root port is the port providing the best path from the bridge to the root bridge.
Use this command to disable a port from becoming a root port. Use the
no
variant
of this command to enable a port to become a root port. See the
Overview and Configuration Guide
for root port information.
Examples
To prevent a switch port from becoming the root port, use the commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
spanning-tree mst instance 3 restricted-role
To stop preventing the switch port from becoming the root port, use the
commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
no spanning-tree mst instance 3
restricted-role
Parameter
Description
<
instance-id
>
Specify an MSTP instance in the range 1-15. The MST instance must
have already been created using the
command.