Connectivity Guide

The show ip pim rp mapping command displays the multicast groups to RP mapping and information about how RP is learned.
FHR# show ip pim rp mapping
Group(s) : 224.0.0.0/4, Static
RP : 192.168.1.25, v2
Sample conguration in RP node:
RP# configure terminal
RP(config)# ip multicast-routing
RP(config)# interface ethernet 1/1/31
RP(conf-if-eth1/1/31)# no switchport
RP(conf-if-eth1/1/31)# ip address 3.3.3.1/24
RP(conf-if-eth1/1/31)# ip pim sparse-mode
RP(conf-if-eth1/1/31)# ip ospf 1 area 0
RP(conf-if-eth1/1/31)# exit
RP(config)#
RP(config)# interface ethernet 1/1/43
RP(conf-if-eth1/1/43)# no switchport
RP(conf-if-eth1/1/43)# ip address 1.1.1.2/24
RP(conf-if-eth1/1/43)# ip pim sparse-mode
RP(conf-if-eth1/1/43)# ip ospf 1 area 0
RP(conf-if-eth1/1/43)# exit
RP(config)#
RP(config)# interface loopback 0
RP(conf-if-lo-0)# ip address 192.168.1.25/32
RP(conf-if-lo-0)# ip ospf 1 area 0
RP(conf-if-lo-0)# exit
RP(config)# ip pim rp-address 192.168.1.25 group-address 224.0.0.0/4
RP(config)# end
RP#
RP# configure terminal
RP(config)# router ospf 1
RP(config-router-ospf-1)# end
The show ip pim interface command displays the PIM-enabled interfaces in RP.
RP# show ip pim interface
Address Interface Ver/Mode Nbr Count Query Intvl DR Prio DR
---------------------------------------------------------------------------------------------------
3.3.3.1 ethernet1/1/31 v2/S 1 30 1 3.3.3.2
1.1.1.2 ethernet1/1/43 v2/S 1 30 1 1.1.1.2
RP#
The show ip pim neighbor command displays the PIM neighbor of RP and the interface to reach the neighbor.
RP# show ip pim neighbor
Neighbor Address Interface Uptime/Expires Ver DR Prio/Mode
-----------------------------------------------------------------------------------------------
3.3.3.2 ethernet1/1/31 00:02:57/00:01:17 v2 1 / DR S
1.1.1.1 ethernet1/1/43 00:06:35/00:01:39 v2 1 / S
RP#
Sample conguration in LHR node:
LHR# configure terminal
LHR(config)# ip multicast-routing
LHR(config)# interface ethernet 1/1/17
LHR(conf-if-eth1/1/17)#
LHR(conf-if-eth1/1/17)# no switchport
LHR(conf-if-eth1/1/17)# ip address 1.1.1.1/24
LHR(conf-if-eth1/1/17)# ip pim sparse-mode
LHR(conf-if-eth1/1/17)# ip ospf 1 area 0
LHR(conf-if-eth1/1/17)# exit
LHR(config)#
LHR(config)# interface ethernet 1/1/29
LHR(conf-if-eth1/1/29)# no switchport
LHR(conf-if-eth1/1/29)# ip address 2.2.2.1/24
LHR(conf-if-eth1/1/29)# ip pim sparse-mode
LHR(conf-if-eth1/1/29)# ip ospf 1 area 0
Multicast
657