# Resetting PIM Counters and Mappings

You can use the clear ip pim commands to reset PIM counters and mappings.

clear ip pim auto-rp

- Use to clear the group-to-RP router mappings that the router learned through auto-RP.
- Specify the IP address of an RP to clear the group-to-RP mappings for a particular RP. If you do not specify an IP address, the router clears the group-to-RP mappings on all RP routers learned through auto-RP.
- Example
  host1#clear ip pim auto-rp 192.34.56.7
- There is no no version.
- See clear ip pim auto-rp.

clear ip pim interface count

- Use to clear the counters for multicast packet statistics on all interfaces or a specified interface.
- Specify an interface type and specifier, such as atm 3/0, to clear the counters on that interface. For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.
- If you do not specify an interface, the router clears the counters on all interfaces.
- Example
  host1#clear ip pim interface atm 3/0.5 count
- There is no no version.
- See clear ip pim interface count.

clear ip pim remote-neighbor count

- Use to clear the counters for remote neighbor statistics on all interfaces or the specified interface.
- Specify the IP address of an interface to clear the counters for that interface.
- If you do not specify an interface, the router clears the counters on all interfaces.
- Example
  host1#clear ipv6 pim remote-neighbor 1001::1 count
- There is no no version.
- See clear ip pim remote-neighbor count.