Skip to main content
Version: 7.26

wifi


interface/wifi​

Type: Directory

Wi-Fi interfaces: one interface per radio (the master) and virtual interfaces on top of it. Settings come from the profiles the interface uses (configuration, security, channel and others) or from inline parameters such as configuration.ssid, and a value on the interface wins over a profile. Interfaces of a network are dynamic and cannot be changed here. See WiFi.

FlagNameDescription
MmasterMaster interface: a radio interface of this router, or of a CAP that this CAPsMAN manages. Virtual interfaces do not have it.
DdynamicDynamic interface, created by RouterOS, for example for a network. Interfaces of a network show D: the N flag shares the print column with D.
NnetworkThe interface belongs to a network. In print it shares the column with D, and network interfaces show D.
BboundBound: a master interface that the Wi-Fi manager can use, or a virtual interface whose master interface is bound, when neither of them is disabled.
XdisabledThe interface is disabled.
IinactiveInactive: the configuration is not applied yet. An AP clears it when it has selected a channel, a station when it has connected to a matching AP.
RrunningRunning: the interface has a link to another device. With disable-running-check=yes, it is set whenever the interface is not disabled.
ArgumentTypeDescription
configuration ( unset )enumConfiguration profile of the interface.
security ( unset )enumSecurity profile of the interface.
interworking ( unset )enumInterworking profile of the interface.
datapath ( unset )enumDatapath profile of the interface.
channel ( unset )enumChannel profile of the interface.
aaa ( unset )enumAAA profile of the interface.
steering ( unset )enumSteering profile of the interface.
namestringName of the interface. Default: wifiN, with N the lowest number not yet used.
mtu ( unset )numLayer 3 MTU, 32..2290. Default: 1500.
l2mtu ( unset )numLayer 2 MTU, 32..2290.
mac-addressmacAddrMAC address (BSSID) of the interface. Master interfaces default to the MAC address of the radio. Virtual interfaces default to the MAC address of the master interface with the locally administered bit (second-least-significant bit of the first octet) set, and the last octet increased when needed to avoid another interface's address.
arp ( unset )enum (disabled | enabled | proxy-arp | reply-only | local-proxy-arp)

Address Resolution Protocol mode.

  • enabled (default) - The interface uses ARP.
  • disabled - The interface does not use ARP.
  • proxy-arp - The router answers ARP requests on the interface for addresses on other interfaces.
  • local-proxy-arp - The router answers ARP requests on the interface for addresses on the same interface.
  • reply-only - The interface answers only requests that match static ARP entries and adds no dynamic entries.
arp-timeoutalt { arp-timeout: enum (auto) { auto:0 } , arp-timeout: time }How long a dynamic ARP entry stays valid after the last packet from its IP address. auto uses arp-timeout of /ip/settings, which defaults to 30s. Default: auto.
disable-running-check ( unset )bool

How the running flag is set.

  • yes - Running whenever the interface is not disabled.
  • no (default) - Running only when the interface has a link to another device.
radio-mac ( unset )macAddrMAC address of the radio. A master interface is bound to the radio with this MAC address.
master-interface ( unset )iface_enumMaster interface of the radio this virtual interface runs on. A radio runs several interfaces, and its master interface decides the radio state (enabled, frequency and so on). Virtual interfaces are bound to the master interface. Default: none.
mld-name ( unset )stringUnique name of the MLD (multi-link device) for this interface; an interface with mld-name is an MLD interface, which interfaces of the radios join with mld-interface. See Multi-Link Operation.
mld-interface ( unset )iface_enumMLD interface this radio interface is a link of. Its SSID and security have to match the MLD interface.
test.dfs.ignore-radar ( unset syscap=dfstest)bool
test.dfs.ignore-cac ( unset syscap=dfstest)bool
test.dfs.duty-cycle ( unset syscap=dfstest)bool
configuration.mode ( unset )enum (ap)
configuration.ssid ( unset )string
configuration.hide-ssid ( unset )bool
configuration.max-sta-count ( unset )num
configuration.multicast-helper ( unset )enum (default | disabled | full | dhcp) { default:0, disabled:1, full:2, dhcp:3 }
configuration.tx-chains ( unset )ubit (0, 1, 2, 3)
configuration.rx-chains ( unset )ubit (0, 1, 2, 3)
configuration.guard-interval ( unset )enum (any | long) { any:0, long:1 }
configuration.country ( unset )enum
configuration.installation ( unset )enum (any | indoor | outdoor)
configuration.load-balancing-group ( unset )enum
configuration.distance ( unset )enum (indoors | dynamic) { indoors:0, dynamic:0xffffffff }
configuration.hw-retries ( unset )num
configuration.hw-protection-mode ( unset )enum (none | rts-cts | cts-to-self) { none:0, rts-cts:1, cts-to-self:2 }
configuration.hw-protection-threshold ( unset )num
configuration.frame-lifetime ( unset )time
configuration.disconnect-timeout ( unset )time
configuration.keepalive-frames ( unset )enum (enabled | disabled)
configuration.ssid ( unset )stringSets ssid of the configuration profile directly on this interface.
configuration.mode ( unset )enum (ap | station | station-bridge | station-pseudobridge)Sets mode of the configuration profile directly on this interface.
configuration.hide-ssid ( unset )boolSets hide-ssid of the configuration profile directly on this interface.
configuration.beacon-interval ( unset )timeSets beacon-interval of the configuration profile directly on this interface.
configuration.dtim-period ( unset )numSets dtim-period of the configuration profile directly on this interface.
configuration.multicast-enhance ( unset )enum (disabled | enabled) { disabled:0, enabled:1 }Sets multicast-enhance of the configuration profile directly on this interface.
configuration.qos-classifier ( unset )enum (priority | dscp-high-3-bits) { priority:0, dscp-high-3-bits:1 }Sets qos-classifier of the configuration profile directly on this interface.
configuration.station-roaming ( unset )boolSets station-roaming of the configuration profile directly on this interface.
configuration.max-clients ( unset )numSets max-clients of the configuration profile directly on this interface.
configuration.hw-protection-mode ( unset )enum (none | rts-cts | cts-to-self)Sets hw-protection-mode of the configuration profile directly on this interface.
configuration.country ( unset )enumSets country of the configuration profile directly on this interface.
configuration.chains ( unset )ubit (0, 1, 2, 3, 4, 5, 6, 7)Sets chains of the configuration profile directly on this interface.
configuration.tx-chains ( unset )ubit ()Sets tx-chains of the configuration profile directly on this interface.
configuration.tx-power ( unset )numSets tx-power of the configuration profile directly on this interface.
configuration.antenna-gain ( unset )numSets antenna-gain of the configuration profile directly on this interface.
configuration.distance ( unset )numSets distance of the configuration profile directly on this interface.
configuration.installation ( unset )enum (outdoor | indoor)Sets installation of the configuration profile directly on this interface.
security.encryption ( unset )ubit (tkip, ccmp, gcmp, ccmp-256, gcmp-256)Sets encryption of the security profile directly on this interface.
security.group-encryption ( unset )enum (tkip | ccmp | gcmp | ccmp-256 | gcmp-256)Sets group-encryption of the security profile directly on this interface.
security.group-key-update ( unset )timeSets group-key-update of the security profile directly on this interface.
security.passphrase ( unset )stringSets passphrase of the security profile directly on this interface.
security.multi-passphrase-group ( unset )enumSets multi-passphrase-group of the security profile directly on this interface.
security.disable-pmkid ( unset )boolSets disable-pmkid of the security profile directly on this interface.
security.management-protection ( unset )enum (disabled | allowed | required)Sets management-protection of the security profile directly on this interface.
security.beacon-protection ( unset )enum (disabled | enabled)Sets beacon-protection of the security profile directly on this interface.
security.management-encryption ( unset )enum (cmac | gmac | cmac-256 | gmac-256)Sets management-encryption of the security profile directly on this interface.
security.wps ( unset )enum (disable | push-button)Sets wps of the security profile directly on this interface.
security.dh-groups ( unset )ubit (19, 20, 21)Sets dh-groups of the security profile directly on this interface.
security.sae-anti-clogging-threshold ( unset )numSets sae-anti-clogging-threshold of the security profile directly on this interface.
security.sae-max-failure-rate ( unset )numSets sae-max-failure-rate of the security profile directly on this interface.
security.sae-pwe ( unset )enum (hunting-and-pecking | hash-to-element | both)Sets sae-pwe of the security profile directly on this interface.
security.owe-transition-interface ( unset )iface_enum { auto }Sets owe-transition-interface of the security profile directly on this interface.
security.eap-methods ( unset )multi { array-id, method: enum (tls | ttls | peap) { tls:13, ttls:21, peap:25 } }Sets eap-methods of the security profile directly on this interface.
security.eap-certificate-mode ( unset )enum (verify-certificate | dont-verify-certificate | no-certificates | verify-certificate-with-crl)Sets eap-certificate-mode of the security profile directly on this interface.
security.eap-tls-certificate ( unset )enumSets eap-tls-certificate of the security profile directly on this interface.
security.eap-username ( unset )stringSets eap-username of the security profile directly on this interface.
security.eap-anonymous-identity ( unset )stringSets eap-anonymous-identity of the security profile directly on this interface.
security.eap-password ( unset )stringSets eap-password of the security profile directly on this interface.
security.eap-accounting ( unset )boolSets eap-accounting of the security profile directly on this interface.
security.ft ( unset )boolSets ft of the security profile directly on this interface.
security.ft-mobility-domain ( unset )numSets ft-mobility-domain of the security profile directly on this interface.
security.ft-over-ds ( unset )boolSets ft-over-ds of the security profile directly on this interface.
security.ft-reassociation-deadline ( unset )timeSets ft-reassociation-deadline of the security profile directly on this interface.
security.ft-nas-identifier ( unset )stringSets ft-nas-identifier of the security profile directly on this interface.
security.ft-r0-key-lifetime ( unset )timeSets ft-r0-key-lifetime of the security profile directly on this interface.
security.ft-preserve-vlanid ( unset )boolSets ft-preserve-vlanid of the security profile directly on this interface.
security.connect-group ( unset )stringSets connect-group of the security profile directly on this interface.
security.connect-priority ( unset )super { connect-accept-priority: num , [connect-hold-priority] /num }Sets connect-priority of the security profile directly on this interface.
security.authentication-types ( unset )ubit (wpa-psk, wpa2-psk, wpa2-psk-sha2, wpa-eap, wpa2-eap, wpa3-psk, wpa3-psk-gd, owe, wpa3-eap, wpa3-eap-192)Sets authentication-types of the security profile directly on this interface.
interworking.network-type ( unset )enum (private | private-with-guest | public-chargeable | public-free | personal-device | emergency-only | test | wildcard) { private:0, private-with-guest:1, public-chargeable:2, public-free:3, personal-device:4, emergency-only:5, test:14, wildcard:15 }Sets network-type of the interworking profile directly on this interface.
interworking.internet ( unset )boolSets internet of the interworking profile directly on this interface.
interworking.esr ( unset )boolSets esr of the interworking profile directly on this interface.
interworking.uesa ( unset )boolSets uesa of the interworking profile directly on this interface.
interworking.venue ( unset )enum (unspecified | disabled) { unspecified:0, disabled:0xffffffff }Sets venue of the interworking profile directly on this interface.
interworking.hessid ( unset )macAddrSets hessid of the interworking profile directly on this interface.
interworking.hotspot20 ( unset )boolSets hotspot20 of the interworking profile directly on this interface.
interworking.hotspot20-dgaf ( unset )boolSets hotspot20-dgaf of the interworking profile directly on this interface.
interworking.roaming-ois ( unset )multi { array-id, roaming-oi: string }Sets roaming-ois of the interworking profile directly on this interface.
interworking.venue-names ( unset )object { venue-name: composite { venue-name-name: string , venue-name-lang: string } }Sets venue-names of the interworking profile directly on this interface.
interworking.authentication-types ( unset )object { authentication-type: composite { authentication-type-indicator: enum (terms-and-conditions | online-enrollment | https-redirection | dns-redirection) { terms-and-conditions:0, online-enrollment:1, https-redirection:2, dns-redirection:3 } , authentication-type-url: string } }Sets authentication-types of the interworking profile directly on this interface.
interworking.ipv4-availability ( unset )enum (not-available | public | port-restricted | single-nated | double-nated | port-restricted-single-nated | port-restricted-double-nated | unknown) { not-available:0, public:1, port-restricted:2, single-nated:3, double-nated:4, port-restricted-single-nated:5, port-restricted-double-nated:6, unknown:7 }Sets ipv4-availability of the interworking profile directly on this interface.
interworking.ipv6-availability ( unset )enum (not-available | available | unknown) { not-available:0, available:1, unknown:2 }Sets ipv6-availability of the interworking profile directly on this interface.
interworking.realms ( unset )object { realm: composite { realm-name: string , realm-auth: enum (not-specified | eap-sim | eap-tls | eap-aka) } }Sets realms of the interworking profile directly on this interface.
interworking.realms-raw ( unset )multi { array-id, realm-raw: string }Sets realms-raw of the interworking profile directly on this interface.
interworking.3gpp-info ( unset )object { 3gpp: composite { 3gpp-mcc: string , 3gpp-mnc: string } }Sets 3gpp-info of the interworking profile directly on this interface.
interworking.3gpp-info-raw ( unset )stringSets 3gpp-info-raw of the interworking profile directly on this interface.
interworking.domain-names ( unset )multi { array-id, domain-name: string }Sets domain-names of the interworking profile directly on this interface.
interworking.operator-names ( unset )object { operator-name: composite { operator-name-name: string , operator-name-lang: string } }Sets operator-names of the interworking profile directly on this interface.
interworking.wan-status ( unset )enum (reserved | up | down | test) { reserved:0, up:1, down:2, test:3 }Sets wan-status of the interworking profile directly on this interface.
interworking.wan-symmetric ( unset )boolSets wan-symmetric of the interworking profile directly on this interface.
interworking.wan-at-capacity ( unset )boolSets wan-at-capacity of the interworking profile directly on this interface.
numSets wan-downlink of the interworking profile directly on this interface.
numSets wan-uplink of the interworking profile directly on this interface.
numSets wan-downlink-load of the interworking profile directly on this interface.
numSets wan-uplink-load of the interworking profile directly on this interface.
interworking.wan-measurement-duration ( unset )numSets wan-measurement-duration of the interworking profile directly on this interface.
interworking.connection-capabilities ( unset )object { connection-cap: composite { protocol: num , connection-cap2: composite { port: num , status: enum (closed | open | unknown) { closed:0, open:1, unknown:2 } } } }Sets connection-capabilities of the interworking profile directly on this interface.
interworking.operational-classes ( unset )multi { array-id, operational-class: num }Sets operational-classes of the interworking profile directly on this interface.
datapath.bridge ( unset )iface_enum { none }Sets bridge of the datapath profile directly on this interface.
datapath.bridge-cost ( unset )numSets bridge-cost of the datapath profile directly on this interface.
datapath.bridge-horizon ( unset )numSets bridge-horizon of the datapath profile directly on this interface.
datapath.openflow-switch ( unset syscap=openflow)enumSets openflow-switch of the datapath profile directly on this interface.
datapath.client-isolation ( unset )boolSets client-isolation of the datapath profile directly on this interface.
datapath.traffic-processing ( unset )enum (on-cap | on-capsman | on-capsman-secure)Sets traffic-processing of the datapath profile directly on this interface.
datapath.vlan-id ( unset )numSets vlan-id of the datapath profile directly on this interface.
datapath.interface-list ( unset )enumSets interface-list of the datapath profile directly on this interface.
datapath.batman-adv ( unset )iface_enum { none }Sets batman-adv of the datapath profile directly on this interface.
channel.frequency ( unset )objectSets frequency of the channel profile directly on this interface.
channel.secondary-frequency ( unset )multi { array-id, secondary-frequency: alt { secondary-frequency-disable: enum (disabled) , secondary-frequency-num: num } }Sets secondary-frequency of the channel profile directly on this interface.
channel.band ( unset )enum (60ghz-ad | 5ghz-a | 5ghz-n | 5ghz-ac | 5ghz-ax | 5ghz-be | 2ghz-g | 2ghz-n | 2ghz-ax | 2ghz-be | s1ghz-ah | 6ghz-ax | 6ghz-be)Sets band of the channel profile directly on this interface.
channel.width ( unset )enum (20mhz | 20/40mhz | 20/40mhz-Ce | 20/40mhz-eC | 20/40/80mhz | 20/40/80+80mhz | 20/40/80/160mhz | 20/40/80/160/320mhz | 1mhz | 1/2mhz | 1/2/4mhz | 1/2/4/8mhz | 1080mhz | 2160mhz)Sets width of the channel profile directly on this interface.
channel.skip-dfs-channels ( unset )enum (disabled | all | 10min-cac)Sets skip-dfs-channels of the channel profile directly on this interface.
channel.deprioritize-unii-3-4 ( unset )boolSets deprioritize-unii-3-4 of the channel profile directly on this interface.
channel.reselect-interval ( unset )super { reselect-interval-min: time [1 .. 60*60*24*300] , [reselect-interval-max] ..time [1 .. 60*60*24*300] }Sets reselect-interval of the channel profile directly on this interface.
channel.reselect-time ( unset )super { reselect-time-min: date , [reselect-time-max] ..date }Sets reselect-time of the channel profile directly on this interface.
channel.preamble-puncturing ( unset )alt { preamble-puncturing: enum (yes | no) { yes:-1, no:0 } }Sets preamble-puncturing of the channel profile directly on this interface.
channel.afc ( unset )boolSets afc of the channel profile directly on this interface.
aaa.username-format ( unset )stringSets username-format of the AAA profile directly on this interface.
aaa.password-format ( unset )stringSets password-format of the AAA profile directly on this interface.
aaa.called-format ( unset )stringSets called-format of the AAA profile directly on this interface.
aaa.calling-format ( unset )stringSets calling-format of the AAA profile directly on this interface.
aaa.mac-caching ( unset )alt { mac-caching-disable: enum (disabled) { disabled:0 } , mac-caching-time: time }Sets mac-caching of the AAA profile directly on this interface.
aaa.interim-update ( unset )alt { interim-update-disable: enum (disabled) { disabled:0 } , interim-update-time: time [1 .. ] }Sets interim-update of the AAA profile directly on this interface.
aaa.nas-identifier ( unset )stringSets nas-identifier of the AAA profile directly on this interface.
steering.neighbor-group ( unset )multi { array-id, neighbor-group: string }Sets neighbor-group of the steering profile directly on this interface.
steering.rrm ( unset )boolSets rrm of the steering profile directly on this interface.
steering.wnm ( unset )boolSets wnm of the steering profile directly on this interface.
steering.2g-probe-delay ( unset )boolSets 2g-probe-delay of the steering profile directly on this interface.
steering.transition-threshold ( unset )numSets transition-threshold of the steering profile directly on this interface.
steering.transition-threshold-time ( unset )timeSets transition-threshold-time of the steering profile directly on this interface.
steering.transition-request-period ( unset )timeSets transition-request-period of the steering profile directly on this interface.
steering.transition-request-count ( unset )numSets transition-request-count of the steering profile directly on this interface.
steering.transition-time ( unset )alt { value: enum (unlimited | immediate) { unlimited:-1, immediate:0 } , time: time }Sets transition-time of the steering profile directly on this interface.
Read-only ArgumentTypeDescription
default-namestringDefault name of the interface.
capstringOn a CAPsMAN, the CAP that the interface belongs to, when it is not an interface of this router.