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 2: Trusted Applications and DSCP
Appendix B 121
Example 2: Trusted Applications and DSCP
This example shows how to avoid overwriting the DSCP field of traffic from an originating
application that sets a DSCP value. Use this type of configuration for trusted applications
that include their own DSCP setting.
####
# Sample file for protecting DSCP on trusted applications
#
filter dscp_set { # recognize traffic that already has dscp set
dscplo 1
dscphi 63
priority 1
}
filter no_dscp_set { # recognize traffic that does not have dscp set
dscplo 0
dscphi 0
priority 2
}
policy allowthru { # don’t change anything about the dscp field
uses dscp_set
}
policy setdscp { # set the dscp field for traffic with no previous dscp setting
uses no_dscp_set
dscp 10
}
adapter lan0 {
uses allowthru, setdscp
}
#
#
####
This example illustrates how to avoid overwriting DSCP fields for application traffic that
controls its own DSCP fields. Additionally, you can create several classes of traffic, then use
different policies to set the DSCP field for each traffic class to an appropriate value for each
class.