beautypg.com

Set spantree priority, Clear spantree priority – Enterasys Networks D-Series User Manual

Page 235

background image

set spantree priority

Enterasys D-Series CLI Reference

8-17

Example

This example shows how to reset the MST configuration identifier elements to default values:

D2(su)->clear spantree mstcfgid

set spantree priority

Use this command to set the device’s Spanning Tree priority. 

Syntax

set spantree priority priority [sid]

Parameters

Defaults

If sid is not specified, priority will be set on Spanning Tree 0.

Mode

Switch command, read‐write.

Usage

The device with the highest priority (lowest numerical value) becomes the Spanning Tree root 
device. If all devices have the same priority, the device with the lowest MAC address will then 
become the root device. Depending on the bridge priority mode (set with the set spantree 
bridgeprioritymode
 command described in 

set spantree bridgeprioritymode

” on page 8‐10, 

some priority values may be rounded up or down.

Example

This example shows how to set the bridge priority to 4096 on SID 1:

D2(su)->set spantree priority 4096 1

clear spantree priority

Use this command to reset the Spanning Tree priority to the default value of 32768.

Syntax

clear spantree priority [sid]

Parameters

priority

Specifies the priority of the bridge. Valid values are from to 61440 (in 
increments of 4096), with 0 indicating highest priority and 61440 
lowest priority.

sid

(Optional) Sets the priority on a specific Spanning Tree. Valid values 
are 0 ‐ 4094. If not specified, SID 0 is assumed.

sid

(Optional) Resets the priority on a specific Spanning Tree. Valid values 
are 0 ‐ 4094. If not specified, SID 0 is assumed.