...
set routing nexthop-group <group-name> nexthop-vrf <vrf-name> nexthop <ip-address>
delete routing nexthop-group <group-name> nexthop-vrf <vrf-name> nexthop
...
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.
|
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.
When multiple next-hop IP addresses exist, the device performs redirection and forwarding of packets using load balancing. The device distributes the load based on the packet's 4-tuple: source/destination IP address and source/destination port, to select the next-hop.
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.
...