I have tried the set and edit command and when I use the add command I get “failure: device already add as bridge port” this makes sense since it is configured, but I want to change or set different parameters now.
Sorry the first command listed was the current configuration. When I try to use the second command it does not work, however I will try one of the options you mentioned now.
I am trying to change some of the parameters of the configuration for that port via terminal. I need to add “frame-types=admit-only-vlan-tagged ingress-filtering=yes” to some of the ports I have configuration now. I know how to do it via WinBox, but I would like to know how to do it via the terminal or cli
Command “set” takes number of parameters but only single one is used as “change settings of this item” and even that parameter is optional (if omitted, command asks for numbers). The rest of parameters are actions. Your example command changes values of the following properties: bridge, interface, frame-types and ingress-filtering.
What you really wanted to execute is this:
/interface bridge port
set [ find bridge=bridge interface=ether9 ] frame-types=admit-only-vlan-tagged ingress-filtering=yes
The construct inside square brackets actually defines which item will get changed (can be multiple items if desired) while the rest of command defines what to be set on applicable items. If you omit that construct (including brackets), then set command asks for numbers.