Users Guide

Table Of Contents
route-map pbr-statistics
Enables counters for PBR statistics.
Syntax
route-map [map-name] pbr-statistics
Parameters map-nameEnter the name of a configured route-map. A maximum of 140 characters.
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
None
Example
OS10(config)# route-map map1 pbr-statistics
Supported
Releases
10.3.0E or later
set next-hop
Sets an IPv4 or IPv6 next-hop address for policy-based routing.
Syntax
set {ip | ipv6} vrf [vrf-name] next-hop address
Parameters
vrf vrf-name Enter the keyword then the name of the VRF to make the next-hop reachable
over that VRF.
address Enter the next-hop IPv4 or IPv6 address.
Defaults Not configured
Command Mode ROUTE-MAP
Usage
Information
You must configure next-hop IP address tracking and PBR next-hop with the same VRF instance. For
next-hop reachability in the same VRF instance, you must configure both PBR per VRF and object
tracking. Missing either the next-hop IP address tracking or PBR next-hop configuration in a VRF instance
results in an erroneous configuration. However, the system does not display an error message indicating
problems in the configuration.
The set {ip | ipv6} next-hop command supports multiple next-hop addresses for PBR route-
map configuration. If you enter multiple next-hop entries for BGP route-map configuration or RTM route
redistribution, the system uses only the first entry and ignores the rest of the entries.
Example
OS10(conf-route-map)# set ip next-hop 10.10.10.10
*Sets the next-hop IP address.
OS10(conf-route-map)#set ip vrf red next-hop 2.2.2.2
*The next-hop 2.2.2.2 should be reachable via interface over VRF "red".
Supported
Releases
10.3.0E or later
set next-hop track
Tracks the next-hop IPv4 or IPv6 address object.
Syntax
set {ip | ipv6} vrf [vrf-name] next-hop address track track-id
Parameters
addressEnter an IPv4 or IPv6 address.
vrf vrf-name Enter the keyword then the name of the VRF to track the next-hop reachable
through that VRF.
track-id(Optional) Enter the track ID of the PBR object.
Defaults Not configured
Layer 3 1009