EDM01-36v10 DAG_9.2X2_Card_User_Guide - Configuring the DAG card
©2010 - 2012 Endace Technology Ltd. Confidential - Version 10 - May 2012
33
dagconfig options
dagconfig
is a software utility used to configure and display statistics. By default all commands, unless
otherwise defined, run on device 0 (
-d0
). Commands only apply to one DAG card. The following table
lists
dagconfig
options.
Notes:
•
For DAG cards with more than 2 ports, you can select the required port using: -
port<number>
or --
port<letter>
.
•
Not all options listed are applicable to all DAG cards.
*Warning:
Accessing the
-m
and
-n
options simultaneously on the same DAG card may
result in inaccurate results.
Options:
Description
-1,--porta
Port A only (default all). Multi-port cards only.
-2,--portb
Port B only (default all). Multi-port cards only.
-3,--portc
Port C only (default all). Four-port cards only.
-4,--portd
Port D only (default all). Four-port cards only.
--porte to --portp
As above, for extra ports on the 3.7T DAG card.
-I, --attribute-index <n>
Gets or sets the attribute for the
n
th instance of a component with multiple
instances. Index
n
starts from 0. Cannot be used in conjunction with
--port
options. Used with
-G
or
-S
options.
-c,--concfg <conncfg>
Connection configuration. Used by the DAG 7.1S only.
-C,--counters
Outputs the counters. Verbosity levels from 0=(basic / default) to 3=(full).
-d,--device <device>
DAG device to use. Default is
d0
.
-e,--extended
Displays the current extended statistics (non boolean and image dependant).
Verbosity levels from 0=(basic / default) to 3=(full).
Note:
Some images may not contain extended statistics.
--framerfirmware <framer-
firmware>
DAG 9.2X2 only. Specifies the path to the framer firmware image. Allows
you to override the default path to the framer firmware.
-G,--getattribute
<getattribute>
Gets individual attributes by attribute name. Use in conjunction with the --
porta or --portb options to get individual only multi-port cards.
-h,--help
Displays the MAN pages. The information displayed is dynamically based on
the DAG card and does not work correctly when there is no DAG card in the
system.
Note:
There are a few commands that display even though they are not applicable.
-i,--interval <seconds>
Interval to repeat in seconds.
-m,--hmon
*
Outputs the hardware monitor information.
-n,--voltages
*
Outputs the DAG card voltage monitor information.
--no-default
Do not run default automatically after reset.
-S,--setattribute
<setattribute>=<value>
Sets individual attributes by attribute name. Use in conjunction with the --
porta or --portb options to get individual only multi-port cards.
-s,--statistics
Outputs the statistics for the DAG card. Verbosity levels from 0=(basic /
default) to 3=(full).
-T,--tree
Outputs the supported Configuration and Status attributes and components
with the description and name. Using the -v2 verbosity level also outputs all
components and attribute codes. Verbosity levels from 0=(basic / default) to
3=(full).
-t,--txstats
Outputs the transmit statistics for the DAG card. Where applicable.
-u, --ucounters
Outputs the universal counters for the DAG card. Where applicable.
-v,--verbose <level>
Sets the verbosity level, from 0 (basic) to 3 (full).
-V,--version
Display the DAG card version information.