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