ip pim jp-policy

To filter IPv4 Protocol Independent Multicast (PIM) join-prune messages that are based on a route-map policy, use the ip pim jp-policy command. To disable filtering, use the no form of this command.

ip pim jp-policy policy-name [ in | out ]

no ip pim jp-policy [ policy-name ]

Syntax Description

policy-name
Route-map policy name.
in
Specifies that the system applies a filter only for incoming messages.
out
Specifies that the system applies a filter only for outgoing messages.

Command Default

Disabled; no filter is applied for either incoming or outgoing messages.

Command Modes

Interface configuration mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

Beginning with Cisco NX-OS Release 4.2(3), the ip pim jp-policy command filters messages in both incoming and outgoing directions. To specify filtering only incoming messages, use the optional in keyword; to specify filtering only outgoing messages, use the optional out keyword. When you enter the command with no keywords, that is no explicit direction, the system rejects further configurations if given with explicit direction.

Use the ip pim jp-policy command to filter incoming messages. You can configure the route map to prevent state from being created in the multicast routing table.

You can specify group, group and source, or group and RP addresses to filter messages with the match ip multicast command.

This command requires the LAN Base Services license.

Examples

This example shows how to filter PIM join-prune messages:

switch(config)# interface ethernet 2/2
switch(config-if)# ip pim jp-policy my_jp_policy
 

This example shows how to disable filtering:

switch(config)# interface ethernet 2/2
switch(config-if)# no ip pim jp-policy
 

Related Commands

Command
Description
show ip pim interface
Displays information about PIM-enabled interfaces.