display ip host packet statistics send protocol

Function

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

Format

display 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 ]

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.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
hostdefend read

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 check statistics about different protocol packets sent on a device, run the display ip host packet statistics send protocol command.

To clear statistics about different protocol packets sent on a device, run the reset 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

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about sent DHCP protocol packets.
<HUAWEI> display ip host packet statistics send protocol dhcp
Packet Statistics Information:
------------------------------------------------------
Layer        ProtocolType                     SendPkts
------------------------------------------------------
IPV4UDP      DHCP                                   40
------------------------------------------------------
# Display statistics about different protocol packets sent on a device.
<HUAWEI> display ip host packet statistics send protocol
Packet Statistics Information:
------------------------------------------------------
Layer        ProtocolType                     SendPkts
------------------------------------------------------
LINK         LinkProtocolOthers                 297045
RAWIP        OSPF                               101810
IPV4UDP      DHCP                               178520
RAWIPV6      ICMPv6                                 85
RAWIPV6      MLD                                 87110
------------------------------------------------------
Table 1 Description of the display ip host packet statistics send protocol command output
Item Description
Packet Statistics Information

statistics about different packets.

Layer

Layer at which the protocol resides.

ProtocolType

Protocol type.

SendPkts

Total number of sent packets.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >