Troubleshooting Network Connections
Capturing IP Traffic in a File
CLI Maintenance Guide
7-21
Capturing IP Traffic in a File
This feature is not supported on the ARX®500.
From priv-exec mode, you can use the
capture session
command to start capturing IP
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
no capture session
. The
maximum filesize and the
no capture session
command are both described below.
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.
bstnA6k(cfg)#
end
bstnA6k#
capture session 1 ip 172.16.100.183 vlan 25 file clientCap
bstnA6k#
...
Содержание Adaptive Resource Switch
Страница 12: ...2 xii CLI Maintenance Guide...
Страница 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Страница 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Страница 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Страница 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Страница 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Страница 318: ...Copyright 2 CLI Maintenance Guide...
Страница 324: ...Index 6 CLI Maintenance Guide...