routeros-legacy-wireless
RouterOS v7 legacy wireless package (`wireless`): /interface/wireless radios, legacy CAPsMAN (/caps-man) and 60 GHz W60G (/interface/w60g). Use when: a device runs the wireless package instead of wifi
SKILL.mdrouteros-legacy-wireless/SKILL.md
GitHubRouterOS Legacy Wireless (wireless package)
One skill for everything the legacy wireless package provides on RouterOS 7:
| Menu | What it is | Where in this skill |
|---|---|---|
/interface/wireless |
Legacy 802.11a/b/g/n/ac radio driver | Which package |
/caps-man |
Legacy CAPsMAN controller | Legacy CAPsMAN |
/interface/w60g |
60 GHz (802.11ad) links | W60G and references/w60g.md |
The wifi-* packages (wifi-qcom, wifi-qcom-ac, earlier wifiwave2) are a separate stack
with /interface/wifi and their own integrated CAPsMAN under /interface/wifi/capsman. They
are out of scope here; see MikroTik's WiFi
docs. The two stacks don't share menus or configuration, so never mix their commands.
Which package: wireless or wifi-*
- A device runs one driver package for its built-in radios, not both. Only devices on
MikroTik's Wi-Fi 5 driver list can
swap
wirelessforwifi-qcom-ac; check that list before suggesting the swap. /interface/w60gexists only withwireless. The 60 GHz Cube 60Pro family is not on thewifi-qcom-aclist, and its 5 GHz radio runs aswlan1under/interface/wireless(WPA2, no WPA3).- Offline command trees built from CHR have no
/interface/w60g, and a CHR has no radios to test against, so offline validation can't catch mistakes here. Test on the device.
Legacy CAPsMAN (/caps-man)
Covers /caps-man, the controller in the wireless package. Its CAPs run legacy
/interface/wireless radios. The newer CAPsMAN in /interface/wifi/capsman belongs to the
wifi-* packages and has a different menu tree, though the same one-time provisioning idea.
The core gotcha: provisioning is one-time, not live
"Provision must be done only initially, and is done automatically upon CAP joining if there are matching provisioning rules that are enabled. If you adjust any configuration profile that is linked to the provisioned interface, all changes will be 'pushed' as soon as you apply changes to the profile, with no need to re-create the already existing interface. Provisioning itself is not for sending configuration, it is for essentially creating a new interface. In most cases, there is no reason to perform manual provisioning once you already have CAP interfaces running." — WiFi CAPsMAN docs (the note applies equally to legacy
/caps-man; confirmed by reproducing the behavior below on RouterOS 7.21.3)
This has two practical consequences agents get wrong:
- Editing
/caps-man/provisioning(changing whichmaster-configurationaradio-macrule points to) does nothing to already-provisioned/bound interfaces. The provisioning table is only consulted when a radio is first matched — an already-bound/caps-man/interfacekeeps whateverconfigurationit was created with, forever, until something forces it to re-provision. - Editing the properties of a
/caps-man/configuration(or the/caps-man/channelprofile it references) that an interface is already bound to DOES push live, with zero disruption. No reprovisioning, no client drop.
Implication: if the goal is "change the channel width / frequency / tx-power CAPs are already running with," edit the existing profile in place — don't repoint the provisioning rule to a different profile name and expect it to take effect.
# WRONG for changing already-running radios: repointing provisioning does nothing until next CAP join
/caps-man/provisioning/set [find radio-mac=02:00:00:00:01:05] master-configuration=cfg_5g_5220
# RIGHT: edit the profile the radio is already bound to — pushes live, no drop
/caps-man/configuration/set [find name=cfg_5g_5220_40] channel=cfg_5g_5220
# or edit the channel profile directly:
/caps-man/channel/set [find name=ch_5220_40] extension-channel=disabled control-channel-width=20mhz
Forcing a real re-provision (when you actually need one)
If you do need a radio to re-run provisioning-rule matching (e.g., you want it to pick up a different configuration by name, not just edited properties), there are built-in commands for exactly this — no need to disable/remove anything:
/caps-man/radio/provision [find radio-mac="02:00:00:00:02:0C"]
/caps-man/remote-cap/provision [find name="[02:00:00:00:02:09]"]
Do not reach for /caps-man/interface disable+enable or /caps-man/interface remove to force a rebind — see the next section for why remove in particular causes
collateral damage.
Collateral damage: removing an interface orphans access-list rules
/caps-man/access-list rules reference their interface= field by internal object
ID, not by a live name lookup. If you /caps-man/interface remove an interface — even
to immediately recreate one with the identical name via /caps-man/interface add — any
access-list rule that pointed at the deleted interface becomes a dangling reference. The
rule is not deleted and does not error; it silently stops matching anything.
Detecting it: the rule's interface= field prints as a raw internal hex id instead
of a name:
[admin@capsman] /caps-man/access-list> print terse
8 comment=ap-a-5g: accept > -75dBm interface=*92 signal-range=-75..0 action=accept
Compare to a healthy rule on an interface that was never removed:
0 comment=ap-b-5g: accept > -75dBm interface=AP-B 5GHz signal-range=-75..0 action=accept
interface=*92 (a bare *hex) instead of a quoted/plain interface name is the tell.
Every client that would have matched that rule instead falls through to whatever the
next matching rule is — commonly a catch-all action=accept at the bottom of the list —
which silently disables signal-based roaming enforcement for that interface. In a
multi-AP deployment this shows up as one AP accumulating far more clients than its
neighbors (weak-signal clients that should have been rejected and forced to roam never
get rejected).
Fix: point the orphaned rule at the current interface in place. Setting the one field keeps the rule's position (the list is checked top-down until the first match) and every other property on it (MAC, time, VLAN, forwarding and other overrides):
/caps-man/access-list set [find comment="ap-a-5g: accept > -75dBm"] interface="AP-A 5GHz"
If you rebuild a rule instead, copy all of its properties from print detail and add it
with place-before= the old rule before removing that one; a rule appended below a
catch-all accept never matches.
Prevention: avoid /caps-man/interface remove on a live interface entirely. Use
/caps-man/radio/provision (above) to force a rebind, or edit the bound configuration
profile in place. Reserve remove for interfaces you intend to delete permanently.
Diagnosing wide-channel regressions in dense multi-AP deployments
A recurring failure pattern in CAPsMAN networks with many APs on a narrow band (e.g. 9-10
APs sharing UNII-1 5GHz with skip-dfs-channels=yes): someone (a well-meaning admin
trying to give one overloaded AP more per-client throughput, or a config left over from
troubleshooting) creates _40-style configuration/channel profiles with
extension-channel set to eC/Ce/eeCe/etc. (40MHz+ effective width) and either adds
new provisioning rules for them or edits existing ones. Symptom: general network-wide
wireless slowness returns after being previously fixed, because 20MHz-wide neighbor APs
now overlap with a 40MHz+ neighbor.
Quick audit:
/caps-man/channel/print detail
# any entry with extension-channel != disabled is a candidate suspect
/caps-man/provisioning/print detail
# cross-check which radio-mac rules point at a *_40 (or any non-disabled-extension) configuration
Widening a specific AP's channel does not reliably fix client overload on that AP —
it fixes per-client peak throughput at the cost of interference with every neighboring
AP on an overlapping frequency. If the real problem is one AP accumulating too many
clients, the fix is the access-list signal-range roaming thresholds (tighten the
accept/weak -> roam signal-range split for that interface), not channel width — see
the collateral-damage section above for how those rules can silently stop working after
an interface rebuild.
W60G (60 GHz)
60 GHz gear is a short, very fast, line-of-sight bridge in its own menu, /interface/w60g.
The details, grounded on a CubeSA 60Pro ac AP with Cube 60Pro ac stations on 7.24.4, are in
references/w60g.md. The points agents most often get wrong:
ap-bridge(point-to-multipoint, more than one station needs license level 4),bridge(point-to-point end) andstation-bridge(client end; carries VLANs).- On the AP, each station gets a saved
wlan60-station-Ninterface, added to the bridge as a dynamic port byput-stations-in-bridge. Because the interfaces themselves are not dynamic, a bridge VLAN entry withtagged=ether1,dynamicnever tags them; usetagged=ether1,all(interface lists in bridge VLANs need 7.17+; on older versions, name thewlan60-station-Ninterfaces explicitly). - The 5 GHz backup is an active-backup bond of
wlan60-1andwlan1on each station. Failover took 0.2–0.3 s with two-way traffic but about 13 s with inbound-only traffic, and failback lost 2–18 s even withup-delay=20s. Treat it as "keeps the site up", not hitless. - A station cabled to the same switch as its AP makes an L2 loop as soon as it links.
Related
- For general RouterOS CLI/REST fundamentals, see the
routeros-fundamentalsskill. - For scripting idioms (
[find],:local, idempotent config), see therouteros-scriptingskill. - To arm etherboot on a device with no reachable reset button (as on mounted Cubes), see
the
routeros-netinstallskill. - Official docs: CAPsMAN,
AP Controller (CAPsMAN),
W60G,
WiFi CAPsMAN (newer
/interface/wifistack — different menu tree, same one-time-provisioning concept).