Use the following syntax to disable IGMP and PIM.
config>router#
igmp
shutdown
pim
shutdown
config>router# igmp
config>router>igmp# shutdown
config>router>igmp# exit
config>router#
config>router# pim
config>router>pim# shutdown
config>router>pim# exit
A:LAX>config>router# info
----------------------------------------------
...
#------------------------------------------
echo "IGMP Configuration"
#------------------------------------------
igmp
shutdown
ssm-translate
grp-range 239.255.0.1 239.2.2.2
source 10.1.1.1
exit
exit
interface "lax-sjc"
static
group 239.1.1.1
starg
exit
exit
exit
interface "lax-vls"
static
group 239.255.0.2
source 172.22.184.197
exit
exit
exit
interface "p1-ix"
exit
exit
#------------------------------------------
echo "PIM Configuration"
#------------------------------------------
pim
shutdown
import join-policy "foo"
interface "system"
exit
interface "lax-sjc"
exit
interface "lax-vls"
exit
interface "p1-ix"
exit
rp
static
address 239.22.187.237
group-prefix 239.24.24.24/32
exit
address 10.10.10.10
exit
exit
shutdown
exit
rp-candidate
shutdown
bsr-candidate
exit
exit
exit
#------------------------------------------
....
------------------------------------------
A:LAX>config>router#