mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-14 18:49:38 +00:00
15 lines
369 B
Plaintext
15 lines
369 B
Plaintext
tclsh
|
|
puts [ open "flash:reset.tcl" w+ ] {
|
|
typeahead "\n"
|
|
copy running-config startup-config
|
|
typeahead "\n"
|
|
erase startup-config
|
|
delete /force vlan.dat
|
|
delete /force multiple-fs
|
|
ios_config "sdm prefer dual-ipv4-and-ipv6 routing"
|
|
typeahead "\n"
|
|
puts "Reloading the switch in 1 minute, type reload cancel to halt"
|
|
typeahead "\n"
|
|
reload in 1 RESET.TCL SCRIPT RUN
|
|
}
|
|
tclquit |