< Home

pim hello-option neighbor-tracking

Function

The pim hello-option neighbor-tracking command enables the neighbor tracking function in the interface view.

The undo pim hello-option neighbor-tracking command restores the default configuration.

By default, the neighbor tracking function is not enabled.

Format

pim hello-option neighbor-tracking

undo pim hello-option neighbor-tracking

Parameters

None

Views

GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view, tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When sending a Hello message, the switch generates a Generation ID and encapsulates it into the message. The Generation ID changes only when the status of the switch changes. In this case, the neighboring device detects the Generation ID change after receiving the Hello message and immediately sends a Join message to the switch to update the neighbor relationship. If multiple devices on the shared network segment prepare to send Join messages to the same upstream PIM neighbor, only one device is allowed to send the Join message. After other devices detect the Join message, they do not send Join messages to the upstream neighbor. This means that the upstream neighbor cannot update neighbor relationships with downstream devices after a Generation ID change.

After the neighbor tracking function is enabled, when the device detects Join messages from other devices, the device still sends the Join messages to the same upstream PIM neighbor.

Prerequisites

IP multicast routing has been enabled using the multicast routing-enable command.

Precautions

This command is valid for only PIM-SM.

Neighbor tracking can be implemented only when all devices on the shared network segment have this function enabled.

The pim hello-option neighbor-tracking command has the same function as the hello-option neighbor-tracking (IPv4) command in the PIM view. By default, if the pim hello-option neighbor-tracking command is not used, the configuration in the PIM view takes effect; otherwise, the configuration in the interface view takes effect.

Example

# Enable the neighbor tracking function on VLANIF100.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] pim hello-option neighbor-tracking
# Enable the neighbor tracking function on GE0/0/1.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] pim hello-option neighbor-tracking
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >