API Guide

LHR# configure terminal
LHR(config)# router ospf 1
LHR(config-router-ospf-1)# end
The show ip pim interface command displays the PIM-enabled interfaces in LHR.
LHR# show ip pim interface
Address Interface Ver/Mode Nbr Count Query Intvl DR Prio DR
----------------------------------------------------------------------------
2.2.2.1 ethernet1/1/1 v2/S 1 30 1 2.2.2.2
1.1.1.1 ethernet1/1/26:1 v2/S 1 30 1 1.1.1.2
15.1.1.1 vlan2001 v2/S 0 30 1 15.1.1.1
The show ip pim neighbor command displays the PIM neighbor of LHR and the interface to reach the neighbor.
LHR# show ip pim neighbor
Neighbor Address Interface Uptime/Expires Ver DR Priority/Mode
---------------------------------------------------------------------
2.2.2.2 ethernet1/1/17 00:02:58/00:01:24 v2 1 / DR S
1.1.1.2 ethernet1/1/29 00:07:49/00:01:31 v2 1 / DR S
LHR# show ip pim rp mapping
Group(s) : 224.0.0.0/4, Static
RP : 192.168.1.25, v2
The following show command output examples display the PIM states across all nodes after IGMP join and multicast traffic is
received.
PIM states in FHR node
The show ip pim tib command output displays the PIM tree information base (TIB).
FHR# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(22.1.1.10, 224.1.1.1), uptime 00:02:20, expires 00:01:09, flags: T
Incoming interface: ethernet1/1/48, RPF neighbor 0.0.0.0
Outgoing interface list:
ethernet1/1/17 Forward/Sparse 00:00:19/00:03:10
The show ip pim mcache command output displays multicast route entries.
FHR# show ip pim mcache
PIM Multicast Routing Cache Table
(22.1.1.10,224.1.1.1)
Incoming interface : ethernet1/1/48
Outgoing interface list :
ethernet1/1/17
PIM states in RP node
RP# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(*, 224.1.1.1), uptime 00:00:57, expires 00:00:00, RP 192.168.1.25, flags: S
Incoming interface: Null, RPF neighbor 0.0.0.0
824
Multicast