Policy-Based Routing Configuration
© Copyright Lenovo 2017
Use the following commands to set up policy‐based routing.
Note: Multiple access lists can be entered separated by a comma (for example,
"2,5,17"); a range of access lists can be entered using a hyphen (such as "2‐23").
Table 275.
IP Next Hop Configuration Options
Command Syntax and Usage
[no] set ip dscp <0‐63> [accesslist <1‐32>]
Sets the IP DSCP value in the IP header for packets that match route map
policy.
Command mode: Route map
[no] set ip nexthop <IP addresses> [accesslist <1‐32>]
Sets the IP addresses for the next‐hop to which packets are forwarded for each
specified access list. When multiple addresses are specified they are
prioritized in the order in which they are entered. Each next‐hop must be an
adjacent router.
Use the no form of the command to remove the entry.
Command mode: Route map
[no] set ip nexthop verifyavailability <IP address>
<sequence (1‐255)> [arp|icmp] [interval <1‐60>] [retry <1‐3>]
[accesslist <1‐32>]
Performs health‐checking on and inserts the next hop IP address at the
specified place (sequence) in the specified access list using ARP or ICMP as the
tracking protocol. If not successful, the command will retry the health check at
regular intervals of the specified number of seconds for the number of retries
specified by retry. Use the no form of the command to remove the entry.
Default values are arp, 2 seconds, and 3 retries.
Note: This command overrides the "set ip nexthop <IP address>"
command.
Command mode: Route map
[no] set ip precedence <precedence value> [accesslist <1‐32>]
Sets the IP precedence value in the IP header for packets that match route map
policy. You can choose a precendence value between 0 and 7 or one of the
following:
routine sets routine precedence
priority sets priority precedence (1)
immediate sets immediate precedence (2)
flash sets flash precedence (3)
flashoverrride sets flash override precedence (4)
critical sets critical precedence (5)
internet sets internetwork control precedence (6)
network sets network precedence (7)
Command mode: Route map
Chapter 4: Configuration Commands
527