The display ip host packet statistics send protocol command displays statistics about different protocol packets sent on a device.
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. |
- |
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.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ip host packet statistics send protocol dhcp
Packet Statistics Information:
------------------------------------------------------
Layer ProtocolType SendPkts
------------------------------------------------------
IPV4UDP DHCP 40
------------------------------------------------------
<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
------------------------------------------------------
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. |