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 File Examples
Example 1: Premium Services Class Web Server
Appendix B 119
Example 1: Premium Services Class Web Server
This example shows a configuration file that provides differentiated service for three traffic
classes:
• http (port 80)
• videosrv (assumes this exists in /etc/services on the local host)
• all (other) IPv4 traffic
####
# Sample file of a three-policy HP-UX IPQoS configuration.
# One policy is for HTTP (port 80) traffic. It is assured 45% of bandwidth, and
# is allowed to send up to 100% of bandwidth.
# Another policy is for video traffic; it is also assured 45% of bandwidth and
# is allowed to send up to 100% of bandwidth.
# The third policy is for all other IPv4 traffic. It is assured only
# a small amount of bandwidth (50Kpbs) but is allowed to send up to 100Kbps.
# Note that the policy specified for all other IPv4 traffic provides more
# reserve bandwidth (50Kbps) than would have been provided by the implicit default
# policy (5Kbps), had it not been defined.
#
# The DSCP settings are arbitrary and are only shown to illustrate syntax.
#
filter webselect {
srcport http/tcp
priority 1
}
filter videoselect {
srcport videosrv/udp # assumes /etc/services has “videosrv/udp”)
priority 2
}
filter other_v4 {
netproto 0x800 # selects all IPv4 traffic
priority 99999 #low priority, because only for “other” IPv4 traffic
#if matches either of other filters, want the
#policy those are attached to, to be selected
}
policy premwebservice_p1 {
uses webselect
res 45%
max 100%
dscp 46
}