Capturing Ip Traffic In A File - Acopia Adaptive Resource Switch Cli Maintenance Manual

Table of Contents

Advertisement

Capturing IP Traffic in a File

bstnA6k(cfg)# end
bstnA6k# capture session 1 ip 172.16.100.183 vlan 25 file clientCap
bstnA6k# ...
CLI Maintenance Guide
This feature is not supported on the ARX®500.
From priv-exec mode, you can use the
traffic and streaming it into a file:
capture session session-id ip ip-address [vlan vlan-id] file prefix
where
session-id (1-4) identifies this capture session, so that you can close it later.
ip-address is the address to match against. The capture includes all packets
whose source IP or destination IP matches this address.
vlan vlan-id (optional, 1-4095) specifies the VLAN. If you omit this, it
defaults to VLAN 1 (or no specified VLAN).
prefix (1-255 characters) is the prefix you choose for the filename. Each file
is named as follows:
prefix_nnnnn_yyyymmddHHMMSS.cap
where prefix is what you choose here, nnnnn is a file number for this session
(there can be multiple files for each capture session, as explained later), and
yyyymmddHHMMSS is the date and time the file was created.
A capture session begins when you invoke the command and ends when the capture
file reaches its maximum size, or when you stop it with
maximum filesize and the
For example, the following command sequence exits to priv-exec mode, captures
traffic to and from 172.16.100.183, and places it in a file with the prefix, "clientCap."
This only captures packets on VLAN 25.
Troubleshooting Network Connections
capture session
command are both described below.
no capture session
Capturing IP Traffic in a File
command to start capturing IP
. The
no capture session
7-21

Advertisement

Table of Contents
loading

Table of Contents