display ip host packet statistics send protocol slot

Function

The display ip host packet statistics send protocol slot command displays statistics about different protocol packets sent by a board.

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 } 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 displayed.

-

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 board, run the display ip host packet statistics send protocol slot command.

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

You can run the reset ip host packet statistics send protocol slot and display ip host packet statistics send protocol slot 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 DHCP protocol packets sent by all boards.
<HUAWEI> display ip host packet statistics send protocol dhcp slot
Packets Statistic Information:
--------------------------------------------------------------
SlotId  Layer        ProtocolType                     SendPkts
--------------------------------------------------------------
1       IPV4UDP      DHCP                                   20
2       IPV4UDP      DHCP                                   20
--------------------------------------------------------------
Table 1 Description of the display ip host packet statistics send protocol slot command output
Item Description
Packets Statistic Information

statistics about different packets.

SlotId

Slot Id.

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 >