spanning-tree priority

Changes an interface's spanning-tree port priority.

Syntax

spanning-tree priority priority
no spanning-tree priority

Command Default

The default value is 128.

Parameters

priority
Specifies the interface priority for the spanning tree. The range of valid values is from 0 through 240. Port priority is in increments of 16.

Modes

Interface subtype configuration mode

Usage Guidelines

Enter no spanning-tree priority to return to the default setting.

Examples

To configure the port priority to 16:

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