Getting Started with
}
#
#####
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
To view examples of valid
48 | Chapter 3 |