Introduction to Differentiated Services (DiffServ) and HP-UX IPQoS
6
HP-UX IPQoS
HP-UX IPQoS conforms to IETF standards for the Differentiated Services architecture of QoS and
provides traffic classification and conditioning. HP-UX IPQoS provides host-based functionality for
outbound packets. It includes an administration tool, ipqosadmin, which can be used for loading,
verifying, and unloading of configuration files as well as provide state and statistical information.
Configuration
HP-UX IPQoS operation loads a user modified configuration file that contains three distinct sections or
blocks: Filter, Policy, and Adapter blocks.
General Example
The following example shows a pseudo-syntax configuration file with brief descriptions of each block
type. This example, as well as other configuration file examples, can also be found in the HP-UX
IPQoS Administrator’s Guide.
#######
#
# Pseudo-Syntax Configuration File Example
#
filter filter1 {
filter1_attributes
}
filter filter2 {
filter2_attributes
}
policy policy1 {
policy1_attributes
}
policy policy2 {
policy2_attributes
}
adapter lanX {
adapter_attributes
}
adapter lanY {
adapter_attributes
}
#
#####
Filters
Filters define specific traffic classes which can be based on BA Classifiers (DSCP) or Multi-Field (MF)
Classifiers. HP-UX IPQoS supports both BA Classifiers and MF Classifiers and can classify on any
combination of the following: IP source or destination address, name, or address range; source
and/or destination port number, name, or port range; transport protocol number (TCP or UDP are
currently supported); network protocol number (Ethertype); DSCP value; and destination physical
(MAC) address.
Policies
Policies specify actions to be taken on a particular traffic class defined in the Filter block such as
bandwidth allocation or marking a DSCP value.