PIM can complete the RPF checking function by using the unicast routing table established by various unicast routing protocols. Instead of maintaining a separate multicast routing table to implement multicast forwarding, it realizes the forwarding of the group broadcast text with the help of RPF mechanism, and when the group broadcast arrives at the local equipment, it RPF check first: If RPF check passes, The corresponding Multicast routing table entry is created to transmit the group broadcast; if the RPF check fails, the message is discarded.
To configure the router as a member of the HSRP backup group, you can use the following command in interface configuration mode:
Router (config-if) # standby Group-number IP ip-address
Second, in order for a router to resume the role of the forwarding router, in the interface configuration mode:
Router (config-if) # Standy Group-number preempt
Three, the access time and the retention time parameters are configurable:
Router (config-if) # Standy Group-number timers Hellotime Holdtime
Iv. Configure HSRP Tracking:
Router (config-if) # Standy Group-number track Type-number interface-priority
V. Use the command show IP IGMP to determine the selected query:
router# Show standby Type-number Group Brief
Six, start IP multicast route selection:
Router (config) # IP muticast-routing
Vii. PIM on Start interface:
Dalllasr1> (config-if) # IP PIM {Dense-mode|sparse-mode|sparse-dense-mode}
Start the PIM in sparse-dense mode:
router# IP multicast-routing
router# interface Type number
router# IP PIM sparse-dense-mode
Ix. verifying the configuration of PIM:
dallasr1># show ip PIM interface[type number] [count]
Ten, show PIM neighbors:
dallasr1># show ip Neighbor type number
To configure the address of the RP, the commands are as follows:
dallasr1># IP PIM rp-address ip-address [Group-access-list-number][override]
12. Select a default RP:
dallasr1># IP PIM rp-address
13, notify the RP and the group it serves:
dallasr1># IP PIM send-rp-announce type number scope TTL group-list access-list-number
14. Notify the RP's address for the management scope Group:
dallasr1># IP PIM send-rp-announce ethernet0 scope group-list1
dallasr1># access-list 1 Permit 266.0.0.0 0.255.255.255
Set up an RP image agent:
dallasr1># IP PIM send-rp-discovery scope TTL
16, verify the group to the RP Image:
dallasr1># show ip PIM RP Mapping
dallasr1># show ip PIM RP [group-name|group-address] [mapping]
17, on the router interface with the command IP multicast ttl-threshold ttl-value set TTL threshold:
Dallasr1> (config-if) # IP multicast ttl-threshold ttl-value
18, with show IP PIM neighbor display PIM neighbor table.
Dallasr1>show IP mroute [group-name|group-address][scoure][summary][count][active kbps]