Disabling Packet Capture; Deleting Packet Capture Files - Juniper J-Series Administration Manual

Juniper networks router administration guide
Hide thumbs Also See for J-Series:
Table of Contents

Advertisement

NOTE: If you apply a firewall filter on the loopback interface, it affects all traffic to
and from the Routing Engine. If the firewall filter has a
from the Routing Engine are sampled. If packet capture is enabled, then packets to
and from the Routing Engine are captured in the files created for the input and output
interfaces.

Disabling Packet Capture

You must disable packet capture before opening the packet capture file for analysis
or transferring the file to an external device. Disabling packet capture ensures that
the internal file buffer is flushed and all the captured packets are written to the file.
To disable packet capture:
1.
2.
3.
Table 137: Disabling Packet Capture
Task
Navigate to the Forwarding options
level in the configuration hierarchy.
Disable packet capture.

Deleting Packet Capture Files

Deleting packet capture files from the /var/tmp directory only temporarily removes
the packet capture files. Packet capture files for the interface are automatically created
again the next time a packet capture configuration change is committed. You must
follow the procedure given in this section to delete packet capture files.
Navigate to the top of the configuration hierarchy in either the J-Web or CLI
configuration editor.
Perform the configuration tasks described in Table 137 on page 261.
If you are finished configuring the router, commit the configuration.
J-Web Configuration Editor
1.
In the J-Web interface, select
Configuration>View and Edit>Edit
Configuration.
2.
Next to Forwarding options, click
Configure or Edit.
1.
Next to Packet capture, click Edit.
2.
Next to Disable, select Yes.
3.
Click OK until you return to the
Configuration page.
Configuring Packet Capture with a Configuration Editor
Chapter 13: Configuring Packet Capture
sample
action, packets to and
CLI Configuration Editor
From the
hierarchy level, enter
[edit]
edit forwarding-options
Enter
set packet-capture disable
.
261

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents