RouterOS manual

Mac Based Vlan



interface/ethernet/switch/mac-based-vlan

Syscap: musicswitch Type: Directory

MAC Based VLAN table is used to assign a VLAN based on the source MAC.

All CRS1xx/2xx series switches support up to 1024 MAC Based VLAN table entries.

ParameterTypeDescription
Xdisabled
Iinvalid
ParameterTypeDescription
src-mac-address (mandatory)macAddrMatching source MAC address for MAC based VLAN rule.
new-service-vidnumThe new service VLAN ID replaces the original service VLAN ID for matched packets.
new-customer-vidnumThe new customer VLAN ID replaces the original service VLAN ID for matched packets. If set to 4095, then traffic is dropped.

Source

Updated 2026-08-22.