Files
bf-infra/switch/cli/02-vlan-names.cli
Christoph Emsenhuber a73db06354 Phase A complete: VLAN DB + names + handover
- HANDOVER.md: full delegation doc (Status, Architektur, Phasen, Gotchas)
- switch/cli/backup.exp: show running-config mit --More-- handling
- switch/cli/02-vlan-names.cli/exp: set VLAN names (MAIN/INFRA/IOT/UNTRUSTED/GUEST/MGMT/WAN)
- switch/cli/running-PRE.txt: pre-changes config backup (networkmask-Syntax bestaetigt)
- switch/cli/02-vlan-names.log: verifikations-Output (show vlan)

VLAN-DB jetzt: 1, 10, 20, 30, 40, 90, 99, 100 (alle benannt, alle Static)
Alle Ports weiterhin in VLAN 1 (non-disruptiv).
save: Success

Switch-Recovery: Telnet-VTY-Lockout (stale Session) erforderte User-Reboot
  des Switches. Credentials OK, WebUI ebenfalls blockiert (Session-Drop).
  Nach Reboot funktioniert Telnet ueber plain pipe UND expect.
2026-06-09 18:55:43 +02:00

31 lines
566 B
Plaintext

# === BF Core-Switch sw1 (ALL-SG8316M, FW 2.2.1) — VLAN-Namen setzen ===
# Reproduzierbar: . switch/.secrets && expect switch/cli/02-vlan-names.exp
# NON-DISRUPTIV: benennt nur die bereits angelegten VLANs (aus 01-vlan-db.cli);
# ändert KEINE Port-Zugehörigkeit.
# VID-Plan: 10=MAIN 20=INFRA 30=IOT 40=UNTRUSTED 90=GUEST 99=MGMT 100=WAN
configure
vlan 10
name MAIN
exit
vlan 20
name INFRA
exit
vlan 30
name IOT
exit
vlan 40
name UNTRUSTED
exit
vlan 90
name GUEST
exit
vlan 99
name MGMT
exit
vlan 100
name WAN
exit
end
save
show vlan