– 1229 –
C
HAPTER
48
| Multicast Routing Commands
PIM Multicast Routing
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
◆
When the
ip pim rp-candidate
command is entered, the router
periodically sends PIMv2 messages to the BSR advertising itself as a
candidate RP for the specified group addresses. The IP address of the
designated VLAN is sent as the candidate’s RP address. The BSR places
information about all of the candidate RPs in subsequent bootstrap
messages. The BSR uses the RP-election hash algorithm to select an
active RP for each group range. The election process is performed by
the BSR only for its own use. Each PIM-SM router that receives the list
of RP candidates from the BSR also elects an active RP for each group
range using the same election process.
◆
The election process for each group is based on the following criteria:
■
Find all RPs with the most specific group range.
■
Select those with the highest priority (lowest priority value).
■
Compute a hash value based on the group address, RP address,
priority, and hash mask included in the bootstrap messages.
■
If there is a tie, use the candidate RP with the highest IP address.
◆
This distributed election process provides faster convergence and
minimal disruption when an RP fails. It also serves to provide load
balancing by distributing groups across multiple RPs. Moreover, when
an RP fails, the responsible RPs are re-elected on each router, and the
groups automatically distributed to the remaining RPs.
◆
To improve failover recovery, it is advisable to select at least two core
routers in diverse locations, each to serve as both a candidate BSR and
candidate RP. It is also preferable to set up one of these routers as both
the primary BSR and RP.
E
XAMPLE
The following example configures the router to start advertising itself to
the BSR as a candidate RP for the indicated multicast groups.
Console(config)#ip pim rp-candidate interface vlan 1 group-prefix 224.0.0.0
255.0.0.0
Console(config)#end
Console#show ip pim rp mapping
PIM Group-to-RP Mappings
Groups
: 224.0.0.0/8
RP address
: 192.168.0.2/32
Info source
: 192.168.0.2/32, via bootstrap, priority: 0
Uptime
: 00:00:51
Expire
: 00:01:39
Console#
Summary of Contents for LGB6026A
Page 6: ...ABOUT THIS GUIDE 4...
Page 40: ...38 CONTENTS...
Page 60: ...58 SECTION I Getting Started...
Page 86: ...84 SECTION II Web Configuration Unicast Routing on page 517 Multicast Routing on page 575...
Page 162: ...160 CHAPTER 5 Interface Configuration VLAN Trunking...
Page 196: ...194 CHAPTER 6 VLAN Configuration Configuring MAC based VLANs...
Page 204: ...CHAPTER 7 Address Table Settings Clearing the Dynamic Address Table 202...
Page 238: ...CHAPTER 11 Class of Service Layer 2 Queue Settings 236...
Page 254: ...252 CHAPTER 12 Quality of Service Attaching a Policy Map to a Port...
Page 448: ...446 CHAPTER 16 Multicast Filtering Multicast VLAN Registration...
Page 470: ...468 CHAPTER 17 IP Configuration Setting the Switch s IP Address IP Version 6...
Page 576: ...574 CHAPTER 21 Unicast Routing Configuring the Open Shortest Path First Protocol Version 2...
Page 606: ...604 CHAPTER 22 Multicast Routing Configuring PIMv6 for IPv6...
Page 620: ...618 CHAPTER 23 Using the Command Line Interface CLI Command Groups...
Page 672: ...670 CHAPTER 25 System Management Commands Time Range...
Page 692: ...690 CHAPTER 26 SNMP Commands...
Page 700: ...698 CHAPTER 27 Remote Monitoring Commands...
Page 854: ...CHAPTER 34 Port Mirroring Commands Local Port Mirroring Commands 852...
Page 862: ...860 CHAPTER 36 Address Table Commands...
Page 958: ...956 CHAPTER 40 Quality of Service Commands...
Page 1034: ...1032 CHAPTER 42 LLDP Commands...
Page 1044: ...1042 CHAPTER 43 Domain Name Service Commands...
Page 1062: ...1060 CHAPTER 44 DHCP Commands DHCP Server...
Page 1206: ...CHAPTER 47 IP Routing Commands Open Shortest Path First OSPFv3 1204...
Page 1250: ...1248 SECTION IV Appendices...
Page 1256: ...1254 APPENDIX A Software Specifications Management Information Bases...
Page 1278: ...1276 COMMAND LIST...