HP 5400ZL User Manual

Page 427

Advertising
background image

Classifier-Based Software Configuration

Creating a Service Policy

1. To create a service policy that performs feature-specific actions on

selected packets, enter the

policy < feature-name > command from the

global configuration context.

Context: Global configuration

Syntax: [no] policy <feature-name > <policy-name >

Defines the name of a service policy and enters the policy
configuration context, where:
<feature-name > is a keyword that identifies a ProCurve
software feature that supports classifier-based
configuration (for example,

qos or mirror).

<policy-name > is a text string (64 characters maximum).

A traffic policy consists of one or more actions that are configured for each
class of traffic. The configured actions are executed on packets that match a
match statement in a class. No policy action is performed on packets that
match an

ignore statement.You can configure multiple classes in a policy.

2. To configure the actions that you want to execute on packets that match

the

match criteria in a specified class, enter one or more class action

commands from the policy configuration context.

Context:

Policy configuration

Syntax:

[no] [seq-number] class < ipv4 | ipv6 > <classname >
action <action-name > [action <action-name > ...]

Defines the action(s) to be applied on a pre-configured
IPv4 or IPv6 traffic class when a packet matches the

match

criteria in the class.

You can enter multiple class-action statements for the
same class. Note that the actions supported for a class
command differ according to the feature-specific policy
(for example, QoS or mirroring) configured with the
policy command in Step 1.

[no] [seq-number] class < ipv4 | ipv6 > <classname >

• [

seq-number

]

The (optional) seq-number parameter

sequentially orders the class-action statements in a
policy configuration. Actions are executed on
matching packets in numerical order. Default: Class-
action statements are numbered in increments of 10,
starting at 10.

9-25

Advertising
This manual is related to the following products: