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

Table Of Contents
Administering HP-UX IPQoS
Loading a Configuration File
Chapter 5 89
Loading a Configuration File
To load a configuration file, use the -load option of ipqosadmin. The -load option first
verifies, then if successful, loads and activates the specified configuration. If successful, -load
results in the HP-UX IPQoS state being ENABLED and FILTERING.
If successful, the exit status returned to the shell (“$?”) from running ipqosadmin -load is 0,
otherwise it returns 1.
IMPORTANT The -load option replaces the current configuration, if there is one. It is not
an additive load.
Syntax
ipqosadmin -l[oad] -f[ile ] <filename> [-verbose][-a[bort]|-c[ontinue]]
Option
-f[ile] filename
Specifies the HP-UX IPQoS configuration file to be loaded. You can specify a
relative or absolute path for filename.
This is a required argument.
Default: (Not applicable)
If filename is specified as a dash (-) the input file is stdin. In this case you
can specify multiple files to be loaded and they will be processed by
ipqosadmin as if they were one configuration file equivalent to
concatenating the individual files in the order specified. For example, you
can specify:
#cat file1 file2 | ipqosadmin -load -f -
[-verbose]
Informative messages are displayed.
Default: Not specified.
When not specified (the default case) informative messages are not
displayed.