| << Previous | Contents Index | Next >> |
Note that for a rate to match, at least one of each type of clause mentioned in the rate block must match; thus if a rate includes both time and protocol specifications, one of the time ranges and one of the protocols must match a flow for the rate to apply to the flow.
rate offpeak
time mon-fri 18:00-8:00
time sat-sun
time 25/Dec
end rate
any time after from 6pm to 8am from Monday to Friday matches, as does all day Saturday or Sunday or the 25th of December.
Dates must be in DD/Mon[/YYYY[/time]]. Days may be in three letter format. Times in 24-hour time, HH:MM[:SS]. Ranges are specified with a hyphen, with no whitespace between the two ranges.
Example:
protocol web-in tcp:http in protocol web-in tcp:443 in protocol web-out tcp:http out protocol web-out tcp:443 out
rate web service web-in web-out end rate
phb voip 100011
rate voip
diffserv voip
end rate
| << Previous | Contents Index | Next >> |