Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




default RSTP settings

set protocol rstp brdige-priority 32k

set protocol rstp max-age 20

set protocol rstp hello-time 2

set protocol rstp forward-policy 15

Edge portset protocol rstp interface ge-0/0/2.0 edge

By default, the interface link cost is determined by the link speed.

to control which bridge is the designated bridge
and which port is the designated port:

Cost based on if speed  but [ 1 through 200,000,000 

Link

set protocol rstp interface ge-0/0/13.0 cost 20,000

set protocol rstp interface ge-0/0/13.0 mode point-to-point

interface priority to control which interface is elected as the root port.

The interface priority must be set in increments of 16.

The default value is 128.  [ 0 to 240 

Link

set protocol rstp interface ge-0/0/14.0 priority 128

set protocol rstp interface ge-0/0/14.0 mode shared