
Troubleshooting Routers
B-26
Example 2
This example starts and stops Packet Capture. The instructions are as follows:
1. Start Packet Capture:
set wfPktCaptureEntry.5.102101 1;commit
5
represents the wfPktCaptureControl attribute.
2. Stop Packet Capture:
set wfPktCaptureEntry.5.102101 2;commit
Example 3
This example configures a termination trigger for each direction. The instructions
are as follows:
1. Set a trigger for incoming packets:
set wfPktCaptureEntry.12.102101 1
12
represents the wfPktCaptureRxTrigger attribute.
2. Set a trigger for outgoing packets:
set wfPktCaptureEntry.13.102101 1;commit
13
represents the wfPktCaptureTxTrigger attribute.
Example 4
This example specifies that Packet Capture copy only incoming packets with a
Type field containing the hexadecimal number 0800. The instructions are as
follows:
1. Copy only incoming packets that match the Receive Filter 1 Match
parameter setting:
set wfPktCaptureEntry.14.102101 1
14
represents the wfPktCaptureRxFltr1Type attribute.
2. Specify the Reference with which to begin the comparison:
set wfPktCaptureEntry.16.102101 1
16
represents the wfPktCaptureRxFltr1Ref attribute.
Komentarze do niniejszej Instrukcji