next hop index

Function

The next hop index command sets a next hop IP address for an RPF vector path.

The undo next hop index command deletes a specified next hop IP address of an RPF vector path.

By default, no next hop IP address is set for an RPF vector path.

Format

next hop index index ip-address

undo next hop index index [ ip-address ]

Parameters

Parameter Description Value
index

Specifies an index for a next hop address on an RPF vector path.

The value is an integer ranging from 1 to 1024.

ip-address

Specifies a next hop IP address.

The value is a Class A, B, or C IP address, in dotted decimal notation, but cannot be an IP address on the segment 0.0.0.0/8 or 127.0.0.0/8.

Views

RPF vector path view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pim write

Usage Guidelines

Usage Scenario

To manually configure an RPF vector path for multicast traffic forwarding, run the next hop command to set a next hop IP address for each hop on the RPF vector path.

Precautions

A maximum of 22 next hop addresses can be configured for an RPF vector path.

An RPF vector path needs to be planned properly before multicast traffic provisioning. Otherwise, multicast traffic fails to be forwarded.

Example

# Set two next hop addresses for a strict RPF vector path named toPE1.
<HUAWEI> system-view
[~HUAWEI] multicast rpf-vector path toPE1 strict
[*HUAWEI-rpf-vector-path-toPE1] next hop index 1 1.1.1.1
[*HUAWEI-rpf-vector-path-toPE1] next hop index 2 1.1.2.2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >