Clearing Cisco Switch with simple TCL script

Sdílet
Vložit
  • čas přidán 6. 09. 2024
  • Clearing Cisco Switch with simple TCL script

Komentáře • 8

  • @davidfowler8271
    @davidfowler8271 Před 10 měsíci

    Very useful. I have to reset 12 switches this weekend! Thank you.

    • @kcaudle52
      @kcaudle52  Před 10 měsíci

      Let me know how it works for you.

  • @kcaudle52
    @kcaudle52  Před 10 měsíci

    Quick note, the tcl script does not have anything after the { on the first line where the video moves my image. Sorry about that.

  • @kcaudle52
    @kcaudle52  Před 10 měsíci

    If you want to remove the 1 minute pause, use this script:
    puts [ open "flash:reset.tcl" w+ ] {
    typeahead "
    "
    copy running-config startup-config
    typeahead "
    "
    erase startup-config
    delete /force vlan.dat
    typeahead "
    "
    reload RESET.TCL SCRIPT RUN
    }

  • @sharonmoran4893
    @sharonmoran4893 Před 10 měsíci

    Kelly, does it run if there are no created vlans?

    • @kcaudle52
      @kcaudle52  Před 10 měsíci

      Yes, just tested it. You get an error message but it still works.

    • @RouterHax0r
      @RouterHax0r Před 10 měsíci

      You can avoid that issue by doing “no VLAN 2-4094” from config mode.