HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 336
policy-based-route
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 336 highlights
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. 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