Pim configuration examples, Example 1: pim-sm with dynamic rp – Blade ICE RACKSWITCH G8124-E User Manual

Page 311

Advertising
background image

BLADEOS 6.5.2 Application Guide

BMD00220, October 2010

Chapter 21: Protocol Independent Multicast 311

PIM Configuration Examples

Example 1: PIM-SM with Dynamic RP

This example configures PIM Sparse Mode for one IP interface, with the switch acting as a
candidate for dynamic Rendezvous Point (RP) selection.

1.

Globally enable the PIM feature:

2.

Configure a PIM network component with dynamic RP settings, and set it for PIM Sparse Mode:

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.

3.

Define an IP interface for use with PIM:

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.

4.

Enable PIM on the IP interface and assign the PIM component:

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.

5.

Set the Bootstrap Router (BSR) preference:

RS G8124(config)# ip pim enable

RS G8124(config)# ip pim component 1

RS G8124(config-ip-pim-comp)# mode sparse

RS G8124(config-ip-pim-comp)# rp-candidate rp-address 225.1.0.0

255.255.0.0 10.10.1.1

RS G8124(config-ip-pim-comp)# exit

RS G8124(config)# interface ip 111

RS G8124(config-ip-if)# ip address 10.10.1.1 255.255.255.255

RS G8124(config-ip-if)# vlan 11

RS G8124(config-ip-if)# enable

RS G8124(config-ip-if)# ip pim enable

RS G8124(config-ip-if)# ip pim component-id 1

RS G8124(config-ip-if)# ip pim cbsr-preference 135

RS G8124(config-ip-if)# exit

Advertising
This manual is related to the following products: