Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The set routing nexthop-group nexthop-vrf nexthop command configures next-hop group addresses to direct traffic to a set of next-hops that reside in a particular VRF for policy-based routing. The next-hop addresses must be directly connected and reachable without supporting recursion.

The delete routing nexthop-group nexthop-vrf nexthop command deletes the configuration.

Command Syntax

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

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” is 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.

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.

admin@PICOS# set routing nexthop-group group1 nexthop-vrf default nexthop 10.30.1.10
admin@PICOS# set routing nexthop-group group1 nexthop-vrf default nexthop 10.30.2.20
admin@PICOS# commit
  • No labels