Configuring Interface Pbr; Displaying And Maintaining Pbr; Pbr Configuration Examples; Packet Type-Based Local Pbr Configuration Example - HPE FlexNetwork 5510 HI Series Layer 3 - Ip Routing Configuration Manual

Hide thumbs Also See for FlexNetwork 5510 HI Series:
Table of Contents

Advertisement

Step
Apply a policy locally.
2.

Configuring interface PBR

Configure PBR by applying a policy to an interface. PBR uses the policy to guide the forwarding of
packets received on the interface. The specified policy must already exist. Otherwise, the interface
PBR configuration fails.
You can apply only one policy to an interface. Before you apply a new policy, you must first remove
the current policy from the interface.
You can apply a policy to multiple interfaces.
To configure interface PBR:
Step
Enter system
1.
view.
Enter interface
2.
view.
Apply a policy
3.
to the interface.

Displaying and maintaining PBR

Execute display commands in any view and reset commands in user view.
Task
Display PBR policy information.
Display PBR configuration.
Display local PBR configuration and statistics.
Display interface PBR configuration and
statistics.
Clear PBR statistics.

PBR configuration examples

Packet type-based local PBR configuration example

Network requirements
As shown in
Switch A forwards other packets according to the routing table.
Command
system-view
interface interface-type interface-number
ip policy-based-route policy-name
Figure
80, configure PBR on Switch A to forward all TCP packets to the next hop 1.1.2.2.
Command
ip local policy-based-route
policy-name
Command
display ip policy-based-route [ policy policy-name ]
display ip policy-based-route setup
display ip policy-based-route local [ slot slot-number ]
display ip policy-based-route interface interface-type
interface-number [ slot slot-number ]
reset ip policy-based-route statistics [ policy
policy-name ]
315
Remarks
By default, no policy is locally
applied.
Remarks
N/A
N/A
By default, no policy is applied to the
interface.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents