Prerequisites
Configure a unicast protocol, such as Routing Information Protocol (RIP) or Open Shortest Path First (OSPF) globally and on the interfaces where you want to configure PIM.
Enable PIM globally.