Community discussions

MikroTik App
 
ashpri
Member Candidate
Member Candidate
Topic Author
Posts: 154
Joined: Sun Oct 14, 2018 3:11 am

How to enable VLAN filtering for existing bridge in CLI

Mon Apr 25, 2022 2:34 pm

So I MAC Telnet to a new device, created bridge1 (vlan filtering not enabled at this stage), added bridge vlans, entered other basic setup.

On the very last step of the setup process, I entered:
/interface bridge
add name=bridge1 vlan-filtering=yes
and received the error "failure: already have interface with such name"

How do I enable vlan-filtering for an existing bridge on the CLI?
 
crosswind
newbie
Posts: 46
Joined: Tue Feb 18, 2020 3:47 pm

Re: How to enable VLAN filtering for existing bridge in CLI  [SOLVED]

Mon Apr 25, 2022 2:55 pm

"add" will add a new bridge, which isn't what you want since your bridge already exists.

to change the configuration on an existing item, use "set":
/interface/bridge
set 0 vlan-filtering=yes
replace 0 with the appropriate item number, which you can see in "print".

Who is online

Users browsing this forum: minho, rt480 and 46 guests