< Home

display snmp-agent trap feature-name snmp all

Function

The display snmp-agent trap feature-name snmp all command displays whether all SNMP traps are enabled.

Format

display snmp-agent trap feature-name snmp all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. After that, the network administrator immediately takes measures to resolve the problem.

The display snmp-agent trap feature-name snmp all command displays whether all trap functions of the snmp module are enabled.

Example

# View whether all SNMP traps are enabled.

<sysname>display snmp-agent trap feature-name snmp all
------------------------------------------------------------------------------  
Feature name: SNMP                                                              
Trap number : 5                                                                 
------------------------------------------------------------------------------  
Trap name                       Default switch status   Current switch status   
coldStart                       on                      on                      
warmStart                       on                      on                      
authenticationFailure           off                     on                      
hwSNMPLockThreshold             on                      on                      
hwSNMPLockThresholdResume       on                      on   
Table 1 Description of the display snmp-agent trap feature-name snmp all command output

Item

Description

Feature name

Name of the module where the trap is generated

Trap number

Number of traps

Trap name

Name of trap, including

  • coldStart: this trap is generated when the device is powered off and restarted.
  • warmStart: this trap is generated when the status of SNMP agent is changed from disable to enable.
  • authenticationFailure: this trap is generated when a user uses an incorrect community name and is unable to log in to the device.
  • hwSNMPLockThreshold: this trap is generated when the number of users who were locked due to an authentication failure reached the upper threshold.
  • hwSNMPLockThresholdResume: this trap is generated when the number of users who were locked due to an authentication failure fell below the lower threshold.

Default switch status

Default status of a trap

  • On
  • Off

Current switch status

Current status of a trap

  • On
  • Off

Trap Description

Description of a trap

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