reset ip host packet statistics send protocol

Function

The reset ip host packet statistics send protocol command clears statistics about different protocol packets sent on a device.

Format

reset ip host packet statistics send protocol [ arp | stp | lacp | lldp | isis | icmp | ospf | pim | igmp | vrrp | snmp | dhcp | bgp | ldp | icmpv6 | ospfv3 | pimv6 | mld | vrrpv6 | snmpv6 | dhcpv6 | bgp4plus | ldpv6 ] [ slot slot-id ]

Parameters

Parameter Description Value
arp

Indicates the ARP protocol.

-

stp

Indicates the STP protocol.

-

lacp

Indicates the LACP protocol.

-

lldp

Indicates the LLDP protocol.

-

isis

Indicates the IS-IS protocol.

-

icmp

Indicates the ICMP protocol.

-

ospf

Indicates the OSPF protocol.

-

pim

Indicates the PIM protocol.

-

igmp

Indicates the IGMP protocol.

-

vrrp

Indicates the VRRP protocol.

-

snmp

Indicates the SNMP protocol.

-

dhcp

Indicates the DHCP protocol.

-

bgp

Indicates the BGP protocol.

-

ldp

Indicates the LDP protocol.

-

icmpv6

Indicates the ICMPv6 protocol.

-

ospfv3

Indicates the OSPFv3 protocol.

-

pimv6

Indicates the IPv6 PIM protocol.

-

mld

Indicates the MLD protocol.

-

vrrpv6

Indicates the VRRP6 protocol.

-

snmpv6

Indicates the IPv6 SNMP protocol.

-

dhcpv6

Indicates the DHCPv6 protocol.

-

bgp4plus

Indicates the BGP4+ protocol.

-

ldpv6

Indicates the IPv6 LDP protocol.

-

slot slot-id

Specifies a slot ID. If slot-id is not configured, statistics about protocol packets sent by all boards are cleared.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
hostdefend execute

Usage Guidelines

Usage Scenario

To globally enable the statistics collecting function for different protocol packets, run the ip host packet statistics protocol all command.

To clear statistics about different protocol packets sent on a device, run the reset ip host packet statistics send protocol command.

To check statistics about different protocol packets sent on a device, run the display ip host packet statistics send protocol command.

You can run the reset ip host packet statistics send protocol and display ip host packet statistics send protocol commands to check whether protocol packets are transmitted properly.

Example

# Clear statistics about ARP protocol packets sent on a device.
<HUAWEI> reset ip host packet statistics send protocol arp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic