Configure PIM for each interface to enable the interface to perform multicasting operations.
You must enable PIM globally before you configure PIM on a VLAN.
The interface uses a valid IP address.
enable
configure terminal
interface vlan <1–4059>
ip pim enable
This command creates an active interface, by default.
ip pim join-prune-interval <1–18724>
ip pim hello-interval <0–18724>
show ip pim interface vlan [<1-4059>]
Configure the interval for join and prune messages, the time between hello messages, and then verify the configuration.
Switch:1(config-if)#ip pim join-prune-interval 60 Switch:1(config-if)#ip pim hello-interval 30
Switch:1>show ip pim interface vlan 10
========================================================================
                                  Vlan Ip Pim
========================================================================
VLAN-ID   PIM-ENABLE MODE    HELLOINT  JPINT   CBSRPREF      INTF TYPE
------------------------------------------------------------------------
10         enable    sparse  30        60      -1  (disabled) active