PIM Configuration Examples
Example 1: PIM-SM with Dynamic RP
1. Globally enable the PIM feature:
2. Configure a PIM network component with dynamic RP settings, and set it for PIM
Sparse Mode:
3. Define an IP interface for use with PIM:
4. Enable PIM on the IP interface and assign the PIM component:
5. Set the Bootstrap Router (BSR) preference:
© Copyright Lenovo 2016
The following are examples of configuring Protocol Independent Multicast with
various options.
This example configures PIM Sparse Mode for one IP interface, with the switch
acting as a candidate for dynamic Rendezvous Point (RP) selection.
RS G8264(config)# ip pim enable
RS G8264(config)# ip pim component 1
RS G8264(configippimcomp)# mode sparse
RS G8264(configippimcomp)# rpcandidate rpaddress 225.1.0.0
255.255.0.0 10.10.1.1
RS G8264(configippimcomp)# rpcandidate holdtime <0‐255>
RS G8264(configippimcomp)# exit
Where 225.1.0.0 is the multicast group base IP address, 255.255.0.0 is the multicast
group address mask, and 10.10.1.1 is the switch RP candidate address.
Note: Because, Sparse Mode is set by default for PIM component 1, the mode
command is needed only if the mode has been previously changed.
RS G8264(config)# interface ip 111
RS G8264(configipif)# ip address 10.10.1.1 255.255.255.255
RS G8264(configipif)# vlan 11
RS G8264(configipif)# enable
The IP interface represents the PIM network being connected to the switch. The
IPv4 addresses in the defined range must not be included in another IP interface on
the switch under a different VLAN.
RS G8264(configipif)# ip pim enable
RS G8264(configipif)# ip pim componentid 1
Note: Because, PIM component 1 is assigned to the interface by default, the
componentid command is needed only if the setting has been previously
changed.
RS G8264(configipif)# ip pim cbsrpreference 135
RS G8264(configipif)# exit
Chapter 36: Protocol Independent Multicast
593