set port spantree priority

Last Updated : Nov 06, 2012 |

Sets the Spanning Tree priority level of a port. This value defines the priority of a port to be blocked in case two ports with the same cost cause a loop.

Syntax

set port spantree priority module/port value

Parameters

Parameter

Description

Possible Values

Default Value

module

The module number

port

The port number

value

Number representing the priority of the port. 0 is the highest priority. A port with a lower priority will be blocked.

0-240 (in multiples of 16)

128

User level

read-write

Context

general

Example

To set the priority for port 6/5 to 128:

Gxxx-001# set port spantree priority 6/5 128
port 6/5 spantree priority is 128