RSTP on Switch with Proxmox

xybo

New Member
Dec 8, 2025
4
0
1
Hi, I have juniper ex2200 switch, on that switch i have proxmox server via two nics, one is MGMT on access port and second is for VMs in trunk mode. On proxmox i have vmbr0(mgmt) and vmbr1(VMs). VMBR1 is configured as vlan-aware, my question is how to configure RSTP on juniper for this trunk port which is connected to vmbr1 bridge? On Cisco there is "portfast trunk" which is "edge" on Juniper but as bridge is a "small switch" Im not sure is it ok tu do this as edge or just leave standard RSTP?
 
here is how i do it in ex2200:
ge-0/0/21 {
description SP1-data;
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {

members [ Server-Vlan Host-Vlan Voice-Vlan Wifi-Vlan ];
 
yes, this how i did it as well but what about spanning-tree? Have you enabled it on that port "set protocols rstp interface ge-0/0/21.0 edge"? I'm not sure how to do this.
 
Hi,

You don’t need to configure RSTP on your Juniper switch for that trunk port. The reason is that the vmbr1 bridge in Proxmox behaves like a simple switch internally, so it doesn’t participate in spanning tree.

What you really need to do is just configure the trunk properly on the Juniper side. If you have multiple links between the switch and Proxmox, you can set up LACP for link aggregation; otherwise, a standard VLAN-aware trunk is sufficient.

RSTP is only necessary if you have vmbr1 connected to the Juniper via two separate interfaces without LACP. In that case, you should enable the option bridge-stp on on the Proxmox bridge.
 
  • Like
Reactions: xybo