Enabling or disabling PIM globally

Prerequisites
You must be in the PIM configuration context, as indicated by the switch(config-pim)# prompt.
Procedure
Enable PIM globally on a router using the following command.

enable

For example, the following command enables PIM globally:
switch# configure terminal
switch(config)# router pim
switch(config-pim)# enable

You can enable PIM globally and enable PIM-SM at the interface level. When PIM-SM is not enabled on the interface, irrespective of the global PIM status, unknown multicast traffic does not get routed. When PIM-SM is enabled on the interface, multicast traffic is routed to the interface where there are clients joined, provided PIM is enabled globally.

Use the disable command to disable PIM globally on a router. You could use this command to temporarily disable PIM globally without removing the individual interface configuration.