< Home

state-refresh-ttl (IPv4)

Function

The state-refresh-ttl command sets the TTL value for sending PIM State-Refresh messages.

The undo state-refresh-ttl command restores the default value of the TTL.

By default, the TTL value for sending PIM State-Refresh messages is 255.

Format

state-refresh-ttl ttl-value

undo state-refresh-ttl

Parameters

Parameter Description Value
ttl-value Specifies the TTL value of the PIM State-Refresh message sent by an interface. The value is an integer that ranges from 1 to 255.

Views

PIM view of public network instance or PIM view of VPN instance

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After receiving a State-Refresh message, a switch decreases the TTL value in the message by 1, and then sends the message to the downstream device until the value of the TTL becomes 0. If the network is small, the message is delivered in a loop. You can use the state-refresh-ttl command to set an appropriate TTL value depending on the scale of your network.

Prerequisites

IP multicast routing has been enabled using the multicast routing-enable command in the public network instance or VPN instance.

Precautions

This command is valid for only PIM-DM.

This command takes effect only on the switch directly connected to a source.

Example

# Set the TTL value for sending PIM State-Refresh messages to 45 in the PIM view of public network instance.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] pim
[HUAWEI-pim] state-refresh-ttl 45
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >