
Using the Technician Interface to Configure and Run Packet Capture
B-19
Example
Enter the following command if you configured the Packet Capture instance
associated with Logical Line No. 102101 to copy only incoming packets and you
want it to terminate itself when it matches packet data to the Filter 2 Match
parameter:
set wfPktCaptureEntry.12.102101 3;commit
Assigning Filters
Use this section if you want to specify a string of alphanumeric characters to
compare with the packet data.
When Packet Capture matches packet data to the string, it either copies the packet
to the Packet Capture file or it terminates without copying the packet.
Packet Capture supports two filters for incoming packets and two filters for
outgoing packets. The filter names are:
• Receive Filter 1 matches incoming packet data to a string you specify.
• Receive Filter 2 matches incoming packet data to a second string you specify.
• Transmit Filter 1 matches outgoing packet data to a string you specify.
• Transmit Filter 2 matches outgoing packet data to a second string you specify.
Each filter has its own set of parameters. They are as follows:
• Type — Determines whether Packet Capture terminates when it finds a
match, copies a packet when it matches it to the string, or copies every packet
on a circuit.
• Match — the hexadecimal number or string of characters that Packet Capture
uses to compare to the data in a packet.
• Reference, Offset, and Size— the data within the packet to compare with the
string. Reference identifies the field of the packet. Offset determines the
number of bytes after the Reference with which to begin the comparison. Size
determines the number of bytes to compare to the string.
Packet Capture also supports one Group parameter for each packet direction. The
Group parameter allows you to specify whether the packet must match both
Filter 1 and Filter 2 in order for Packet Capture to copy it.
Commentaires sur ces manuels