
policy
OVERVIEW
Category:
configPrimary context:
class (page 79)Related Commands
Usage: [no] policy <qos | pbr | mirror> <name>
Description: Create a classier policy and enter the policy context.
Parameters are policy type and policy name.
COMMAND STRUCTURE
■ [no] policy mirror -- Enter mirror type policy name (ASCII-STR) (p. 399)
■ [no] policy qos -- Enter qos type policy name (ASCII-STR) (p. 399)
■ policy resequence -- Renumber the entries in the policy. (p. 399)
■ name -- Specify the policy name. (ASCII-STR) (p. 399)
■ start-seq-num < 1 to 2147483646 > -- Specify the starting sequence number. (p. 399)
■ incr-num < 1 to 2147483645 > -- Specify the increment. (p. 398)
EXAMPLES
Example: policy
In the following QoS policy configuration, matching HTTP packets are rate-limited to 10000 kbps and
assigned an 802.1p (CoS) priority of 3 in their Layer 2 VLAN headers. All unmatched packets are
managed by the default class, which assigns a slightly higher 802.1p priority (4) and a new DSCP
codepoint (5):
ProCurve(cong)# class ipv4 http
ProCurve(class-cong)# match tcp any any eq 80
ProCurve(class-cong)# match tcp any any eq 8080
ProCurve(class-cong)# exit
ProCurve(cong)# policy qos RateLimitPrioritizeSuspectTrafc
ProCurve(policy-cong)# class ipv4 http action rate-limit kbps 10000
ProCurve(policy-cong)# class ipv4 http action priority 3
ProCurve(policy-cong)# default-class action priority 4 dscp 5
ProCurve(policy-cong)# exit
COMMAND DETAILS
resequence (p. 399)name (p. 399)incr-num (p. 398)
start-seq-num (p. 399)qos (p. 399)mirror (p. 399)
incr-num
■ policy resequence NAME < 1 to 2147483646 > < 1 to 2147483645 >
Specify the increment.
Range: < 1 to 2147483645 >
398© 2009 Hewlett-Packard Development Company, L.P.