clear ip pim interface statistics

To clear Protocol Independent Multicast (PIM) counters for a specified interface, use the clear ip pim interface statistics command.

clear ip pim interface statistics [ ethernet slot / port | port-channel channel-number [. sub_if-number ] | vlan vlan-id ]

Syntax Description

ethernet slot/port
(Optional) Specifies the Ethernet interface. The slot number is from 1 to 255, and the port number is from 1 to 128.
port-channel number
(Optional) Specifies the EtherChannel interface and EtherChannel number. The range is from 1 to 4096.
sub_if-number
(Optional) Subinterface number. The range is from 1 to 4093.
vlan vlan-id
(Optional) Specifies the VLAN. The range is from 1 to 4094.

Command Default

None

Command Modes

Any command mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to clear the PIM counters for a specified interface:

switch# clear ip pim interface statistics ethernet 2/1
switch#
 

Related Commands

Command
Description
show ip pim statistics
Displays PIM statistics.