Reference Guide

Table Of Contents
Qualifier Description
ALL
Both NAS servers.
Run a Linux tcpdump (svc_nas nas_svc_tcpdump)
This service script allows you to run a Linux tcpdump operation on a system interface for diagnostic purposes.
The output from this command is saved in rotating files of fixed size. When an output file grows either to the size defined by -C
or to a different maximum size, the output is redirected to another file. This other file has the same base name but a different
suffix. The suffix is a digit from 0 to the value defined by either the -W option or an internally defined maximum rotation value.
Rotating files are created in numerical order.
Usage
Function Diagnostic
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_nas nas_svc_tcpdump [-h] [-i <interface>] [-w <file name>] [-W <rotations>] [-C
<size>] [-s <number of bytes>]
[-t {1,2,3,4}] [-v {1,2,3}] [-D] [-F <filter file>] [-e] [-n] [-q] [-T <timeout>] [-p
<path>] [-y <data link type>] [-L] [-K <tcpdump session ID>]
Optional arguments
Qualifier
Description
-h, --help Show the help message and exit.
-i, --interface Specify the interface to be used to capture information.
The default interface for the host namespace is mgmt0; for
SDNAS, the default is eth_mgmt.
-w, --filename Specify the base file name for the output files. The default
name is dump.out.
-W, --rotations Specify the number of files for output. The default is 5. The
maximum number is 20.
-C, --size Specify the size of each output file in MB. The default is 50.
The maximum size is 200.
-s, --snaplen Capture this specified number of bytes of data from each
packet rather than the default 65535. 0 means the default
value.
Service Commands 53