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.

<ArgTableRow arg="X" typ="disabled"></ArgTableRow> <ArgTableRow arg="I" typ="invalid"></ArgTableRow>

<ArgTableRow arg="src-mac-address" typ="macAddr" mandatory="1">Matching source MAC address for MAC based VLAN rule.</ArgTableRow> <ArgTableRow arg="new-service-vid" typ="num">The new service VLAN ID replaces the original service VLAN ID for matched packets.</ArgTableRow> <ArgTableRow arg="new-customer-vid" typ="num">The new customer VLAN ID replaces the original service VLAN ID for matched packets. If set to 4095, then traffic is dropped.</ArgTableRow>

Source

Updated 2026-08-22.