Troubleshooting guide

5. Obtaining Failure Information
184
(2) Transferring log information to a remote terminal
Figure 5-2: Transferring log information to a remote terminal
> show logging > log.txt
> show logging reference > log_ref.txt
> ftp 192.168.0.1 <---1
Connected to 192.168.0.1.
220 FTP server (Version 6.00LS) ready.
Name (192.168.0.1:staff1): staff1
331 Password required for staff1.
Password:
230 User staff1 logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ascii <---2
200 Type set to A.
ftp>cd
<destination directory> <---3
250 CMD command successful.
ftp> put log.txt <---4
local: log.txt remote: log.txt
200 EPRT command successful.
150 Opening ASCII mode data connection for 'log.txt'.
100% |*************************************| 89019 807.09 KB/s --:-- ETA
226 Transfer complete.
89019 bytes sent in 00:00 (315.22 KB/s)
ftp> put log_ref.txt
local: log_ref.txt remote: log_ref.txt
200 EPRT command successful.
150 Opening ASCII mode data connection for 'log_ref.txt'.
100% |*************************************| 4628 1.04 MB/s --:-- ETA
226 Transfer complete.
4628 bytes sent in 00:00 (102.86 KB/s)
ftp> bye
221 Goodbye.
>
1. Specify the destination terminal address.
2. Specify ASCII mode.
3. Specify the destination directory.
4. Transfer the log information.
(3) Transferring an error save information file to a remote terminal
Figure 5-3: Transferring an error save information file to a remote terminal
> cd /usr/var/core/
> ls <---1
nimd.core nodeInit.core
> ftp 192.168.0.1 <---2
Connected to 192.168.0.1.
220 FTP server (Version 6.00LS) ready.
Name (192.168.0.1:staff1): staff1
331 Password required for staff1.
Password:
230 User staff1 logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> prompt <---3
Interactive mode off.
ftp> bin <---4
200 Type set to I.
ftp>cd
<destination directory> <---5
250 CMD command successful.
ftp> mput *.core <---6
local: nimd.core remote: nimd.core