set protocols spanning-tree pvst vlan bridge-priority


The set protocols spanning-tree pvst vlan bridge-priority command sets the bridge priority the switching device when Rapid-PVST+ is running.


Command Syntax

set protocols spanning-tree pvst vlan <vlan-id> bridge-priority <bridge-priority>


Parameter

Parameter

Description

vlan <vlan-id>

Specifies the VLAN ID. The value is an integer that ranges from 1 to 4094. A total of 64 VLANs can be enabled for Rapid-PVST+.

bridge-priority <bridge-priority>

Specifies the bridge priority of the switching device for Rapid-PVST+ mode. The value is an integer ranges from 0 to 61440. The default value is 32768.


Usage Guidelines

Priorities of switching devices are an important factor to calculate a spanning tree and determine the selection of the root bridge. The smaller the priority value of a switching device is, the higher the possibility that the switching device is selected as the root bridge.


Example

  • Set the bridge priority the switching device to 55 for Rapid-PVST+.
admin@Xorplus# set protocols spanning-tree pvst vlan 5 bridge-priority 55
admin@Xorplus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.