Set spantree priority, Clear spantree priority – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 209

Advertising
background image

set spantree priority

D-Series CLI Reference 6-17

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 6‐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

Defaults

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

Mode

Switch command, read‐write.

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.

Advertising
This manual is related to the following products: