![image.png image.png]()
Hello,
I would like to know if it is best practice to implement RSTP in a VC switches. in My design, i have ex3400 switches in a VC and they have uplinks connected towards QFX5110 switches that are also in VC. I would like to prevent loops in my network design. Also i have been investigating through forums/documentation how to implement RSTP in a VC. but i couldnt find the right answer. So I would apreciate some ideas how to aproach this.
1.If i understand correctly Junos does automatic detection of edge ports, when no BPDUs are received. Then this ports are automatically configured as edge ports?
2.Or are all ports non-edge by default unlles you configure them as edge ports. What if u dont want some ports(uplinks) to be edge ports do u leave it as default?
3. so back to my scenario, do i need to add all interfaces manually in ex3400 and QFX as edge port(RSTP) and enabling bdpu-block-on-edge, which will shut down an edge port that receives BPDUs ?. except the uplinks or ae intefaces towards srx?.
EX:
set protocols rstp interface ae2 edge
set protocols rstp interface ae3 edge
set protocols rstp bpdu-block-on-edge
QFX:
set protocols rstp interface xe-1/0/3 edge
set protocols rstp interface xe-2/0/3 edge
set protocols rstp bpdu-block-on-edge
4. what about the uplinks between the EX an QFX?, they should be participating in RSTP cause they will be advertising BPDUs towards each other (non-edge ports). what kind a configuration do i need to include them in the RSTP?, If i use the "mode point-to-point", will it make the uplinks ports as a non-edge ports?, are the ports link not already point-to-point by default?, if so, why do u still need to classify them as point-to-point in the configuration?.
EX:
set protocols rstp interface xe-1/0/0 mode point-to-point
set protocols rstp interface xe-2/0/0 mode point-to-point
QFX:
set protocols rstp interface et-1/0/4 mode point-to-point
set protocols rstp interface et-2/0/4 mode point-to-point
thanks.
Sul