Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Supported Platforms
packet-capture
Syntax
packet-capture {disable;file filename <files number> <size bytes> <world-readable | no-world-readable>;maximum-capture-size number;}
Hierarchy Level
[edit forwarding-options]
Release Information
Statement introduced in Junos OS Release 7.5.
Description
Configure packet capture on a device.
Options
disable—Disable packet capture on the router.
file filename—Name of the file to enable packet capture.
- number—Maximum size of file.
- no-world-readable—Restrict file access to the owner.
- world-readable—Enable unrestricted file access.
maximum-capture-size—Configure the maximum size of capture for packets.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.