next-hop-group (Forwarding Options)
Statement introduced before Junos OS Release 7.4.
Specify the next-hop address for sending copies of packets to an analyzer.
The commit operation fails when a next-hop group has only one interface configured. It is implicitly assumed that a subgroup is up only if more than one interface in the subgroup is up.
In Junos OS releases earlier through Release 14.2, the next-hop-group statement is present in the forwarding-options stanza for a routing instance, but the next-hop-group statement is not allowed in a routing instance. In other words, in a routing instance, [edit routing-instances routing-instance-name forwarding-options next-hop-group] is not supported. You will get an error message if you try to commit this type of configuration. Starting in Junos OS Release 14.2, the next-hop-group statement is not present in [edit routing-instances routing-instance-name forwarding-options].
addresses—IP address of the next-hop router. Each next-hop group supports up to 16 next-hop addresses. Up to 30 next-hop groups are supported. Each next-hop group must have at least two next-hop addresses.
group-names—Name of next-hop group. Up to 30 next-hop groups are supported for the router. Each next-hop group must have at least two next-hop addresses.
interface-name—Interface used to reach the next-hop destination.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.