Set bridge port pvid command

Hi,

I’ve got a CRS328-24P-4S+RM and I went to
/interface bridge port

All devices are automatically in “bridge”
This command fails:

add bridge=bridge1 interface=ether7 hw=yes pvid=30 comment ="IP Cameras"

Given that the bridge already exists. I’ve since changed that ether7 to have a PVID of 30, and be connected to “bridge” instead of “bridge1” in the GUI
I tried to “set” ether7 with

/interface bridge port
set interface=ether7 hw=yes pvid=30 comment ="IP Cameras"

And that fails. Is there any way you can edit the config by setting it, or editing instead of “adding” ?

Try this instead:

/interface bridge port
set [ find interface=ether7 ] hw=yes pvid=30 comment ="IP Cameras"

Awesome. Given ether7 was configured already, I’ve put it as

set [ find interface=ether10 ] hw=yes pvid=30 comment="Testing"

That works pretty well!