Community discussions

MikroTik App
 
neoprogger
just joined
Topic Author
Posts: 15
Joined: Tue May 10, 2016 7:55 pm

BUG? export for interface bridge vlan not correct

Tue Aug 14, 2018 5:46 pm

Hi,
Currently using 6.42.6 on a CRS317-1G-16S+.
Configured vlans in the bridge menu, everything ok.
Now I wanted to backup my configuration and ran a /export.
But it's missing the current-tagged and current-untagged configuration!
/interface bridge vlan
add bridge=br-VLAN tagged=sfp-sfpplus1,sfp-sfpplus2,sfp-sfpplus3,sfp-sfpplus4,sfp-sfpplus5,sfp-sfpplus6,sfp-sfpplus7,sfp-sfpplus8,sfp-sfpplus9,sfp-sfpplus10,sfp-sfpplus11,sfp-sfpplus12,sfp-sfpplus13,sfp-sfpplus14,sfp-sfpplus15,sfp-sfpplus16,ether1,br-VLAN vlan-ids=\
    15,13,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,2550,2551
[admin@cs] /interface bridge vlan> print             
Flags: X - disabled, D - dynamic 
 #   BRIDGE                                                                         VLAN-IDS  CURRENT-TAGGED                                                                         CURRENT-UNTAGGED                                                                        
 0   br-VLAN                                                                        15        br-VLAN                                                                                vlan80-Management                                                                       
                                                                                    13        sfp-sfpplus2                                                                          
                                                                                    10        sfp-sfpplus3                                                                          
                                                                                    20        sfp-sfpplus5                                                                          
                                                                                    30        sfp-sfpplus6                                                                          
                                                                                    40        sfp-sfpplus7                                                                          
                                                                                    50        sfp-sfpplus8                                                                          
                                                                                    60        sfp-sfpplus9                                                                          
                                                                                    70        sfp-sfpplus1                                                                          
                                                                                    80        sfp-sfpplus10                                                                         
                                                                                    90       
                                                                                    100      
                                                                                    110      
                                                                                    120      
                                                                                    130      
                                                                                    140      
                                                                                    150      
                                                                                    2550     
                                                                                    2551     
 1 D br-VLAN                                                                        1                                                                                                sfp-sfpplus10
After importing the exported line:
/interface bridge vlan> print
Flags: X - disabled, D - dynamic
 #   BRIDGE                                                                    VLAN-IDS  CURRENT-TAGGED                                                                   CURRENT-UNTAGGED
 0   br-VLAN                                                                   15
                                                                               13
                                                                               10
                                                                               20
                                                                               30
                                                                               40
                                                                               50
                                                                               60
                                                                               70
                                                                               80
                                                                               90
                                                                               100
                                                                               110
                                                                               120
                                                                               130
                                                                               140
                                                                               150
                                                                               2550
                                                                               2551

Any hints?

Thanks
 
User avatar
artz
MikroTik Support
MikroTik Support
Posts: 88
Joined: Tue Oct 17, 2017 5:51 pm
Location: Riga
Contact:

Re: BUG? export for interface bridge vlan not correct

Tue Aug 14, 2018 5:57 pm

The current-* values under /interface bridge vlan are dynamic values, they are generated based on your PVID and untagged ports. These dynamic values should only be used for monitoring purposes.
 
neoprogger
just joined
Topic Author
Posts: 15
Joined: Tue May 10, 2016 7:55 pm

Re: BUG? export for interface bridge vlan not correct

Tue Aug 14, 2018 6:10 pm

Hi,
Thanks, but my fault was I didn't enable the VLAN Filtering! when enabled it showed correctly