Connectivity Guide

R2(config)# interface port-channel 11
R2(conf-if-po-11)# no switchport
R2(conf-if-po-11)# interface port-channel 11
R2(conf-if-po-11)# ip vrf forwarding red
R2(conf-if-po-11)# ip address 193.1.1.2/24
R2(conf-if-po-11)# ip pim sparse-mode
R2(conf-if-po-11)# no shutdown
R2(conf-if-po-11)# end
R2# configure terminal
R2(config)# interface Lo0
R2(conf-if-lo-0)# ip vrf forwarding red
R2(conf-if-lo-0)# ip address 4.4.4.4/32
R2(conf-if-lo-0)# ip pim sparse-mode
R2(conf-if-lo-0)# no shutdown
R2(conf-if-lo-0)# end
R2# configure terminal
R2(config)# router ospf 100 vrf red
R2(config-router-ospf-100)# interface vlan 2001
R2(conf-if-vl-2001)# ip ospf 100 area 0
R2(conf-if-vl-2001)# end
R2# configure terminal
R2(config)# router ospf 100 vrf red
R2(config-router-ospf-100)# interface port-channel 11
R2(conf-if-po-11)# ip ospf 100 area 0
R2(conf-if-po-11)# end
R2# configure terminal
R2(config)# ip multicast-routing vrf red
R2(config)# end
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 conguration
To verify the conguration, 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 specied 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
662
Multicast