Removing all PIM-SM related configurations on an interface

Prerequisites
You must be in the interface configuration context, as indicated by the switch(config-if)# prompt, switch(config-if-vlan)# prompt, or switch(config-lag-if)# prompt.
Procedure
Remove all PIM-SM related configurations for the interface using the following command.

For IPv4 configurations:

no ip pim-sparse

For IPv6 configurations:

no ipv6 pim6-sparse