
Troubleshooting Routers
B-16
Deleting a Packet Capture Instance
You may want to delete all MIB information about a Packet Capture instance if
you no longer intend to use it and you want to free the memory for other purposes.
To delete an instance, enter the following command:
set wfPktCaptureEntry.1.
<line_no.>
2;commit
1
represents the wfPktCaptureDelete 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.
2 represents the numeric code for “delete.”
Example
Enter the following command to delete the Packet Capture instance identified by
Line Number 202101:
set wfPktCaptureEntry.1.202101 2;commit
Using Optional Features
The following sections describe how to use optional Packet Capture features:
•“Confi
guring the Direction of the Packets to be Copied”
•“Confi
guring a Termination Trigger”
•“Assigning F
ilters”
•“Confi
guration Examples”
•“Confi
guring the Direction of the Packets to be Copied”
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.
Note: If Packet Capture is running and you change the configuration, the
change will not affect Packet Capture until you stop it and restart it.
Commentaires sur ces manuels