No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display dhcp snooping

display dhcp snooping

Function

The display dhcp snooping command displays DHCP snooping running information.

Format

display dhcp snooping [ interface interface-type interface-number | vlan vlan-id ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays DHCP snooping running information on a specified interface.
  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-
vlan vlan-id Displays DHCP snooping running information in a specified VLAN. The value is an integer that ranges from 1 to 4094.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display dhcp snooping command displays DHCP snooping running information. If no interface or VLAN is specified, global DHCP snooping running information is displayed. If an interface or a VLAN ID is specified, DHCP snooping running information about the interface or VLAN is displayed.

Example

# Display global DHCP snooping running information.

<Huawei> display dhcp snooping 
 DHCP snooping global running information   :                                     
 DHCPv4 snooping                            : Enable                              
 DHCPv6 snooping                            : Enable                              
 Static user max number                     : 1024                                
 Current static user number                 : 0                                   
 Dhcp user(dhcpv4/dhcpv6/nd) max number     : 26       (default)                  
 Dhcp user(dhcpv4/dhcpv6) max number        : 20                                  
 Nd user max number                         : 5                                   
 Current dhcpv4 user number                 : 0                                   
 Current dhcpv6 user number                 : 0                                   
 Current nd user number                     : 0                                   
 Arp dhcp-snooping detect                   : Disable  (default)                  
 Alarm threshold                            : 100      (default)                  
 Check dhcp-rate                            : Disable  (default)                  
 Dhcp-rate limit(pps)                       : 100      (default)                  
 Alarm dhcp-rate                            : Disable  (default)                  
 Alarm dhcp-rate threshold                  : 100      (default)                  
 Discarded dhcp packets for rate limit      : 0                                   
 Bind-table autosave                        : Disable  (default)                  
 Client position transfer allowed           : Enable   (default)                  
 DHCPv6 confirm-client online detection     : Disable  (default)                  
 DHCPv6 client online detection times       : 3        (default)                  
 DHCPv6 client online detection interval    : 180      (default)                  
                                                                                
 DHCP snooping running information for VLAN 100   :                               
 DHCP snooping                              : Enable                              
 Dhcp user(dhcpv4/dhcpv6/nd) max number     : 26       (default)                  
 Current dhcpv4 user number                 : 0                                   
 Current dhcpv6 user number                 : 0                                   
 Current nd user number                     : 0                                   
 Check dhcp-giaddr                          : Enable                              
 Check dhcp-chaddr                          : Disable  (default)                  
 Check dhcp-request                         : Disable  (default)                  
 Check dhcp-rate                            : Enable                              
                                                                                
 DHCP snooping running information for interface GigabitEthernet0/0/1   :         
 DHCP snooping                              : Enable                              
 Trusted interface                          : No                                  
 Dhcp user(dhcpv4/dhcpv6/nd) max number     : 26       (default)                  
 Current dhcpv4 user number                 : 0                                   
 Current dhcpv6 user number                 : 0                                   
 Current nd user number                     : 0                                   
 Check dhcp-giaddr                          : Enable                              
 Check dhcp-chaddr                          : Disable  (default)                  
 Alarm dhcp-chaddr                          : Disable  (default)                  
 Check dhcp-request                         : Disable  (default)                  
 Alarm dhcp-request                         : Disable  (default)                  
 Check dhcp-rate                            : Enable                              
 Alarm dhcp-rate                            : Enable                              
 Discarded dhcp packets for rate limit      : 0                                   
 Alarm dhcp-reply                           : Disable  (default)                  
Table 13-48  Description of the display dhcp snooping command output

Item

Description

DHCPv4 snooping

Whether DHCPv4 snooping is enabled globally.

DHCPv6 snooping

Whether DHCPv6 snooping is enabled globally.

DHCP snooping

Whether DHCP snooping is enabled on the interface or in the VLAN.

Static user max number

Maximum number of static users.

Current static user number

Number of current static users.

Dhcp (dhcpv4/dhcpv6/nd) max number

Shared specifications of the DHCPv4 snooping, ND snooping, and DHCPv6 snooping binding tables.

Dhcp (dhcpv4/dhcpv6) max number

Maximum number of DHCPv4 snooping and DHCPv6 snooping users that can be set using a command.

Current dhcpv4 user number

Number of currently online DHCPv4 users.

Current dhcpv6 user number

Number of currently online DHCPv6 users.

Current nd user number

Number of currently online ND users.

Arp dhcp-snooping detect

Whether association between ARP and DHCP snooping is enabled.

Alarm threshold

Global alarm threshold for the number of discarded DHCP snooping messages.

Check dhcp-rate

Whether a device is enabled to check the rate of sending DHCP messages.

Dhcp-rate limit(pps)

Rate limit of DHCP messages, in pps.

Alarm dhcp-rate

Whether trap for checking the rate of sending DHCP messages to the processing unit is enabled.

Alarm dhcp-rate threshold

Alarm threshold for the number of discarded DHCP messages. An alarm is generated if the number of discarded DHCP messages reaches the alarm threshold.

Discarded dhcp messages for rate limit

Number of discarded DHCP messages whose rate exceeds the rate limit.

Bind-table autosave

Whether a device is enabled to save the DHCP Snooping binding table.

Client position transfer allowed

Whether location transition is enabled for DHCP snooping users.

DHCPv6 confirm-client online detection

Whether the confirm-client probing function of DHCPv6 snooping is enabled.

DHCPv6 client online detection times

Number of times that the DAD NS messages are sent for DHCPv6 snooping to detect whether the user is online.
DHCPv6 client online detection interval Interval at which the DAD NS messages are sent for DHCPv6 snooping to detect whether the user is online.

Trusted interface

Whether an interface is a trusted interface.

Check dhcp-giaddr

Whether a device is enabled to check the GIADDR field in a DHCP Request message.

Check dhcp-chaddr

Whether a device is enabled to check whether the CHADDR field in a DHCP Request message matches the source MAC address in the Ethernet frame header.

Alarm dhcp-chaddr

Whether a device is enabled to generate an alarm when the number of discarded DHCP Request messages with the CHADDR field different from the source MAC address in the Ethernet frame header exceeds the alarm threshold.

Check dhcp-request

Whether an interface is enabled to check DHCP Request messages.

Alarm dhcp-request

Whether a device is enabled to generate an alarm when the number of DHCP Request messages discarded within a specified period reaches the alarm threshold.

Alarm dhcp-reply

Whether a device is enabled to generate an alarm when an interface discards a DHCP Reply message from an untrusted interface.

Alarm dhcpv6-request

Whether a device is enabled to generate an alarm when an interface discards a DHCPv6 Request message from an untrusted interface.

Alarm dhcpv6-request threshold

Alarm threshold for the number of discarded DHCPv6 Request messages that are received from untrusted interfaces.

Discarded dhcpv6 messages for check request

Number of discarded DHCPv6 messages whose rate exceeds the rate limit.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 158232

Downloads: 129

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next