Administering HP-UX IPQoS

Showing Configuration Information

Showing Configuration Information

To show configuration information, use the -sc-showconfigoption 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 -showconfigis 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 -textoption and the -confoption are mutually exclusive.

Example 1

The following example displays output from ipqosadmin -showconfigwhen 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

92

Chapter 5