An RP candidate advertises its availability, IP address, and the multicast group or range of groups it supports. The commands in this section are used to configure C-RP operation. The sequence of steps is as follows:
|
|
NOTE: Before configuring BSR, RP, and SNMP trap operation for PIM-SM, it is necessary to enable PIM-SM on at least one VLAN on the router. |
|
|
Specifying the source IP VLAN ID
automatically configures the C-RP to support all multicast groups (unless you include an individual group or range of groups in the command.) The recommended approach is to allow all multicast groups unless you have a reason to limit the permitted groups to a specific set.
Syntax:
These commands configure C-RP operation in the following way:
-
Specify the VLAN interface from which the RP IP address will be selected for advertising the router as an RP candidate.
NOTE: Only one VLAN on the router can be configured for this purpose at any time.
-
Specify the multicast groups for which the router is a CRP. (Default: Disabled.)
NOTE: When executed without specifying a multicast group or range of groups, the resulting RP candidate defaults to allow support for all multicast groups — 224.0.0.0, 240.0.0.0, or 224.0.0.0/4.
Additionally, the following commands may be required:
The <vid>
command identifies the VLAN source of the IP address to advertise as the RP candidate address for the router.
The command group-prefix [
specifies the multicast group(s) to advertise as supported by the RP candidate. Use this option when you want to enable the C-RP and simultaneously configure it to support a subset of multicast addresses or ranges of addresses instead of all possible multicast addresses.group-addr/mask
]
A group prefix can specify all multicast groups (224.0.0.0 to 239.255.255.255), a range (subset) of groups, or a single group. A given address is defined by its nonzero octets and mask. The mask is applied from the high end (leftmost) bits of the address and must extend to the last nonzero bit in the lowest-order, nonzero octet. Any intervening zero or nonzero octet requires eight mask bits. Following are examples.
228.0.0.64/26:
Defines a multicast address range of 228.0.0.64 through 228.0.0.127. (The last six bits of the rightmost octet are wildcards.)
228.0.0.64/30:
Defines a multicast address range of 228.0.0.64 through 228.0.0.67. (The last two bits of the rightmost octet are wildcards.)
228.0.0.64/32:
Defines a single multicast address of 228.0.0.64. (There are no wildcards in this group prefix.)
228.0.0.64/25:
Creates an error condition caused by the mask failing to include the last (rightmost) nonzero bit in the lowest-order, nonzero octet. (That is, this mask supports an address of 228.0.0.128, but not 228.0.0.64.)
|
|
NOTE: The larger the mask, the smaller the range of multicast addresses supported. A mask of 32 bits always specifies a single multicast address. For example 230.0.15.240/32 defines a single multicast address of 230.0.15.240. |
|
|
Use this command when the router is already configured with a source IP VLAN ID and you want to enable or disable C-RP operation on the router.
Syntax:
Use this command if you need to modify the multicast address group configuration for a C-RP on the router.
Syntax:
Adds a multicast group address to the current C-RP configuration. Requires that the source IP VLAN (See Specifying the source IP VLAN (optionally configuring multicast groups or range of groups)) is already configured. The
no
form of the command removes a multicast group address from the current C-RP configuration.This command does not enable or disable RP candidate operation.
NOTE: An RP candidate supports up to four separate multicast address groups. If only one group-prefix address exists in the router PIM configuration, you cannot delete it unless you first add another group-prefix address.
Hold-time is included in the advertisements the C-RP periodically sends to the domain's elected BSR, and updates the BSR on how long to wait after the last advertisement from the reporting RP before assuming that it has become unavailable.