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.
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. |
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.