Configuring Packet Capture; Configuring The Packet Capture Function - HPE 5820X Series Configuration Manuals

Hide thumbs Also See for 5820X Series:
Table of Contents

Advertisement

Configuring packet capture

The packet capture feature facilitates network problem identification. Packets captured are stored in
the packet capture buffer on the device. You can display the packets at the CLI, or export them to
a .pcap file and analyze them by using packet analysis software such as Ethereal or Wireshark.

Configuring the packet capture function

When you configure this function, follow these guidelines:
After you enable packet capture which uses an ACL, you cannot modify the ACL rules,
including adding, deleting, and modifying rules.
When you enable packet capture which uses an ACL, the actions in the ACL are ignored, and
the ACL is only used for traffic classification.
To release system resources after finishing packet capture, use the undo packet capture
command to disable this function.
To configure the packet capture function:
Step
1.
Set packet capture
parameters.
2.
Enable packet capture.
Command
packet capture { acl
{ acl-number | ipv6 acl6-number }
| buffer-size size | length
capture-length | mode { circular |
linear } }*
(Method 1) Start packet
capture immediately:
packet capture start [ acl
{ acl-number | ipv6
acl6-number } | buffer-size
size | length capture-length |
mode { circular | linear } |
[ packets packet-number |
seconds second-number ] ]*
(Method 2) Configure a
packet capture schedule:
packet capture schedule
datetime time date
240
Remarks
Optional.
Use either method.
You can set packet capture
parameters at the same time
when you use method 1.
By default, packet capture is
disabled, and no packet capture
schedule is configured.
If you use method 1, the existing
packet capture schedule is
invalid.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 series

Table of Contents