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 4: Limit ftp Bandwidth
Appendix B 123
Example 4: Limit ftp Bandwidth
In this example, a policy is set up to limit ftp bandwidth to 150kb/s. Since ftp operates on
consecutive ports 20 and 21, the policy can use a port number range.
####
# Sample file for limiting ftp bandwidth
#
filter limit_ftp {
srcportlo 20
srcporthi 21
priority 1
}
policy limit_ftp {
uses limit_ftp
max 150K
}
adapter lan0 {
uses limit_ftp
}
adapter lan1 {
uses limit_ftp
}
####
In this policy, the filter and policy have the same name, limit_ftp. This naming scenario,
can be confusing. However, using the same name for the filter and the policy can denote that
they go together. The parser keeps the filter and policy separate, so it is a matter of individual
preference.