Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### STP Administration Guide

Search Scope:

- This Document
- Entire Library

## Configure the Restricted Role

Whenever a port is configured with a restricted role, the port cannot be root port. The spanning tree information received on the configured port is subjected to role selection. If the received information is superior, the port is selected as the alternate port or backup port. If the received information is inferior, the port is selected as the designated port. By default, the `restricted-role` feature is disabled.

On provider bridges, the `restricted-role` feature is enabled for all customer network ports.

1. View the restricted role status.

       SEFOS# show spanning-tree detail

       Spanning tree Protocol Enabled.

       MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
       Bridge Identifier has Priority 32768, Address 00:01:02:03:04:01
       Configured  Max age 20 sec,  Forward delay 15 sec
       Configured Hello Time 2 sec
       Dynamic Path Cost Disabled
       Flush Interval 0 centi-sec, Flush Invocations 72
       Flush Indication threshold 0
       Current Root has priority 32768, address 00:02:02:03:04:01cost of root path is 2000Number of Topology Changes 1, Time since topology Change 89 seconds agoTransmit Hold-Count 3Root Times : Max age 20 Sec Forward delay 15 SecPort 45 [Ex0/45] of MST00 is Root , ForwardingEx0/45 is operating in the MSTP ModePort path cost 2000, Port priority 128,Port Identifier 128.45. Port HelloTime 2,Timers: Hello - 1, Forward Delay - 0, Topology Change - 0Designated root has priority 32768, address 00:02:02:03:04:01

       Designated Bridge has priority 32768, address 00:02:02:03:04:01
       Designated Port Id is 128.45, Designated pathcost is 0Operational Forward delay 15, Max age 20Received Hello Time 2 SecNumber of Transitions to forwarding State : 1Auto-Edge is enabledPortFast is disabled, Oper-Edge is disabledLink type is point to PointBPDUs : sent 4, recieved 4466Restricted Role is disabled.Restricted TCN is disabled.bpdu-transmit enabledbpdu-receive enabledLoop Guard is disabled

2. Configure root guard or restricted role on the port in both the switches.

       SEFOS# configure terminal
       SEFOS(config)# interface extreme-ethernet 0/1

3. Configure the restricted role feature.

       SEFOS(config-if)# spanning-tree restricted-role

4. Exit Interface Configuration mode.

       SEFOS(config-if)# end

5. View the restricted role configuration using the following command.

       SEFOS# show spanning-tree detail
       Spanning tree Protocol has been enabledMST00 is executing the mstp compatible Multiple Spanning Tree ProtocolBridge Identifier has Priority 32768, Address 00:01:02:03:04:01Configured Max age 20 sec, Forward delay 15 secConfigured Hello Time 2 secDynamic Path Cost Disabled Flush Interval 0 centi-sec, Flush Invocations 72 Flush Indication threshold 0Current Root has priority 32768, address 00:02:02:03:04:01cost of root path is 2000Number of Topology Changes 1, Time since topology Change 89 seconds agoTransmit Hold-Count 3Root Times : Max age 20 Sec Forward delay 15 SecPort 45 [Ex0/45] of MST00 is Root , ForwardingEx0/45 is operating in the MSTP ModePort path cost 2000, Port priority 128,Port Identifier 128.45. Port HelloTime 2,Timers: Hello - 1, Forward Delay - 0, Topology Change - 0Designated root has priority 32768, address 00:02:02:03:04:01Designated Bridge has priority 32768, address 00:02:02:03:04:01Designated Port Id is 128.45, Designated pathcost is 0Operational Forward delay 15, Max age 20Received Hello Time 2 SecNumber of Transitions to forwarding State : 1Auto-Edge is enabledPortFast is disabled, Oper-Edge is disabledLink type is point to PointBPDUs : sent 4, recieved 4466Restricted Role is disabled.Restricted TCN is disabled.bpdu-transmit enabledbpdu-receive enabledLoop Guard is disabled

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |