98
To enable the state refresh feature on all routers in PIM-DM domain:
Ste
Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Enable the state refresh
feature.
pim state-refresh-capable
By default, the state refresh
feature is enabled.
Configuring state refresh parameters
The router that directly connects to the multicast source periodically sends state refresh messages. You
can configure the interval for sending such messages on that router.
A router might receive duplicate state refresh messages within a short time. To prevent this situation, you
can configure a waiting timer for the router. The router starts a timer when it receives a state refresh
message. If the router receives state refresh messages before the timer expires, it discards the messages.
If the router receives a new state refresh message after the timer expires, it refreshes its own PIM-DM state
and restarts a waiting timer.
After a router receives a state refresh message, it decreases the TTL value of a state refresh message by
1 and forwards the message to the downstream node. The forwarding process stops when the TTL value
comes down to 0. In a small network, a state refresh message might cycle in the network. To effectively
control the propagation scope of state refresh messages, configure an appropriate TTL value based on
the network size on the router that directly connects to the multicast source.
To configure state refresh parameters:
Ste
Command Remarks
1. Enter system view.
system-view N/A
2. Enter PIM view.
pim [ vpn-instance
vpn-instance-name ]
N/A
3. Configure the interval to send state
refresh messages.
state-refresh-interval interval
The default setting is 60
seconds.
4. Configure the time to wait before
receiving a new state refresh
message.
state-refresh-rate-limit time
The default setting is 30
seconds.
5. Configure the TTL value of state
refresh messages.
state-refresh-ttl ttl-value The default setting 255.
Configuring PIM-DM graft retry timer
In PIM-DM, only the graft process uses the acknowledgment mechanism. After a router sends a graft
message, it starts a graft retry timer. If the router does not receive a graft-ack message from the upstream
router when the timer expires, the router sends another graft message. The router keeps sending graft
messages until it receives a graft-ack message.
For more information about the configuration of other timers in PIM-DM, see "Configuring common PIM
timer
s."