Bridge level parameter | |
---|---|
default RSTP settings | set protocol rstp brdigebridge-priority 32k 32k set protocol rstp max-age 20 set protocol rstp hello-time 2 set protocol rstp forward-policy 15 |
Edge port | |
Edge port | set 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 Cost based on if speed but [ 1 through 200,000,000 | 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 away | set 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 | 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 Bridge | least-cost path to the root bridge |
root path cost = sum ( root path cost received + port cost ) | to determine to root port on the switch |
...