API Guide

Sample configuration in FHR node:
FHR# configure terminal
FHR(config)#
FHR(config)# ip multicast-routing
FHR(config)# interface ethernet 1/1/31
FHR(conf-if-eth1/1/31)# no switchport
FHR(conf-if-eth1/1/31)# ip address 3.3.3.2/24
FHR(conf-if-eth1/1/31)# ip pim sparse-mode
FHR(conf-if-eth1/1/31)# ip ospf 1 area 0
FHR(conf-if-eth1/1/31)# exit
FHR(config)#
FHR(config)# interface ethernet 1/1/17
FHR(conf-if-eth1/1/17)#
FHR(conf-if-eth1/1/17)# no switchport
FHR(conf-if-eth1/1/17)# ip address 2.2.2.2/24
FHR(conf-if-eth1/1/17)# ip pim sparse-mode
FHR(conf-if-eth1/1/17)# ip ospf 1 area 0
FHR(conf-if-eth1/1/17)# exit
FHR(config)# router ospf 1
FHR(config-router-ospf-1)# exit
FHR(config)# ip pim rp-address 192.168.1.25 group-address 224.0.0.0/4
FHR(config)#
FHR# configure terminal
FHR(config)# interface ethernet 1/1/48
FHR(conf-if-eth1/1/48)# no switchport
FHR(conf-if-eth1/1/48)# ip address 22.1.1.2/24
FHR(conf-if-eth1/1/48)# ip pim sparse-mode
FHR(conf-if-eth1/1/48)# ip ospf 1 area 0
FHR(conf-if-eth1/1/48)#
The show ip pim interface command displays the PIM-enabled interfaces in FHR.
FHR# show ip pim interface
Address Interface Ver/Mode Nbr Count Query Intvl DR Prio DR
---------------------------------------------------------------------------------------------------
2.2.2.2 ethernet1/1/17 v2/S 1 30 1 2.2.2.2
3.3.3.2 ethernet1/1/31 v2/S 1 30 1 3.3.3.2
22.1.1.2 ethernet1/1/48 v2/S 0 30 1 22.1.1.2
FHR#
The show ip pim neighbor command displays the PIM neighbor of FHR and the interface to reach the neighbor.
FHR# show ip pim neighbor
Neighbor Address Interface Uptime/Expires Ver DR
Priority/Mode
-----------------------------------------------------------------------------------------
----
2.2.2.1 ethernet1/1/17 00:04:31/00:01:43 v2 1 /
S
3.3.3.1 ethernet1/1/31 00:05:45/00:01:31 v2 1 /
S
FHR#
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 configuration 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)#
822
Multicast