< Home

display dhcp snooping statistics

Function

The display dhcp snooping statistics command displays statistics about received DHCP messages.

Format

display dhcp snooping statistics

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view statistics about the received DHCP messages of all types, run the display dhcp snooping statistics command.

Example

# Display statistics about received DHCP messages.

<HUAWEI> display dhcp snooping statistics 
 DHCP Snooping Statistics:                                                      
                                                                                
 Client Request:                                                                 
  Dhcp Discover:                  0                                             
  Dhcp Request:                   0                                             
  Dhcp Decline:                   0                                             
  Dhcp Release:                   0                                             
  Dhcp Inform:                    0                                             
 Server Reply:                                                                  
  Dhcp Offer:                     0                                             
  Dhcp Ack:                       0                                             
  Dhcp Nak:                       0                                             
 Drop Packet:                                                                   
  Dropped by mac-address check:   0                                             
  Dropped by untrust reply:       0                                             
  Dropped by request conflict:    0 
  Dropped by untrust relay-forw:  0 
  Dropped by no trust port:       0
  Dropped by relay-forward check: 0 
 Delete DHCP snooping table:    
  Receive release packet:         0   
  Receive decline packet:         0    
  Lease expired:                  0    
  User command:                   0    
  Client transfers:              0    
  Interface down:                 0   
  Arp detect:                     0   
  Ucm notify:                     0
 Terminal Identity:
  Single upload count:            0
  Batch get count:                0
  Batch upload count:             0
Table 1 Description of the display dhcp snooping statistics command output

Item

Description

DHCP Snooping Statistics

DHCP snooping statistics

Client Request

Number of messages sent by DHCP clients:

  • DHCP Discover messages
  • DHCP Request messages
  • DHCP Decline messages
  • DHCP Release messages
  • DHCP Inform messages

Server Reply

Number of messages sent by the DHCP server:

  • DHCP Offer messages
  • DHCP ACK messages
  • DHCP NAK messages

Drop Packet

Number of discarded messages.

Dropped by mac-address check

Number of discarded DHCP messages whose MAC address is different from the CHADDR field.

Dropped by untrust reply

Number of untrusted reply messages that are discarded.

Dropped by request conflict

Number of packets that are discarded because the client and server MAC addresses conflict.

Dropped by untrust relay-forw

Number of untrusted Relay-Forward messages that are discarded.

Dropped by no trust port

Number of messages discarded because no trusted interface is configured.

Dropped by relay-forward check

Number of discarded DHCPv6 Relay-Forward messages.

Delete DHCP snooping table

Number of DHCP snooping binding entries deleted by the device.

Receive release packet

Number of DHCP snooping binding entries deleted by the device after the device receives DHCP Release messages.

Receive decline packet

Number of DHCP snooping binding entries deleted by the device after the device receives DHCP Decline messages.

Lease expired

Number of DHCP snooping binding entries deleted by the device because of lease expiry.

User command

Number of DHCP snooping binding entries deleted using commands.

Client transfers

Number of DHCP snooping binding entries deleted because the client connects to another interface on the device.

Interface down

Number of DHCP snooping binding entries deleted because the port is shut down.

Arp detect

Number of DHCP snooping binding entries deleted due to ARP detection.

Ucm notify

Number of times the UCM module requests DHCP snooping to delete user binding entries.

Terminal Identity

Terminal identity.

Single upload count

Number of times that the DHCP snooping module reports a single user entry.

Batch get count

Number of times that the device requests to obtain entry information in a batch from the DHCP snooping module.

Batch upload count

Number of times that the DHCP snooping module reports entry information in a batch.

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