spanning-tree restricted-role

Restricts the role of the port from becoming a root port.

Syntax

spanning-tree restricted-role
no spanning-tree restricted-role

Command Default

The restricted role is disabled.

Modes

Interface configuration mode

Usage Guidelines

Enter no spanning-tree restricted-role to return to the default setting.

Examples

To configure the port from becoming a root port:

device# configure terminal
device(config)# interface ethernet 1/5 
device(conf-if-eth-1/5)# spanning-tree restricted-role