Verifying Packet Capture; Displaying A Packet Capture Configuration; Displaying A Firewall Filter For Packet Capture Configuration; Verifying Captured Packets - Juniper J-Series Administration Manual

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

Advertisement

4.
5.
6.
7.

Verifying Packet Capture

To verify packet capture, perform these tasks:

Displaying a Packet Capture Configuration

Verify the packet capture configuration.
Purpose
From the J-Web interface, select
Action
Configuration>View and Edit>View Configuration Text. Alternatively, from
configuration mode in the CLI, enter the
user@host> start shell
%
Navigate to the directory where packet capture files are stored:
b.
% cd /var/tmp
%
Rename the latest packet capture file for the interface on which you are
c.
changing the encapsulation—for example,
% mv pcap-file.fe.0.0.0 pcap-file.fe.0.0.0.chdsl
%
Return to the CLI operational mode:
d.
% exit
user@host>
Change the encapsulation on the interface using the J-Web or CLI configuration
editor.
See instructions for configuring interfaces in the J-series Services Router Basic
LAN and WAN Access Configuration Guide.
Commit the configuration.
Reenable packet capture following the steps in "Enabling Packet Capture
(Required)" on page 257.
Commit the configuration.
Displaying a Packet Capture Configuration on page 263
Displaying a Firewall Filter for Packet Capture Configuration on page 264
Verifying Captured Packets on page 264
[edit]
user@host# show forwarding-options
packet-capture {
file filename pcap-file files 100 size 1024;
maximum-capture-size 500;
Chapter 13: Configuring Packet Capture
:
fe.0.0.0
show forwarding-options
command.

Verifying Packet Capture

263

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents