Files
bf-infra/routeros/tp25-infra-vaps-offline.rsc

32 lines
1.8 KiB
Plaintext

# TP25 — dirtyvader-infra offline nehmen (User-Entscheid 2026-08-17).
#
# Begruendung: INFRA-Geraete haengen am Kabel (schon in TP3 als "vertagt, Mgmt
# verkabelt" angelegt). Die SSID hatte auf BEIDEN APs und BEIDEN Baendern
# 0 Clients. Zwei VAPs weniger je AP = weniger Beacon-Airtime.
#
# 🔑 WARUM disable UND NICHT "hidden" (Christophs Rueckfrage):
# Eine versteckte SSID sendet ihr Beacon WEITER — sie laesst nur das
# SSID-Feld darin leer. Verstecken spart also KEINE Airtime, es macht die
# SSID nur unbequemer zu finden (und ist kein Sicherheitsgewinn).
# Airtime spart ausschliesslich das Abschalten der VAP.
#
# Reversibel: disabled=no setzt sie zurueck. sec-infra/dp-infra/cfg-infra
# bleiben bestehen — die Zone ist damit jederzeit ohne Neuaufbau reaktivierbar.
#
# ⚠️ NICHT compliance-ueberwacht: die Sektion /interface wifi hat (Stand
# 2026-08-17) keine Compliance-Rule. Diese Aenderung ist deshalb weder
# Drift noch drift-gesichert — sie faellt unter die offene Luecke aus
# TP25 Schritt 6.
#
# Push (BEIDE APs):
# python3 nautobot/gc-manual-plan.py --device ap2 \
# --commands-file routeros/tp25-infra-vaps-offline.rsc \
# --change-id TP25-infra-offline-ap2 --deploy
# ... dasselbe mit --device ap1
:do { /interface/wifi/set [find name=w2-infra] disabled=yes } on-error={ :log info "tp25i: w2-infra warf" }
:do { /interface/wifi/set [find name=w5-infra] disabled=yes } on-error={ :log info "tp25i: w5-infra warf" }
# Gegenprobe im Log: erwartet aktive-vaps=9 (vorher 11), infra-disabled=true/true
:log info ("tp25i: aktive-vaps=" . [:tostr [:len [/interface/wifi/find where !disabled]]] . " w2infra=" . [:tostr [/interface/wifi/get [find name=w2-infra] disabled]] . " w5infra=" . [:tostr [/interface/wifi/get [find name=w5-infra] disabled]])