Device(config-if)#
exit
Device(config)#
interface GigabitEthernet3/0/20
Device(config-if)#
ip pim passive
Device(config-if)#
exit
Device(config)#
interface vlan100
Device(config-if)#
ip address 100.1.1.1 255.255.255.0
Device(config-if)#
ip pim passive
Device(config-if)#
exit
Device(config)#
interface GigabitEthernet3/0/20
Device(config-if)#
no switchport
Device(config-if)#
ip address 10.1.1.1 255.255.255.0
Device(config-if)#
ip pim passive
Device(config-if)#
end
Related Topics
Enabling PIM Stub Routing (CLI), on page 124
PIM Stub Routing, on page 116
Example: Verifying PIM Stub Routing
To verify that PIM stub is enabled for each interface, use the
show ip pim interfac
e privileged EXEC
command:
Device#
show ip pim interface
Address Interface Ver/ Nbr Query DR DR
Mode Count Intvl Prior
3.1.1.2 GigabitEthernet3/0/25 v2/SD 1 30 1 3.1.1.2
100.1.1.1 Vlan100 v2/P 0 30 1 100.1.1.1
10.1.1.1 GigabitEthernet3/0/20 v2/P 0 30 1 10.1.1.1
Example: Manually Assigning an RP to Multicast Groups
This example shows how to configure the address of the RP to 147.106.6.22 for multicast group 225.2.2.2
only:
Device(config)#
access-list 1 permit 225.2.2.2 0.0.0.0
Device(config)#
ip pim rp-address 147.106.6.22 1
Example: Configuring Auto-RP
This example shows how to send RP announcements out all PIM-enabled interfaces for a maximum of 31
hops. The IP address of port 1 is the RP. Access list 5 describes the group for which this device serves as RP:
Device(config)#
ip pim send-rp-announce gigabitethernet1/0/1 scope 31 group-list 5
Device(config)#
access-list 5 permit 224.0.0.0 15.255.255.255
Related Topics
Setting Up Auto-RP in a New Internetwork (CLI), on page 129
Auto-RP, on page 117
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3650 Switches)
OL-29890-01
157
Configuring PIM
Example: Verifying PIM Stub Routing