
Using the Technician Interface to Configure and Run Packet Capture
B-17
Enter the following command to change the direction of the packets that Packet
Capture saves:
set wfPktCaptureEntry.10.
<line_no.> <value>
;commit
10
represents the wfPktCaptureDirection 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 one of the following:
• 1—Packet Capture will copy only incoming packets.
• 2—Packet Capture will copy only outgoing packets.
• 3—Packet Capture will copy both incoming and outgoing packets.
Example
Enter the following command to configure Packet Capture to copy both incoming
and outgoing packets associated with Line Number 102101:
set wfPktCaptureEntry.10.102101 3;commit
Configuring a Termination Trigger
By default, Packet Capture terminates only when you issue the command to
terminate it. You can change this default so that Packet Capture terminates
• When the Packet Capture file fills.
• Or when it matches a portion of an incoming or outgoing packet to a
hexadecimal number or character string that you specify.
You can issue a command to terminate Packet Capture even if you configure it to
terminate on its own.
Commentaires sur ces manuels