Enabling or disabling PIM globally


You must be in the PIM configuration context, as indicated by the switch(config-pim)# prompt for IPv4 or the switch(config-pim6)# prompt for IPv6.


Enable PIM globally on a router using the following command.


For example, the following command enables PIM globally:

For IPv4 configurations:

switch# configure terminal switch(config)# router pim switch(config-pim)# enable

For IPv6 configurations:

switch# configure terminal switch(config)# router pim6 switch(config-pim6)# 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.