routeros-scripts/doc/accesslist-duplicates.md

56 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2020-03-27 20:39:13 +00:00
Find and remove access list duplicates
======================================
[⬅️ Go back to main README](../README.md)
2020-03-27 20:39:13 +00:00
> **Info**: This script can not be used on its own but requires the base
2022-02-11 22:34:39 +00:00
> installation. See [main README](../README.md) for details.
2020-03-27 20:39:13 +00:00
Description
-----------
This script is supposed to run interactively to find and remove duplicate
entries in wireless access list.
Requirements and installation
-----------------------------
Depending on whether you use `wifi` package (`/interface/wifi`), `wifiwave2`
package (`/interface/wifiwave2`), legacy wifi with CAPsMAN (`/caps-man`)
or local wireless interface (`/interface/wireless`) you need to install a
different script.
2020-03-27 20:39:13 +00:00
For `wifi` (RouterOS 7.13 and later):
$ScriptInstallUpdate accesslist-duplicates.wifi;
For `wifiwave2` (up to RouterOS 7.12):
$ScriptInstallUpdate accesslist-duplicates.wifiwave2;
For legacy CAPsMAN:
2020-03-27 20:39:13 +00:00
$ScriptInstallUpdate accesslist-duplicates.capsman;
For legacy local interface:
2020-03-27 20:39:13 +00:00
$ScriptInstallUpdate accesslist-duplicates.local;
Usage and invocation
--------------------
Run this script from a terminal:
/system/script/run accesslist-duplicates.wifi;
2020-03-27 20:39:13 +00:00
![screenshot: example](accesslist-duplicates.d/01-example.avif)
2020-03-27 20:39:13 +00:00
See also
--------
* [Collect MAC addresses in wireless access list](collect-wireless-mac.md)
---
[⬅️ Go back to main README](../README.md)
[⬆️ Go back to top](#top)