
Troubleshooting Routers
B-30
Getting the Name of the Packet Capture File
To get a Packet Capture file stored in the router’s memory, you must know its
name. Enter the following command to get the filename:
get wfPktCaptureEntry.4.
<line_no.>
<line_no.>
is the number displayed after you issued the get command in “Creating
an Instance of Packet Capture.” To list the current line numbers associated with
Packet Capture, enter the
list instances wfPktCaptureEntry command.
4 represents the wfPktCaptureFname attribute.
The filename displayed is in the following format:
PCAP
<ssnn>
ss is the slot number.
nn is a number from 00 to 99
Example
Enter the following command to display the name of the captured packets
associated with Line No. 102101:
get wfPktCaptureEntry.4.102101
Using FTP to Transfer the File
When you use FTP to get a Packet Capture file, the FTP software transfers it from
the processor’s memory instead of the media.
The procedure for using FTP to transfer a copy of a file to a Sun workstation or
PC depends on the implementation of FTP on that system. The following
instructions apply to Sun workstations. If you are using a PC and need instructions
for using FTP, refer to the documentation for the TCP/IP stack installed on the PC.
Enter the following commands at the command line interface of the Sun
workstation:
1. Issue the following command to start FTP:
FTP
Komentarze do niniejszej Instrukcji