HP-UX IPQoS A.01.00 Administrator's Guide (October 2005)
Table Of Contents
- About This Document
- 1 Introduction
- 2 Installing HP-UX IPQoS
- 3 Getting Started with HP-UX IPQoS
- 4 HP-UX IPQoS Configuration Files
- 5 Administering HP-UX IPQoS
- 6 Troubleshooting HP-UX IPQoS
- Overview
- Troubleshooting Tools
- Troubleshooting Scenarios
- Installation Scenario: HP-UX IPQoS Installation Fails
- HP-UX IPQoS Configuration File Verification Fails
- Active Configuration Is Not As Expected
- State Is Not As Expected
- Traffic Management Problems
- Corrupt or Missing HP-UX IPQoS Configuration File
- Internal Error from Corrupt or Missing HP-UX IPQoS Database File
- Sample Error and Warning Messages
- Reporting Problems to HP
- A HP-UX IPQoS Configuration File Attributes: Quick Reference
- B HP-UX IPQoS Configuration File Examples
- C ipqosadmin Quick Reference
- Glossary

HP-UX IPQoS Configuration Files
Policy Blocks
Chapter 4 71
Policy Blocks
Policies define how HP-UX IPQoS handles outbound matching traffic classes (outbound
packets that match specified filters). The policy keyword marks the start of a policy block
definition. The string immediately following the policy keyword is the name of the block.
The pseudo-syntax of a policy block is as follows:
policy policyname {
policy_attributes
}
The traffic the policy acts on is determined by which filters are used by the policy. A packet
that matches any of the filters used by a policy are handled according to that policy. Thus,
policy attributes are effectively OR conditions.
The actions the policy takes on this traffic are determined by the other policy attributes
specified. You can specify metering (traffic regulation) and marking (DSCP and VLAN)
attributes.
Specify the policy attributes you need and omit all others. Except for uses, which can be
specified as many times as need, all other attributes can only be specified once per policy.
No specific attributes are required. However, HP recommends that you specify at least one
filtername for each policy. Policies that do not include any filtername attributes cause a
warning message to be sent, indicating that the policy is ignored. If any adapter then tries to
use this policy, an error message is sent.
Policy Attributes
Specify policy attributes by using the following keywords and syntax:
uses filtername [filtername...]
Specifies which packets this policy is applied to; that is, any packet that
matches all the filter attributes of any filtername specified.
The filtername specified must already be a defined filter.
Multiple unique filtername attributes can be specified on the same line,
optionally separated by commas. If you run out of room on the current line,
start another line with uses followed by the remaining filtername
attributes you need to specify. You can continue specifying filtername
attributes on as many lines as you need.
You cannot specify the same filtername more than once.