< Home

state-refresh-ttl (IPv6)

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 minimum 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-IPv6 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After receiving a State-Refresh message, the switch decreases the value of the TTL in the message by 1, and then sends the message to the downstream switch until the value of the TTL becomes 0. If the scale of the network is small, the message is delivered in a loop.

You can use the state-refresh-ttl command to set the value of the TTL according to the scale of the network.

Prerequisites

IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.

Precautions

This command is valid for only PIM-DM (IPv6).

This command takes effect only when it is run on the routers directly connected to the source.

Example

# Set the TTL value for sending PIM State-Refresh messages to 45.

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