ip pim use-shared-tree-only

To create the IPv4 Protocol Independent Multicast (PIM) (*, G) state only (where no source state is created), use the ip pim use-shared-tree-only command. To remove the creation of the shared tree state only, use the no form of this command.

ip pim use-shared-tree-only group-list policy-name

no ip pim use-shared-tree-only [group-list policy-name]

Syntax Description


Route-map policy name that defines the group prefixes where this feature is applied.

Command Default


Command Modes

Global configuration mode

VRF configuration mode

Command History



This command was introduced.

Usage Guidelines

You can use the match ip multicast command in a route-map policy to specify the groups where shared trees should be enforced.

This command requires the LAN Base Services license.


This example shows how to create the PIM (*, G) state only for the group prefixes defined in my_group_policy:

switch(config)# ip pim use-shared-tree-only group-list my_group_policy

This example shows how to remove the creation of the (*, G) state only:

switch(config)# no ip pim use-shared-tree-only

Related Commands


show ip pim rp

Displays information about PIM RPs.