display dhcp snooping white-list statistics

Function

The display dhcp snooping white-list statistics command displays statistics about packets matching a DHCP snooping whitelist rule.

Format

display dhcp snooping white-list [ rule-id rule-id ] [ slot slot-id ] statistics

Parameters

Parameter Description Value
rule-id rule-id

Specifies the ID of a whitelist rule.

The value is an integer ranging from 1 to 1024.

slot slot-id

Specifies the slot ID of a board.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
forwarding debug

Usage Guidelines

Usage Scenario

Before running the display command to check statistics about packets matching a DHCP snooping whitelist rule, run the reset command to clear existing statistics.

Example

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

# Display statistics about packets matching all whitelist rules on the board in slot 1.
<HUAWEI> display dhcp snooping white-list slot 1 statistics
White-list statistics details:
     Slot             Rule-id             Packets               Bytes
-----------------------------------------------------------------------------------
        1                   1                   0                   0
        1                   2                   0                   0
        1                   3                   0                   0
-----------------------------------------------------------------------------------
    Total                   -                   0                   0  
-----------------------------------------------------------------------------------
Table 1 Description of the display dhcp snooping white-list statistics command output
Item Description
Slot

Slot ID of the board on which the DHCP snooping whitelist function is configured.

Rule-id

ID of a DHCP snooping whitelist rule.

Packets

Number of packets matching a DHCP snooping whitelist rule.

Bytes

Number of bytes matching a DHCP snooping whitelist rule.

Total

Total number.

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