bridge-group vlan
Use this command to assign a Rapid Per-VLAN Spanning Tree (RPVST+) instance to a port.
RPVST+ uses port priority as a tiebreaker to determine which port should forward frames for a particular LAN, or which port should be the root port for a VLAN. A lower value implies a better priority. In the case of the same priority, the interface index serves as the tiebreaker, with a lower-numbered interface being preferred over others.
Use the no parameter with this command to remove an RPVST+ instance from this port.
Command Syntax
bridge-group <1-32> vlan <2-4094>
bridge-group <1-32> vlan <2-4094> path-cost <1-200000000>
bridge-group <1-32> vlan <2-4094> priority <0-240>
no bridge-group <1-32> vlan <2-4094>
no bridge-group <1-32> vlan <2-4094> path-cost
no bridge-group <1-32> vlan <2-4094> priority
Parameters
<1-32>
Bridge group identifier.
<2-4094>
VLAN identifier.
<1-200000000>
Cost of a path associated with the interface.
<0-240>
Port priority. A lower priority indicates greater likelihood of the interface becoming a root. Set the priority only in increments of 16.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth1
(config-if)#bridge-group 1 vlan 10
(config)#interface eth1
(config-if)#bridge-group 1 vlan 10 path-cost 1000
(config-if)#no bridge-group 1 vlan 10 path-cost
(config)#interface eth1
(config-if)#bridge-group 1 vlan 10 priority 240
(config-if)#no bridge-group 1 vlan 10 priority
Last modified date: 07/13/2023