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

S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.
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).
Checking Whether Traps of a Module Are Enabled

Checking Whether Traps of a Module Are Enabled

The SNMP trap function has been configured on the switch, but the NMS cannot receive some traps. The possible cause may be that the trap function is disabled, that is, the switch cannot send traps to the NMS. You can run the display snmp-agent trap feature-name feature-name all command in any view to check the trap status of a specified module. To enable or disable traps of a specified module, see Enabling or Disabling the Trap Function for a Specified Module.

# Check the trap status of the trunk module.

<HUAWEI> display snmp-agent trap feature-name trunk all
------------------------------------------------------------------------------  
Feature name: TRUNK                                                             
Trap number : 4                                                                 
------------------------------------------------------------------------------  
Trap name                       Default switch status   Current switch status   
hwExtLinkDown                   off                     on                      
hwExtLinkUp                     off                     on                      
hwExtAllMemberDownNotify        off                     on                      
hwExtAllMemberDownResume        off                     on                      
------------------------------------------------------------------------------ 
Table 21-1  Description of the display snmp-agent trap feature-name command output

Item

Description

Feature name

Name of a feature module.

Trap number

Number of traps supported by the feature module.

Trap name

Name of a trap.

Default switch status

Default status of a trap. The value can be:
  • on: The switch is enabled to send this alarm to the NMS.
  • off: The switch is disabled to send this alarm to the NMS.

Current switch status

Current status of a trap. The value can be:
  • on: The switch is enabled to send this alarm to the NMS.
  • off: The switch is disabled to send this alarm to the NMS.

The status of a trap is determined by the snmp-agent trap enable feature-name command.

Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 90869

Downloads: 12224

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