R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
309
Views
Policy node view
Default command level
2: System level
Parameters
interface-type interface-number: Specifies a reverse input interface.
Usage guidelines
If the specified reverse input interface (such as a VLAN interface) is removed, the interface is displayed
in the output and no packets can match the criterion.
Examples
# Define a criterion to match reverse input interface GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] policy-based-route test permit node 10
[Sysname-pbr-test-10] if-match reverse-input-interface gigabitethernet2/1/1
ip local policy-based-route
Use ip local policy-based-route to configure local PBR based on a specified policy.
Use undo ip local policy-based-route to remove the configuration.
Syntax
ip local policy-based-route policy-name
undo ip local policy-based-route policy-name
Default
No policy is referenced for local PBR.
Views
System view
Default command level
2: System level
Parameters
policy-name: Policy name, a string of 1 to 19 characters.
Usage guidelines
You can configure only one policy for local PBR. If you perform this command multiple times, only the last
specified policy takes effect.
Local PBR is used to route locally generated packets. Do not configure local PBR unless required.
Examples
# Configure local PBR based on policy aaa.
<Sysname> system-view
[Sysname] ip local policy-based-route aaa