l
If multiple next hops are specified, the load balancing is complemented among multiple
next hops.
l
If multiple outbound interfaces are specified, the load balancing is complemented among
multiple outbound interfaces.
l
If outbound interfaces and next hops are configured at the same time, the load balancing is
implemented only on outbound interfaces.
l
If you run the
apply output-interface
command to configure two egresses at first and then
run the command again to configure another one. The thirdly configured egress supersedes
only the first configured one.
8.3.4 Applying PBR
This part describes how to apply PBR.
Procedure
l
Enabling local PBR
1.
Run:
system-view
The system view is displayed.
2.
Run:
ip local policy-based-route
policy-name
The local PBR is enabled.
Here, PBR applies to only the local packets. You can configure only one local policy.
----End
8.3.5 Checking the Configuration
You can view the configuration of IP unicast PBR.
Prerequisites
The configurations of the IP Policy-based Routing function are complete.
Procedure
l
Run the
display ip policy-based-route
command to check the enabled PBR.
l
Run the
display ip policy-based-route setup
local
command to check the configuration
of local PBR.
l
Run the
display ip policy-based-route statistics
local
command to check the statistics of
the local packet that is enabled with PBR.
l
Run the
display policy-based-route
[
policy-name
] command to check the created policy.
----End
Example
Run the
display ip policy-based-route
command to check the enabled PBR.
<Huawei>
display ip policy-based-route
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
8 IP Unicast PBR Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
197