
Troubleshooting Routers
B-18
If you want Packet Capture to terminate itself and
• You configured Packet Capture to copy incoming packets, enter
set wfPktCaptureEntry.12.
<line_no.> <value>
;commit
12
represents the wfPktCaptureRxTrigger attribute.
• You configured Packet Capture to copy outgoing packets, enter
set wfPktCaptureEntry.13.
<line_no.> <value>
;commit
13
represents the wfPktCaptureTxTrigger attribute.
Enter both commands if you want to change the trigger settings for both incoming
and outgoing packets.
<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 terminates when the Packet Capture file fills. If the setting
is not 1 and the file fills, Packet Capture writes over the oldest packets in the
file.
• 2—Packet Capture terminates when data matches the value of the Filter 1
Match parameter for the packet direction queried.
• 3—Packet Capture terminates when data matches the value of the Filter 2
Match parameter for the packet direction queried.
• 4—Packet Capture runs until you terminate it manually. This is the default
setting.
Caution: If you configure Packet Capture to copy both received and
transmitted packets, it copies them to a single file. Therefore, if you choose
both packet directions, and set one of these parameters (Receive Trigger or
Transmit Trigger) to 1, you must set the other to 1. If you fail to do this, Packet
Capture may write over the oldest packets, regardless of whether an interface
received or transmitted them.
Commentaires sur ces manuels