Technical Documentation

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:

  • Next-hop groups are supported for M Series routers only.
  • Next-hop groups support up to 16 next-hop addresses.
  • You can configure up to 30 next-hop groups.
  • Each next-hop group must have at least two next-hop addresses.

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.

Related Topics


Published: 2010-07-16