R3303-HP HSR6800 Routers IP Multicast Command Reference
115
Default command level
2: System level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
acl-number: Specifies a basic ACL number in the range of 2000 to 2999. This ACL defines a range of
multicast groups the C-RP is going to serve, rather than defining a filtering rule. Any group range that
matches the permit statement in the ACL is advertised as an RP served group, but group ranges that
match the deny statement are not advertised.
priority: Specifies the priority of the C-RP, in the range of 0 to 255. The default is 192. A larger value
means a lower priority.
hold-interval: Specifies a C-RP timeout timer in seconds, in the range of 1 to 65535. If you do not provide
this argument in your command, the corresponding global setting is used.
adv-interval: Specifies a C-RP-Adv interval in seconds, in the range of 1 to 65535. If you do not provide
this argument in your command, the corresponding global setting is used.
bidir: Configures the C-RP to serve multicast groups in BIDIR-PIM. Without this argument, the C-RP serves
groups in PIM-SM.
Usage guidelines
You must enable PIM-SM on the interface that you want to configure as a C-RP.
If you do not specify a group range for the C-RP, the C-RP serves all multicast groups.
If you want a device to be a C-RP for multiple group ranges, you must include these multiple group ranges
in multiple rules in the ACL that corresponds to the group-policy keyword.
If you execute this command repeatedly on the same interface, the last configuration takes effect.
Examples
# Configure GigabitEthernet 2/1/1 on the public network to be a C-RP for multicast groups
225.1.0.0/16 and 226.2.0.0/16, with a priority of 10.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 225.1.0.0 0.0.255.255
[Sysname-acl-basic-2000] rule permit source 226.2.0.0 0.0.255.255
[Sysname-acl-basic-2000] quit
[Sysname] pim
[Sysname-pim] c-rp gigabitethernet 2/1/1 group-policy 2000 priority 10
# Configure GigabitEthernet 2/1/1 in VPN instance mvpn to be a C-RP for multicast groups
225.1.0.0/16 and 226.2.0.0/16, with a priority of 10.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 225.1.0.0 0.0.255.255
[Sysname-acl-basic-2000] rule permit source 226.2.0.0 0.0.255.255
[Sysname-acl-basic-2000] quit
[Sysname] pim vpn-instance mvpn
[Sysname-pim-mvpn] c-rp gigabitethernet 2/1/1 group-policy 2000 priority 10
Related commands
c-bsr