Policy-Based-Route - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

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 VLAN-interface 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-Vlan2] interface vlan-interface 2
[Sysname-Vlan-interface2] 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 ]
Default
No policy node is created.
Views
System view
Predefined user roles
network-admin
Parameters
policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters.
deny: Specifies the match mode for the policy node as deny.
permit: Specifies the match mode for the policy node as permit (default mode).
node node-number: Specifies a policy node by its number in the range of 0 to 255. A smaller number
has a higher priority.
325

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents