The display ip host packet statistics send protocol slot command displays statistics about different protocol packets sent by a board.
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. |
- |
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.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 slot
Packets Statistic Information:
--------------------------------------------------------------
SlotId Layer ProtocolType SendPkts
--------------------------------------------------------------
1 IPV4UDP DHCP 20
2 IPV4UDP DHCP 20
--------------------------------------------------------------
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. |