Policy Blocks
Policy Blocks
Policies define how
The
policy policyname {
policy_attributes
}
The traffic the policy acts on is determined by which filters are used by the policy. A packet that matches any of the filters used by a policy are handled according to that policy. Thus, policy attributes are effectively OR conditions.
The actions the policy takes on this traffic are determined by the other policy attributes specified. You can specify metering (traffic regulation) and marking (DSCP and VLAN) attributes.
Specify the policy attributes you need and omit all others. Except for uses, which can be specified as many times as need, all other attributes can only be specified once per policy.
No specific attributes are required. However, HP recommends that you specify at least one filtername for each policy. Policies that do not include any filtername attributes cause a warning message to be sent, indicating that the policy is ignored. If any adapter then tries to use this policy, an error message is sent.
Policy Attributes
Specify policy attributes by using the following keywords and syntax:
uses filtername [filtername...]
Specifies which packets this policy is applied to; that is, any packet that matches all the filter attributes of any filtername specified.
The filtername specified must already be a defined filter.
Multiple unique filtername attributes can be specified on the same line, optionally separated by commas. If you run out of room on the current line, start another line with uses followed by the remaining filtername attributes you need to specify. You can continue specifying filtername attributes on as many lines as you need.
You cannot specify the same filtername more than once.
Chapter 4 | 71 |