Search This Blog

Capture file case


Waring Waring always gets Log before rebooting all failover anything. 
                  

F5
option 1 
qkview -s0 -f /var/tmp/"$HOSTNAME"_"$(date +%m-%d-%y)".qkview
tar zcvf /var/tmp/"$HOSTNAME"_"$(date +%m-%d-%y)"_logs.tar.gz /var/log/*

option 2
qkview -s0 -f /var/tmp/Manuallyputinhostnameanddate.qkview
tar -czvf /var/tmp/logfiles.tar.gz /var/log/* run under bash



Juniper           

 file archive compress source /var/log destination /var/tmp/hostname-casenumer.tgz run on router

 request support information | save /var/tmp/filerouter1.txt  "

 scp duong@hostname:/var/tmp/hostname-casenumber.tgz . run on jumpsever


Troubleshooting           

 root@hostname> start shell "

 root@hostname:~ cd /var/tmp/   root@hostname:/var/tmp# ls = verify file"

 root@hostname:/var/tmp# chmod 775 filenameoflog   This allow to scp"

 Then we can scp on jumpserver"


Arista/cisco.

set terminal length 0
show tech-support.


No comments: