Enterasys Networks N Standalone (NSA) Series Switch User Manual


  Open as PDF
of 1372
 
Security Configuration Command Set
Configuring Policy-Based Routing
Matrix NSA Series Configuration Guide 14-181
14.3.13.8 ip policy load-policy
Use this command to configure PBR next hop behavior. When more than one next hop is configured
(using the set next hop command as described in Section 14.3.13.4) the load policy specifies
choosing one next hop from among the sequence of next hops in the map matching the current
packet. A next hop is considered available by default unless a pinger task is running and has flagged
it as unavailable.
ip policy load-policy {[first-available] [round-robin] [ip-hash {sip | dip |
both}]}
Syntax Description
Command Syntax of the “no” Form
The “no” form of this command resets the next hop behavior to first-available:
no ip policy load-policy
Command Type
Router command.
Command Mode
Interface configuration: Matrix>Router1(config-if(Vlan <vlan_id>))#
Command Defaults
If pinger is not specified, none is configured.
Example
This example shows how to set the load policy behavior on VLAN 1 to “round-robin”:
first-available |
round-robin |
ip-hash sip | dip |
both
Specifies next hop selection behavior as:
first-available (default) - uses the first available next
hop from the list of next hops
round-robin - circulates among the available next hops
in the list.
ip-hash sip | dip | both - chooses a next hop based on a
XOR hash of the IP source address, the IP destination
address, or both.
Matrix>Router1(config)#interface vlan 1
Matrix>Router1(config-if(Vlan 1))#ip policy load-policy round-robin