PLANET XGS3-24040 User Manual

Page 372

Advertising
background image

Chapter 43 Ipv4 Multicast Protocol

43-26

2. Configure ANYCAST RP v4

1. Enable ANYCAST RP v4 function

Command

Explanation

Global Configuration Mode

ip pim anycast-rp

no ip pim anycast-rp

Enable ANYCAST RP function. (necessary)

No operation will globally disable ANYCAST

RP function.

2. Configure ANYCAST RP v4

(1) Configure the RP candidate

Command

Explanation

Global Configuration Mode

ip pim rp-candidate {vlan<vlan-id>

|loopback<index> |<ifname>} [<A.B.C.D>]

[<priority>]

no ip pim rp-candidate

Now, the PIM-SM has allowed the Loopback

interface to be a RP candidate.(necessary)

Please pay attention to that, ANYCAST RP

protocol can configure the Loopback interface

or a regular three-layer VLAN interface to be

the RP candidate. In make sure that PIM

routers in the network can find where the RP

locates, the RP candidate interface should be

added into the router.

No operation will cancel the RP candidate

configuration on this router.

(2) Configure self-rp-address (the RP address of this router)

Command

Explanation

Global Configuration Mode

ip pim anycast-rp self-rp-address A.B.C.D

no ip pim anycast-rp self-rp-address

Configure the self-rp-address of this router

(as a RP). This address can be used to

exclusively identify this router when

communicating with other RP.

the effect of self-rp-address refers to two

respects:

1 Once this router (as a RP) receives the

register message from DR unicast, it needs to

forward the register message to all the other

RP in the network, notifying them of the state

of source (S.G). While forwarding the register

message, this router will change the source

address of it into self-rp-address.

Advertising