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.
This commit is contained in:
Christoph Emsenhuber
2026-06-09 18:55:43 +02:00
parent 498fa06472
commit a73db06354
5 changed files with 412 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
spawn telnet 10.40.41.239
Trying 10.40.41.239...
Connected to sw1.fritz.box.
Escape character is '^]'.
Username: claudecode
Password: ************
sw1# configure
sw1(config)# vlan 90
sw1(config-vlan)# name GUEST
sw1(config-vlan)# exit
sw1(config)# vlan 99
sw1(config-vlan)# name MGMT
sw1(config-vlan)# exit
sw1(config)# vlan 10
sw1(config-vlan)# name MAIN
sw1(config-vlan)# exit
sw1(config)# vlan 20
sw1(config-vlan)# name INFRA
sw1(config-vlan)# exit
sw1(config)# vlan 30
sw1(config-vlan)# name IOT
sw1(config-vlan)# exit
sw1(config)# vlan 40
sw1(config-vlan)# name UNTRUSTED
sw1(config-vlan)# exit
sw1(config)# vlan 100
sw1(config-vlan)# name WAN
sw1(config-vlan)# exit
sw1(config)# end
sw1# save
Success
sw1#
sw1# show vlan
VID | VLAN Name | Untagged Ports | Tagged Ports | Type
-------+------------------+------------------------------+------------------------------+---------
1 | default | gi1-16,lag1-8 | --- | Default
10 | MAIN | --- | --- | Static
20 | INFRA | --- | --- | Static
30 | IOT | --- | --- | Static
40 | UNTRUSTED | --- | --- | Static
90 | GUEST | --- | --- | Static
99 | MGMT | --- | --- | Static
100 | WAN | --- | --- | Static
sw1# exit
sw1>