
Troubleshooting Routers
B-18
308656-14.00 Rev 00
Using Optional Features
The following sections describe how to use optional Packet Capture features:
•“Configuring the Direction of the Packets to Be Copied
”
•“Configuring a Termination Trigger
”
•“Assigning Filters
”
Configuring the Direction of the Packets to Be Copied
This section describes how to change the direction of the packets to be copied. By
default, Packet Capture copies only incoming packets.
Enter the following command to change the direction of the packets that Packet
Capture copies:
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 command
list instances wfPktCaptureEntry
.
<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
Note:
If Packet Capture is running and you change the configuration, the
change will not affect Packet Capture until you stop and restart it.
Comentarios a estos manuales