init
This commit is contained in:
34
rancid/asa-admin-clear
Executable file
34
rancid/asa-admin-clear
Executable file
@@ -0,0 +1,34 @@
|
||||
#/bin/bash
|
||||
|
||||
echo Erst nach reboot sind alle Dateien sichtbar
|
||||
echo Erst reboot einer ASA, die danach die standby Rolle hat
|
||||
echo Dann Dateien löschen
|
||||
echo Nächste ASA booten, die danach standby ist
|
||||
echo Dann auch dort Dateien löschen
|
||||
echo Danach sind die Rollen wieder wie vor den Vorgängen
|
||||
|
||||
echo
|
||||
echo "speichere konfig asa (pri,act) und reboot"
|
||||
clogin -c "reload save-config noconfirm" asa-admin-1
|
||||
|
||||
echo
|
||||
echo "warte auf asa (pri,stdby)"
|
||||
sleep 600
|
||||
|
||||
echo
|
||||
echo "lösche logfiles der asa (pri,stdby)"
|
||||
clogin -c "failover exec mate del /noconfirm disk0:/log/*" asa-admin-1
|
||||
|
||||
echo
|
||||
echo "speichere konfig asa (sec,act) und reboot"
|
||||
clogin -c "reload save-config noconfirm" asa-admin-1
|
||||
|
||||
echo
|
||||
echo "warte auf standby der asa (sec,stdby)"
|
||||
sleep 600
|
||||
|
||||
echo
|
||||
echo "lösche logfiles der asa (sec,stdby)"
|
||||
clogin -c "failover exec mate del /noconfirm disk0:/log/*" asa-admin-1
|
||||
|
||||
echo
|
||||
Reference in New Issue
Block a user