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 2017
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 8264CS(config)# ip pim enable
RS 8264CS(config)# ip pim component 1
RS 8264CS(config-ip-pim-comp)# mode sparse
RS 8264CS(config-ip-pim-comp)# rp-candidate rp-address 225.1.0.0
255.255.0.0 10.10.1.1
RS 8264CS(config-ip-pim-comp)# rp-candidate holdtime <0‐255>
RS 8264CS(config-ip-pim-comp)# 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 8264CS(config)# interface ip 111
RS 8264CS(config-ip-if)# ip address 10.10.1.1 255.255.255.255
RS 8264CS(config-ip-if)# vlan 11
RS 8264CS(config-ip-if)# 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 8264CS(config-ip-if)# ip pim enable
RS 8264CS(config-ip-if)# ip pim component-id 1
Note: Because, PIM component 1 is assigned to the interface by default, the
component-id command is needed only if the setting has been previously
changed.
RS 8264CS(config-ip-if)# ip pim cbsr-preference 135
RS 8264CS(config-ip-if)# exit
Chapter 30: Protocol Independent Multicast
507