Configure PIM-SM Neighbor Parameters
Configuration Condition
Before configuring the PIM-SM neighbor parameters, first complete the following tasks:
- Configure the network layer address of the interface, making the neighboring node network layer reachable
- Configure any unicast route protocol, making the intra-domain route reachable
- Enable the PIM-SM protocol
Configure Sending Period of Hello Packets
The interface enabled with the PIM protocol periodically sends the Hello packets to set up and maintain the PIM neighbor.
Table 7–12 Configure the period of sending the Hello packet
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Configure the period of sending the Hello packet
|
ip pim hello-interval interval-value
|
Optional
By default, the period of sending the Hello packet is 30s.
|
Configure Neighbor Keepalive Time
When the interface receives the Hello packets of one neighbor, record the holdtime carried in the Hello packet as the keepalive time of the neighbor. If not receiving the Hello packet of the neighbor within the keepalive time, it is regarded that the neighbor becomes invalid.
Table 7–13 Configure PIM-SM neighbor keepalive time
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Configure PIM-SM neighbor keepalive time
|
ip pim hello-holdtime holdtime-value
|
Optional
By default, the keepalive time of the PIM-SM neighbor is 105s.
|
Configure Neighbor Filter
If there are many PIM neighbors in one subnet, you can use the neighbor filter function to set up the neighbor selectively, so as to save the resources of the device.
Table 7–14 Configure the neighbor filter
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Configure the neighbor filter
|
ip pim neighbor-filter { access-list-number | acees-list-name }
|
Mandatory
By default, do not enable the neighbor filter function.
|
Configure DR Priority
DR plays one important role in the PIM-SM network, so selecting the appropriate DR is important. You can select the appropriate device as DR by configuring the DR priority.
One PIM-SM subnet only permits one DR. According to the function, DR can be divided to source DR and receiving DR.
The main function of the source DR is to perform the source register to RP.
The main function of the receiving DR is to add to RP and set up the switching of RPT and SPT.
Table 7–15 Configure the DR priority
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Configure the DR priority
|
ip pim dr-priority priority-value
|
Optional
By default, the DR priority is 1.
|
-
DR election rules:
- Compare the priorities. The larger the value, the higher the priority. The one with highest priority wins.
- If the priority is the same, the one with the largest IP address wins.