Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Description

map <map-name>

Specifies the map name of a PBR policy. The value is a string.

nexthop-group <group-name>

Specifies next-hop group name. The value is a string.

nexthop-vrf  <vrf-name>

Optional. Specifies the name of the VRF for the next-hop route.

  • When a VRF name is specified, find the next hop routing information from the specified VRF domain.

  • When “default” defaultis specified, find the next hop routing information from the default VRF.

nexthop <ip-address>

Specifies next-hop IP, it could be a specific IPv4/IPv6 address. For example, 192.168.1.10.

Usage Guidelines

This command is used to set up advanced routing where you need to direct traffic to a set of next-hops that reside in a particular VRF. This is often used in scenarios involving:

  • Multi-VRF configurations: Where different services or customers have separate routing tables, but you want to manage next-hop forwarding for specific traffic.

  • Load balancing: By defining a group of next-hops, you can balance traffic across multiple paths to improve network performance.

  • Traffic engineering: In some cases, you might want to steer traffic through particular routers or paths within the network for optimization, redundancy, or policy enforcement.

Example

  • Configure next-hop group addresses to direct traffic to a set of next-hops that reside in the default VRF for policy-based routing.

...