PIM is the abbreviation of Protocol Independent Multicast (protocol-independent multicast), which means that it can provide routing for IP multicast by using a unicast routing table generated by static routes or any unicast routing protocol (including RIP, OSPF, Is-is, BGP, etc.). Multicast routing has nothing to do with unicast routing protocol, so long as it can generate the corresponding multicast routing table entry through unicast routing protocol.
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
In order for a router to resume the role of the forwarding router, in interface configuration mode:
Router (config-if) # Standy Group-number preempt
The access time and the hold time parameters are configurable:
Router (config-if) # Standy Group-number timers Hellotime Holdtime
To configure HSRP tracking:
Router (config-if) # Standy Group-number track Type-number interface-priority
To display the status of the HSRP router:
router# Show standby Type-number Group Brief
Use the command show IP IGMP to determine the selected query.
To start IP multicast routing:
Router (config) # IP muticast-routing
To start the PIM on the interface:
Dalllasr1> (config-if) # IP PIM {dense-mode sparse-mode Sparse-dense-mode}
To start the PIM in sparse-dense mode:
router# IP multicast-routing router# interface type number router# IP PIM sparse-dense-mode Verify the PIM configuration:
dallasr1># show ip PIM interface[type number] [count]
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/
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]
Select a default RP:
dallasr1># IP PIM rp-address
Advertise the RP and the group scope it serves:
dallasr1># IP PIM send-rp-announce type number scope TTL group-list access-list-number
To advertise an RP's address for an administrative scope group:
dallasr1># IP PIM send-rp-announce ethernet0 scope group-list1 dallasr1># access-list 1 Permit 266.0.0.0 0.255.25 5.255 set an RP image agent:
dallasr1># IP PIM send-rp-discovery scope TTL
To verify the group's image to the RP:
dallasr1># show ip PIM RP mapping dallasr1># show ip PIM RP [group-name group-address] [mapping] use command IP on router interface multic AST Ttl-threshold Ttl-value set TTL threshold:
Dallasr1> (config-if) # IP multicast ttl-threshold ttl-value
Display the PIM neighbor table with show ip PIM neighbor.
Displays the records in the Multicast Traffic routing table:
Dallasr1>show IP mroute [group-name group-address][scoure][summary][count][active Kbps]
To record all IP multicast packets that a router accepts and sends:
dallasr1> #debug IP mpacket [detail] [Access-list][group]
The relevant configuration of PIM in routing basics for everyone to sum up here, I hope that the understanding of the above content will not be limited to this, there are more content to wait for the reader to understand, we will continue to organize for everyone.