Configuring Policy-Based Routing; Introduction To Pbr; Configuring Pbr; Configuring A Qos Policy - HP 6125G Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Configuring policy-based routing

Introduction to PBR

Policy-based routing (PBR) is a routing mechanism based on user-defined policies. Different from the
traditional destination-based routing mechanism, PBR enables you to use a policy (based on the source
address or other criteria) to route packets.
This Switch Series implements PBR by using a QoS policy. The QoS policy uses QoS traffic classification
to define match criteria, and uses the redirection action of traffic behavior to guide packet forwarding.
This implementation method supports both IPv4 and IPv6 unicast PBR.
PBR takes precedence over destination-based routing. If a packet meets the match criteria, PBR applies;
otherwise, destination-based routing applies.
For more information about QoS policies, see ACL and QoS Configuration Guide.

Configuring PBR

Before you configure PBR, complete the following tasks:
Configure a QoS policy by configuring the match criteria and a redirection action for PBR.
Apply the QoS policy by defining the occasion to which the PBR applies.

Configuring a QoS policy

To configure a QoS policy:
Step
1.
Enter system view.
2.
Create a class and enter
class view.
3.
Configure the match
criteria.
4.
Exit class view.
5.
Create a behavior and
enter behavior view.
6.
Configure a traffic
redirection action.
7.
Exit behavior view.
8.
Create a policy and enter
policy view.
Command
system-view
traffic classifier tcl-name [ operator { and |
or } ]
if-match match-criteria
quit
traffic behavior behavior-name
redirect next-hop { ipv4-add1
[ ipv4-add2 ] | ipv6-add1 [ interface-type
interface-number ] [ ipv6-add2
[ interface-type interface-number ] ] }
quit
qos policy policy-name
293
Remarks
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents