Configuring an RP Address on a Loopback Interface
Before configuring Anycast-Rendezvous Point (RP) on routers in a PIM-SM domain, specify a loopback interface on each router and assign the same IP address to the loopback interfaces. In addition, configure the routers to advertise the RP address through unicast routes to ensure that each router has a reachable route to the RPs.
Procedure
- Run system-view
The system view is displayed.
- Run interface loopback interface-number
The loopback interface view is displayed.
In Anycast-RP, multiple RPs need to use the same IP address on a network. Therefore, configuring loopback interfaces as RPs is recommended.
- Run ip address ip-address { mask | mask-length }
The loopback interface address, that is, the RP address, is configured.
- (Optional) Run pim sm
PIM-SM is enabled on the RP interface.
NOTE:
Run this command before configuring Candidate-Rendezvous Points (C-RPs). If a static RP is used, this command is not required.
- Run commit
The configuration is committed.