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
Creating an HP-UX IPQoS Configuration File
Chapter 4 61
Creating an HP-UX IPQoS Configuration File
The following procedure provides a simple example of how to create an HP-UX IPQoS
configuration file.
In this example, outbound traffic on lan0 and lan1 must adhere to the policy
limit_ftp_policy for all traffic that matches the filter limit_ftp_filter. The effective
result of loading this configuration file is to allow outbound ftp traffic at most 25% of the
available network bandwidth on lan0 and lan1 respectively.
Use this procedure as a general guideline and modify as needed for your specific configuration
file.
Step 1. Open a file using a text editor such as vi. For example, at the prompt, enter:
#vi ftp_mgmt.qosconf
Step 2. Within the file, create filter blocks for all the traffic classes you need to define. Add
lines to the file similar to the following:
####
## define a filter called limit_ftp_filter
####
filter limit_ftp_filter {
srcportlo 20
srcporthi 21
priority 1
}
This example defines one filter, limit_ftp_filter. As defined, all ftp traffic will
match this filter.
Step 3. Within the file, create policy blocks for all the actions you need to apply to various
filters. Add lines to the file similar to the following:
####
## define a policy called limit_ftp_policy
####
policy limit_ftp_policy {
uses limit_ftp_filter
max 25%
}