Configuring Next-Hop Groups

Next-hop groups allow you to include multiple interfaces used to forward duplicate packets used in port mirroring.

To configure a next-hop group, include the next-hop-group statement at the [edit forwarding-options] hierarchy level:

[edit forwarding-options]next-hop-group [ group-names ] {interface interface-name {next-hop [ addresses ];}}

You can specify one or more group names. To configure the interface that sends out sampled information, include the interface statement and specify an interface. To specify a next-hop address to send sampled information, include the next-hop statement and specify an IP address.

Next-hop groups have the following restrictions:

Note: When routes are exported, RIPv2 supports third-party next hops specified in policies, such as Virtual Router Redundancy Protocol (VRRP) groups.

Next-hop groups can be used for port mirroring. For more information about configuring port mirroring, see Configuring Port Mirroring and the JUNOS Feature Guide.