jp-policy

Configures the IPv4 Protocol Independent Multicast (PIM) or IPv6 Protocol Independent Multicast (PIMv6) Join and Prune policy.
Syntax
jp-policy [ rp-address ] [ acl-name | acl-number ]
no jp-policy [ rp-address ] [ acl-name | acl-number ]
Command Default

The join and prune policy is not congifured for IPv4 PIM or PIMv6.

Parameters
rp-address
Specifies an IPv4 or IPv6 RP address.
acl-name
Specifies an ACL name.
acl-number
Specifies an ACL number. Valid values range from 100 through 199.
Modes

PIM router configuration mode

IPv6 PIM router configuration mode

Usage Guidelines

ACL rules are used to configure which multicast group addresses PIM (*, G) are sent to the RP, and which are to be dropped or allowed. Multicast group address and prefixes are configured as destination IP addresses and prefixes in the extended ACL rules. Because this ACL is used for PIM (RP, G) filtering, the source IP address/prefixes in the case of extended ACL rules are ignored.

Only one ACL can be applied to an RP addres. The configuration is limited to a maximum 64 RPs in a given VRF.

If the specified ACL is not configured, then the PIM (*, G) Join and Prune messages sent to that RP for all multicast group addresses are dropped.

Only one ACL can be applied to both PIM (*, G) and (S, G) Join and Prune filtering at a time.

Standard and extended ACLs are supported for IPv4 (RP, G). Group addresses and prefixes can be configured as the source IP addresses in the standard ACL rules.

The no form of the command unconfigures perviously configured IPv4 PIM or PIMv6 Join and Prune policies.

Examples

The following example configures the PIM (RP, G) Join and Prune policy for a non-default VRF instance. An ACL number is specified.

device# configure terminal
device# router pim vrf blue
device(config-pim-router-vrf-blue)# jp-policy 10.9.9.9 1
device(config-pim-router-vrf-blue)# jp-policy 22.9.9.9 22 
device(config-pim-router-vrf-blue)# jp-policy 100.9.9.9 1

The following example configures the PIM (*, G) and (S, G) Join and Prune policy for the default VRF. An ACL name is specified.

device# configure terminal
device(config)# router pim
device(config-pim-router)# jp-policy wg-sg-acl 

The following example configures the PIMv6 (RP, G) Join and Prune policy for a non-default VRF instance in IPv6 PIM router configuration mode. An ACL name is specified.

device# configure terminal
device# ipv6 router pim vrf blue
device(config-ipv6-pim-router-vrf-blue)# jp-policy 10:10::10:10 testacl
device(config-ipv6-pim-router-vrf-blue)# jp-policy 22:9::9:9 testacl 
device(config-ipv6-pim-router-vrf-blue)# jp-policy 100:9::9:9 testacl  

The following example unconfigures a previously configured PIM (RP, G) Join and Prune policy for a non-default VRF instance.

device(config-pim-router-vrf-blue)# no jp-policy 10.9.9.9    1
device(config-pim-router-vrf-blue)# no jp-policy 22.9.9.9    22 
device(config-pim-router-vrf-blue)# no jp-policy 100.9.9.9   1  

The following example unconfigures a previously configured PIM (*, G) and (S, G) Join and Prune policy.

device# configure terminal
device(config)# router pim
device(config-pim-router)# no jp-policy wg-sg-acl

The following example configures PIMv6 (*, G) and (S, G) Join and Prune policy for the default VRF. An ACL name is specified

device# configure terminal
device(config)# ipv6 router pim
device(config-ipv6-pim-router)# jp-policy wg-sg-acl

The following example unconfigures a previously configured PIM (*, G) and (S, G) Join and Prune policy.

device# configure terminal
device(config)# ipv6 router pim
device(config-ipv6-pim-router)# no jp-policy wg-sg-acl
History
Release version Command history
09.0.10 This command was introduced.