HP-UX IPQoS A.01.00 Administrator's Guide (October 2005)

Table Of Contents
Administering HP-UX IPQoS
Showing Configuration Information
Chapter 592
Showing Configuration Information
To show configuration information, use the -sc|-showconfig option of ipqosadmin. Active
configuration information is displayed if HP-UX IPQoS is in the ENABLED and FILTERING
state. In the other states (ENABLED but NOT FILTERING or DISABLED), there is no
configuration information to display.
If successful, the exit status returned to the shell (“$?”) from running ipqosadmin
-showconfig is 0, otherwise it returns 1.
Syntax
ipqosadmin -sc|-showconfig [-t[ext]|-c[onf]]
Options
[-t[ext]]
Displays the configuration in text format.
Default: -text
[-c[onf]]
Displays the configuration in a syntax format usable as valid source for a
configuration file. You can save the display output (redirect from stdout to
a file) for later use as a configuration file. This output format can be used for
backup if your configuration file is accidentally removed or corrupted
Default: Not specified.
NOTE The -text option and the -conf option are mutually exclusive.
Example 1
The following example displays output from ipqosadmin -showconfig when the state is
ENABLED and FILTERING.
#ipqosadmin -showconfig
HP-UX IPQoS is ENABLED and FILTERING
Name: current
Adapter: lan0 (00:10:83:f9:b5:44) Type: Ethernet Speed: 100Mbps