HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
419
Related commands
• display ip policy-based-route setup
• policy-based-route
ip policy-based-route
Use ip policy-based-route to configure interface PBR by applying a policy to an interface.
Use undo ip policy-based-route to remove the configuration.
Syntax
ip policy-based-route policy-name
undo ip policy-based-route
Default
No policy is applied to an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. The specified
policy must already exist.
Usage guidelines
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.
Examples
# Apply policy aaa to Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ip policy-based-route aaa
Related commands
• display ip policy-based-route setup
• policy-based-route
policy-based-route
Use policy-based-route to create a policy node and enter policy node view.
Use undo policy-based-route to remove a policy or policy node.
Syntax
policy-based-route policy-name [ deny | permit ] node node-number
undo policy-based-route policy-name [ deny | node node-number | permit ]