Administering HP-UX IPQoS

Loading a Configuration File

Loading a Configuration File

To load a configuration file, use the -loadoption of ipqosadmin. The -loadoption first verifies, then if successful, loads and activates the specified configuration. If successful, -loadresults in the HP-UX IPQoS state being ENABLED and FILTERING.

If successful, the exit status returned to the shell (“$?”) from running ipqosadmin -loadis 0, otherwise it returns 1.

IMPORTANT The -loadoption 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.

Chapter 5

89