HP-UX IPQoS A.01.00 Administrator's Guide (October 2005)

Table Of Contents
Getting Started with HP-UX IPQoS
HP-UX IPQoS Deployment Components
Chapter 348
}
#
#####
Simple Configuration File Example
The following is an example of a valid configuration file that prioritizes outbound traffic with
a destination address in the 20.*.*.* network. In this example, outbound traffic on lan0 will
adhere to policy dst20net_p, for traffic matching filter dst20net_f.
########
# File for prioritizing traffic to specific destinations
#
####
# filter selects traffic going to destination addresses in the 20.*.*.* network
##
filter dst20net_f {
dstaddrlo 20.0.0.0
dstaddrhi 20.155.155.155
priority 1
}
####
# For all outbound traffic going to the 20.*.*.* network (traffic that
# matches filter dst20net_f) reserve 50% of lan0’s outbound bandwidth
# and allow up to 90% of lan0’s available bandwidth.
##
policy dst20net_p {
uses dst20net_f
res 50%
max 90%
}
adapter lan0 {
uses dst20net_p
}
####
This simple example illustrates the basic syntax of the configuration file.
For detailed syntax information on HP-UX IPQoS configuration files, see Chapter 4, “HP-UX
IPQoS Configuration Files,” on page 55.
To view examples of valid HP-UX IPQoS configuration files, see Appendix B, “HP-UX IPQoS
Configuration File Examples,” on page 117.