Pim anycast rp, Configuring pim anycast rp, Pimr2 configuration – Brocade FastIron Ethernet Switch IP Multicast Configuration Guide User Manual

Page 143

Advertising
background image

PIMR2 configuration

The following commands provide the configuration for the PIMR2 router in

Figure 8

.

PIMR2(config)#router ospf

PIMR2(config-ospf-router)# area 0

PIMR2(config-ospf-router)# exit

PIMR2(config)# interface ethernet 1/2

PIMR2(config-if-e1000-1/2)# ip ospf area 0

PIMR2(config-if-e1000-1/2)# ip ospf cost 5

PIMR2(config-if-e1000-1/2)# ip address 192.5.2.2/24

PIMR2(config-if-e1000-1/2)# ip pim-sparse

PIMR2(config)# interface ethernet 1/3

PIMR2(config-if-e1000-1/3)# ip ospf area 0

PIMR2(config-if-e1000-1/3)# ip ospf cost 10

PIMR2(config-if-e1000-1/3)# ip address 192.3.1.2/24

PIMR2(config-if-e1000-1/3)# ip pim-sparse

PIMR2(config-if-e1000-1/3)# exit

PIMR2(config)# router pim

PIMR2(config-pim-router)# rp-address 10.0.0.1

PIMR2(config-pim-router)# exit

PIM Anycast RP

PIM Anycast RP is a method of providing load balancing and fast convergence to PIM RPs in an IPv4
multicast domain. The RP address of the Anycast RP is a shared address used among multiple PIM
routers, known as PIM RP. The PIM RP routers create an Anycast RP set. Each router in the Anycast
RP set is configured using two IP addresses; a shared RP address in their loopback address and a
separate, unique ip address. The loopback address must be reachable by all PIM routers in the
multicast domain. The separate, unique ip address is configured to establish static peering with other
PIM routers and communication with the peers.

When the source is activated in a PIM Anycast RP domain, the PIM First Hop (FH) will register the
source to the closet PIM RP. The PIM RP follows the same MSDP Anycast RP operation by
decapsulating the packet and creating the (s,g) state. If there are external peers in the Anycast RP set,
the router will re-encapsulate the packet with the local peering address as the source address of the
encapsulation. The router will unicast the packet to all Anycast RP peers. The re-encapsulation of the
data register packet to Anycast RP peers ensures source state distribution to all RPs in a multicast
domain.

Configuring PIM Anycast RP

A new PIM CLI is introduced for PIM Anycast RP under the router pim sub mode. The PIM CLI specifies
mapping of the RP and the Anycast RP peers.

To configure PIM Anycast RP, enter the following command.

device(config)#router pim

device(config-pim-router)#rp-address 100.1.1.1

device(config-pim-router)#anycast-rp 100.1.1.1 my-anycast-rp-set-acl

Syntax: [no] anycast-rp rp-address anycast-rp-set-acl

The rp address parameter specifies a shared RP address used among multiple PIM routers.

The anycast-rp-set-acl parameter specifies a host based simple acl used to specifies the address of
the Anycast RP set, including a local address.

The following example is a configuration of PIM Anycast RP 100.1.1.1.The example avoids using
loopback 1 interface when configuring PIM Anycast RP because the loopback 1 address could be used

PIM Anycast RP

FastIron Ethernet Switch IP Multicast Configuration Guide

141

53-1003085-02

Advertising