Configuration Condition
Before configuring the multicast source register, 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 RP Reachability Check
Before source DR sends the register packet to RP, first perform the RP reachability check. If finding that the RP route is not reachable, do not register to RP, so as to reduce the cost of the DR.
Table 7–7 Configure the RP reachability check
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Configure the RP reachability check
|
ip pim register-rp-reachability [ vrf vrf-name ]
|
Mandatory
By default, before performing the PIM register, do not check the RP reachability.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
To reduce the cost of the source DR, it is suggested to configure the command on the source DRs of all PIM-SMs.
Configure Sending Rate of Register Packets
When the source DR receives the multicast packet, encapsulate the multicast packet to the register packet and send to RP for source register until the registration is complete..
When the source DR does not complete the multicast source register and the multicast flow is large, generate lots of register packets, which increase the load of the RP device. Even RP cannot work normally. Source DR does not need to transmit all register packets of one flow to RP, so configuring the rate of sending the register packets at the source DR not only can reach the purpose of source registration, but also can reduce the RP load.
Table 7–8 Configure the rate of sending the register packet
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Configure the rate of sending the register packet
|
ip pim register-rate-limit rate-limit-value [ vrf vrf-name ]
|
Mandatory
By default, do not limit the rate of sending the register packet.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
To reduce the RP load, it is suggested to configure the rate of sending the source register packets on all source DRs.
Configure Sending Rate of Register Stop Packets
After RP receives the register packet of the source DR, send the register stop packet to the source DR to complete the registration. When the RP receives lots of register packets, it is necessary to reply all register packets (send register stop packet). In fact, there are lots of repeated packets in the register stop packets. You can limit the rate of sending the register stop packet on RP to reduce the cost of RP.
Table 7–9 Configure the rate of sending the register stop packet
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Configure the rate of sending the register stop packet
|
ip pim register-stop-rate-limit rate-limit-value [ vrf vrf-name ]
|
Mandatory
By default, do not limit the rate of sending the register stop packet.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
To improve the robustness of the whole PIM-SM network, it is suggested to limit the rate of the source register stop packet on all RPs.
Configure Source Address of Register Packet
When the source DR performs the source register, the source address of the register packet uses the IP address of the register interface automatically registered by the system. The command can specify the source address of the register packet as the IP address of one interface on the device to meet some special demand of the network.
Table 7–10 Configure the source address of the register packet
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Configure the source address of the register packet
|
ip pim register-source interface interface-name [ vrf vrf-name ]
|
Mandatory
By default, use IP address of the register interface automatically registered by the system as the source address of the register packet.
|
Configure Register Packet Filter
To prevent the source register attack, you can use ACL on RP to perform the multicast source filter for the register packet. Only the multicast source permitted by ACL can register successfully on RP.
Table 7–11 Configure the register packet filter
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Configure the register packet filter
|
ip pim accept-register list { access-list-number | acees-list-name } [ vrf vrf-name ]
|
Mandatory
By default, do not filter the register packet.
|