this post was submitted on 03 Nov 2025
9 points (100.0% liked)

Mikrotik

398 readers
1 users here now

A community-contributed sublemmy for all things Mikrotik. General ISP and network discussion also permitted. Please ensure if you're asking a question you have checked the Wiki First: https://help.mikrotik.com/

Mikrotik Rules: Don't post content that is incorrect or potentially harmful to a router/network.

This in itself is not a bannable offence but answers that are verifiably incorrect or will cause issues for other users will be edited or removed.

Examples: Factual errors - "EOIP is always unsecure" Configuration problems - Config that would disable all physical interfaces on a router Trolling - "Downgrade it to 5.26"

founded 2 years ago
MODERATORS
 

I am trying to create a setup script for configuring router + AP via CAPsMAN, but would like to ask if there is an easy way to clear my settings as I am testing and exploring the setup to clean up the various config changes I am doing to clear the state easier?

I am changing things like

/caps-man datapath
/caps-man configuration
/caps-man provisioning

And others. Is there some way I can just drop all entries from those config paths? Or something like that to tidy up config while I am editing and trying out things?

top 2 comments
sorted by: hot top controversial new old
[โ€“] infeeeee@lemmy.zip 5 points 2 weeks ago* (last edited 2 weeks ago) (1 children)
/caps-man/datapath/remove [find]
/caps-man/configuration/remove [find]
/caps-man/provisioning/remove [find]

In the square brackets you can write something like [find disabled=yes] to remove all disabled entries, but if you just leave it empty it will select all.

[โ€“] OwlPaste@lemmy.world 3 points 2 weeks ago

Brilliant! That did it perfectly! Thanks!