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

Fat AP and Cloud 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 snmp-agent trap feature-name dhcp all

display snmp-agent trap feature-name dhcp all

Function

The display snmp-agent trap feature-name dhcp all command displays the status of all traps on the DHCP module.

Format

display snmp-agent trap feature-name dhcp all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After enabling the trap function for the DHCP module, you can run this command to check the status of all traps on the DHCP module. To enable the trap function for the DHCP module, run the snmp-agent trap enable feature-name dhcp command.

Prerequisites

The SNMP function has been enabled on the device. For details, see snmp-agent.

Example

# Display the status of all traps on the DHCP module.

<Huawei>display snmp-agent trap feature-name dhcp all
------------------------------------------------------------------------------                                                      
Feature name: dhcp                                                                                                                  
Trap number : 15
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwNomatchSnpBindTblDhcpPktAlarm                                                                                                     
                                off                     off                                                                         
hwDhcpSnpChaddrAlarm            off                     off                                                                         
hwDhcpV6PktPrefixAlarm          off                     on
hwUntrustedReplyPktAlarm        off                     off                                                                         
hwDhcpPktRateAlarm              off                     on                                                                          
hwSnpUserNumberAlarmIf          on                      off                                                                         
hwSnpUserNumberAlarmIfResume    on                      off                                                                         
hwSnpUserNumberAlarmVlan        on                      off                                                                         
hwSnpUserNumberAlarmVlanResume  on                      off                                                                         
hwSnpUserNumberAlarmGlobal      on                      off                                                                         
hwSnpUserNumberAlarmGlobalResume                                                                                                    
                                on                      off                                                                         
hwNdSnpUserNumberAlarmIf        on                      off                                                                         
hwNdSnpUserNumberAlarmIfResume  on                      off                                                                         
hwNdSnpUserNumberAlarmGlobal    on                      off                                                                         
hwNdSnpUserNumberAlarmGlobalResume                                                                                                  
                                on                      off 
hwNomatchSnpBindTblDhcpv6PktAlarm                                                                                                   
                                off                     off                                                                         
hwNomatchSnpBindTblNDPktAlarm   off                     off 
Table 6-57  Description of the display snmp-agent trap feature-name dhcp all command output

Item

Description

Feature name

Name of the module to which a trap belongs.

Trap number

Number of traps.

Trap name

Name of a trap. Traps on the DHCP module include:

  • hwNomatchSnpBindTblDhcpPktAlarm: The device sends a Huawei proprietary trap when the number of DHCP Request packets that do not match DHCP snooping binding entries and are discarded on an interface exceeds the threshold.
  • hwDhcpSnpChaddrAlarm: The device sends a Huawei proprietary trap when the number of discarded DHCP packets whose CHADDR field differs from the source MAC address exceeds the threshold.
  • hwDhcpV6PktPrefixAlarm: The device sends a Huawei proprietary trap message when the DHCPv6 prefix length exceeds the threshold.
  • hwUntrustedReplyPktAlarm: The device sends a Huawei proprietary trap message when the number of DHCP Reply packets discarded on an untrusted interface exceeds the threshold.
  • hwDhcpPktRateAlarm: The device sends a Huawei proprietary trap message when the number of discarded DHCP packets whose rate exceeds the limit exceeds the threshold.
  • hwSnpUserNumberAlarmIf: The device sends a Huawei proprietary trap message when the number of DHCP access users on an interface exceeds the upper threshold.
  • hwSnpUserNumberAlarmIfResume: The device sends a Huawei proprietary trap message when the number of DHCP access users on an interface falls below the lower threshold.
  • hwSnpUserNumberAlarmVlan: The device sends a Huawei proprietary trap message when the number of DHCP access users in a VLAN exceeds the upper threshold.
  • hwSnpUserNumberAlarmVlanResume: The device sends a Huawei proprietary trap message when the number of DHCP access users in a VLAN falls below the lower threshold.
  • hwSnpUserNumberAlarmGlobal: The device sends a Huawei proprietary trap message when the number of DHCP access users on the device exceeds the upper threshold.
  • hwSnpUserNumberAlarmGlobalResume: The device sends a Huawei proprietary trap message when the number of DHCP access users on the device falls below the lower threshold.
  • hwNdSnpUserNumberAlarmIf: The device sends a Huawei proprietary trap message when the number of ND access users on an interface exceeds the upper threshold.
  • hwNdSnpUserNumberAlarmIfResume: The device sends a Huawei proprietary trap message when the number of ND access users on an interface falls below the lower threshold.
  • hwNdSnpUserNumberAlarmGlobal: The device sends a Huawei proprietary trap message when the number of ND access users on the device exceeds the upper threshold.
  • hwNdSnpUserNumberAlarmGlobalResume: The device sends a Huawei proprietary trap message when the number of ND access users on the device falls below the lower threshold.
  • hwNomatchSnpBindTblDhcpv6PktAlarm: The device sends a Huawei proprietary trap message when the number of DHCPv6 Request packets discarded on an interface because they do not match the binding entries exceeds the threshold.
  • hwNomatchSnpBindTblNDPktAlarm: The device sends a Huawei proprietary trap message when the number of ND packets discarded on an interface because they do not match the binding entries exceeds the threshold.

Default switch status

Default status of the trap function:
  • on: The trap function is enabled by default.

  • off: The trap function is disabled by default.

Current switch status

Trap status:

  • on: The trap is enabled.

  • off: The trap is disabled.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 204460

Downloads: 122

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