
Using the Technician Interface to Configure and Run Packet Capture
B-11
Specifying the Number of Bytes in Each Packet to Copy
You must specify the number of bytes in each packet to copy to the Packet
Capture file. If you want to use a Network General Sniffer to read a Packet
Capture file, you must set the size of the packets to a value the Sniffer supports.
The Sniffer currently supports the following values: 32, 64, 128, 256, and 512;
they correspond to the Bay Networks router settings 1, 2, 4, 8, or 16.
Enter the following command to specify the number of bytes in each packet to
copy into the Packet Capture file:
set wfPktCaptureEntry.9.
<line_no.> <value>
;commit
9
represents the wfPktCapturePktSize attribute.
<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.
<value>
is any number of 32-byte increments in the range 1—144. The value 1
represents 32 bytes to be saved. The value 144 represents 4608 bytes to be saved.
Enabling Packet Capture
Enter the following Technician Interface command to enable the Packet Capture
software:
set wfPktCaptureEntry.2.
<line_no.>
1;commit
2
represents the wfPktCaptureDisable attribute.
<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.
The
1 represents the numeric code for “enable.”
Example
Enter the following command to enable Packet Capture software for Line Number
202101:
set wfPktCaptureEntry.2.202101 1;commit
Comentários a estes Manuais