Versions Compared

Key

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


Bridge level parameter
default RSTP settings

set protocol rstp bridge-priority 32k 

set protocol rstp max-age 20

set protocol rstp hello-time 2

set protocol rstp forward-policy 15

Edge portlisten to BPDU, and will switch to no-edge port if receive BPDU
Edge portset protocol rstp interface ge-0/0/2.0 edge


port cost

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  ( 1G port)

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

link cost change will affect the local switch right awayset protocol rstp interface ge-0/0/13.0 cost 2,000  ( # 10G port)


port priority ( for root path cost calculation )

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







Root path cost , cost from the bridge to the Root Bridgeleast-cost path to the root bridge
root path cost = sum ( root path cost received + port cost )to determine to root port on the switch




...