1. Home
  2. Docs
  3. Switches
  4. Factory Reset R8

Factory Reset R8

Om een switch met versie 8 naar factory reset terug te brengen, dienen de volgende commando’s via de cli (console, telnet of ssh) ingegeven worden.

aaa authentication default local
cd /flash
rm -f working/*.cfg
rm -f certified/*.cfg
rm -f working/*.conf
rm -f certified/*.conf
rm -f working/*.sav
rm -f certified/*.sav
rm -f working/*.md5
rm -f certified/*.md5
rm -f working/*.txt
rm -f certified/*.txt
rm -f working/*.cfg-ft
rm -f certified/*.cfg-ft
rm -f working/Udiag.img
rm -f working/Urescue.img
rm -f certified/Udiag.img
rm -f certified/Urescue.img
rm -f /flash/*.err
rm -f /flash/*.cfg
rm -f /flash/tech*
rm -f /flash/swlog*
rm -f system/user*
rm -f switch/cloud/*
rm -f switch/dhcpd*
rm -f switch/*.txt
rm -f /flash/libcurl*
rm -f /flash/agcmm*
rm -r working/pkg
rm -r certified/pkg
rm -r /flash/pmd
swlog clear all
reload from working no rollback-timeout

Alternatief:

aaa authentication default local
cd /flash
rm -f working/vcboot.cfg
rm -f certified/vcboot.cfg
rm -f working/vcboot.cfg.sav
rm -f certified/vcboot.cfg.sav
rm -f working/*.txt
rm -f *.err
rm -f *.cfg
rm -f system/userTable6
rm -f system/userTable8
rm -f working/*.cfg-ft
rm -f working/Udiag.img
rm -f working/Urescue.img
rm -f working/*.img-2sec
rm -f switch/cloud/*
rm -f working/cloudagent.cfg
rm -f certified/cloudagent.cfg
rm -f switch/dhcpd.conf
rm -f switch/dhcpd.conf.lastgood
rm -f switch/dhcpd.pcy
rm -f libcurl_log
rm -f libcurl_log.1
ntp client admin-state disable
no user snmpRW
user password-size min 6
user password-policy min-uppercase 0
user password-policy min-digit 0
user password-policy min-nonalpha 0
user password-history 0
user admin password switch
swlog clear
rm -r switch/cloud