A bridge port was dynamically create, how do I remove the flag?

Long story short, a bridge port was dynamically created, how do I remove the flag? I wish to have things, not dynamic.

How do I simply turn the port static, or not have the dynamic flag?

What do you mean by "a bridge port was dynamically create"?

Where are you seeing what you don't want to see?

[demo@MikroTik] > /interface/bridge/port print 
Flags: I - INACTIVE; H - HW-OFFLOAD
Columns: INTERFACE, BRIDGE, HW, HORIZON, TRUSTED, FAST-LEAVE, BPDU-GUARD, EDGE, POINT-TO-POINT, PVID, FRAME-TYPES
#    INTERFACE  BRIDGE  HW   HORIZON  TRUSTED  FAST-LEAVE  BPDU-GUARD  EDGE  POINT-TO-POINT  PVID  FRAME-TYPES
0  H ether2     bridge  yes  none     no       no          no          auto  auto             200  admit-all  
;;; defconf
1  H ether5     bridge  yes  none     no       no          no          auto  auto               1  admit-all  
;;; defconf
2 I  sfp1       bridge  yes  none     no       no          no          auto  auto               1  admit-all  
[demo@MikroTik] > /interface/bridge/vlan print 
Flags: D - DYNAMIC
Columns: BRIDGE, VLAN-IDS, CURRENT-TAGGED, CURRENT-UNTAGGED
#   BRIDGE  VLAN-IDS  CURRENT-TAGGED  CURRENT-UNTAGGED
0   bridge                                            
;;; added by pvid
1 D bridge  1                         bridge          
                                      ether5          
;;; added by vlan on bridge
2 D bridge  199-200   bridge                          
            210                                       
            999                                       
;;; added by pvid
3 D bridge  200                       ether2          
[demo@MikroTik] > 

Are you asking about the vlan configuration on a bridge-port?

Before going into details, we need to know what you mean, and why you think dynamic is bad and "static" is good.

I don’t think dynamic is “bad” I don’t like the heterogenity, and I like to know that it won’t change.This is the output from port print and shows the flag:

/interface/bridge/port
printFlags: D - DYNAMIC
Columns: INTERFACE, BRIDGE, HW, HORIZON, TRUSTED, FAST-LEAVE, PATH-COST, INTERNAL-PATH-COST, BPDU-> 
#   INTERFACE  BRIDGE  HW   HORIZON  TRUSTED  FAST-LEAVE  PATH-COST  IN  BP  EDGE  POIN  PVID
0   wlan2      MBR          none     no       no                 10  10  no  auto  auto    48
1   wlan1      MBR          none     no       no                 10  10  no  auto  auto    66
2   ether2     MBR     yes  none     no       no                 10  10  no  auto  auto    69
3   ether1     MBR     yes  none     no       no                 10  10  no  auto  auto    24
4   mwlan      MBR          none     no       no                         no  auto  auto    24
5   ether3     MBR     yes  none     no       no                 10  10  no  auto  auto    24
6   ether4     MBR     yes  none     no       no                 10  10  no  auto  auto    66
7   LAN        MBR     yes  none     no       no                 10  10  no  auto  auto    69
8 D ether5     MBR     yes  none     no       no                 10  10  no  auto  auto    69

I have never seen that flag on the output of interface bridge port print.

So I went looking. I have never used the following feature.

Says

Interface lists in VLAN table

Starting from RouterOS version 7.17, you can use interface lists for the tagged and untagged properties in the bridge VLAN table. This change allows for more flexible VLAN assignment to ports by simply modifying the interface list members, rather than updating each bridge VLAN entry individually.

But if you do, the entries will show up as dynamic.

3 Likes

Excellent deduction, ether5 is part of the LAN group but is not in the bridge port list (but ether2 yes)