reset ip host packet statistics receive protocol interface

Function

The reset ip host packet statistics receive protocol interface command clears statistics about different protocol packets received on an interface.

Format

reset ip host packet statistics receive protocol interface { interface-type interface-number | ifname }

Parameters

Parameter Description Value
interface-type

Specifies the type of an interface.

-

interface-number

Specifies the number of an interface.

-

ifname

Specifies the name of an interface.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
hostdefend execute

Usage Guidelines

Usage Scenario

To configure a device to collect statistics about protocol-specific received packets, run the ip host packet statistics protocol enable command.

To clear statistics about different protocol packets received on an interface, run the reset ip host packet statistics receive protocol interface command.

To view statistics about different protocol packets received on an interface, run the display ip host packet statistics receive protocol interface command.

The reset ip host packet statistics receive protocol interface and display ip host packet statistics receive protocol interface commands can be used together to help identify whether the interface correctly receives various protocol packets.

Example

# Clear statistics about different protocol packets received on an interface.
<HUAWEI> reset ip host packet statistics receive protocol interface GigabitEthernet 0/1/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >