API Guide

R2# configure terminal
R2(config)# ip access-list test
R2(config-ipv4-acl)# permit ip any 224.1.1.0/24
R2(config-ipv4-acl)# exit
R2(config)# ip pim vrf red ssm-range test
R2(config)# end
Verify the configuration
To verify the configuration, use the following show commands on R1:
The show ip pim vrf red neighbor command displays the PIM neighbor of R1 and the interface through which the
neighbor is reached.
R1# show ip pim vrf red neighbor
Neighbor Address Interface Uptime/Expires Ver DR Priority / Mode
---------------------------------------------------------------------------
193.1.1.2 port-channel11 02:34:33/00:01:17 v2 1 / DR S
The show ip pim vrf red ssm-range command displays the specified multicast address range.
R1# show ip pim vrf red ssm-range
Group Address / MaskLen
224.1.1.0 / 24
The show ip pim vrf red tib command output displays the PIM tree information base (TIB).
R1# show ip pim vrf red 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
(201.1.1.1, 224.1.1.1), uptime 00:19:42, expires 00:00:47, flags: T
Incoming interface: ethernet1/1/7, RPF neighbor 0.0.0.0
Outgoing interface list:
port-channel11 Forward/Sparse 00:00:37/00:02:52
The show ip pim vrf red mcache command output displays multicast route entries.
R1# show ip pim vrf red mcache
PIM Multicast Routing Cache Table
(201.1.1.1, 224.1.1.1)
Incoming interface : ethernet1/1/7
Outgoing interface list :
port-channel11
Use the following show commands on R2:
The show ip igmp vrf red groups command output displays the IGMP database.
R2# show ip igmp vrf red groups
Total Number of Groups: 1
IGMP Connected Group Membership
Group Address Interface Mode Uptime Expires Last Reporter
224.1.1.1 vlan2001 Include 00:00:03 Never 208.1.1.1
The show ip pim vrf red tib command output displays the PIM tree information base (TIB).
R2# show ip pim vrf red 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
(201.1.1.1, 224.1.1.1), uptime 00:00:06, expires 00:03:23, flags: CT
828
Multicast