R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
506
Description
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.
No policy is referenced for local PBR by default.
Only one policy can be referenced for local PBR.
Local PBR is used to route packets generated locally. Unless otherwise required, HP does not recommend
configuring local PBR.
Examples
# Configure local PBR based on policy aaa.
<Sysname> system-view
[Sysname] ip local policy-based-route aaa
ip policy-based-route
Syntax
ip policy-based-route policy-name
undo ip policy-based-route policy-name
View
Interface view
Default level
2: System level
Parameters
policy-name: Policy name, a string of 1 to 19 characters.
Description
Use ip policy-based-route to configure PBR on the interface.
Use undo ip policy-based-route to remove the configuration.
No policy is referenced for interface PBR by default.
Only one policy can be referenced by an interface for PBR.
The referenced policy applies to all packets arriving on the interface.
Examples
# Configure PBR based on policy aaa on GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] ip policy-based-route aaa
policy-based-route
Syntax
policy-based-route policy-name [ deny | permit ] node node-number
undo policy-based-route policy-name [ deny | node node-number | permit ]