< Home

display snmp-agent trap feature-name configuration all

Function

The display snmp-agent trap feature-name configuration all command displays all trap messages of the Configuration module.

Format

display snmp-agent trap feature-name configuration 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 configuration all command displays whether all trap functions of the Configuration module are enabled.

Example

# Display all trap messages of the Configuration module.

<sysname> display snmp-agent trap feature-name configuration all
------------------------------------------------------------------------------
Feature name: CONFIGURATION                 
Trap number : 4         
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status 
hwCfgManEventlog                off                     on                  
hwCfgOperateCompletion          off                     on                  
hwCfgB2STransferFail            off                     on                  
hwCfgB2SOperate                 off                     on  

# Display detailed information about the Configuration module.

<sysname> display snmp-agent trap feature-name configuration all verbose
------------------------------------------------------------------------------
Feature name: CONFIGURATION                 
Trap number : 4         
------------------------------------------------------------------------------

Trap name                : hwCfgManEventlog
Default switch status    : off
Current switch status    : on
Trap Description         : 

Trap name                : hwCfgOperateCompletion
Default switch status    : off
Current switch status    : on
Trap Description         : 

Trap name                : hwCfgB2STransferFail
Default switch status    : off
Current switch status    : on
Trap Description         : 

Trap name                : hwCfgB2SOperate
Default switch status    : off
Current switch status    : on
Trap Description         : 
Table 1 Description of the display snmp-agent trap feature-name configuration all command output

Item

Description

Feature name

Name of the module to which a trap message belongs.

Trap number

Number of trap messages.

Trap name

Name of a trap message of the Configuration module:
  • hwCfgManEventlog: enables the device to send trap when the system configuration is changed.
  • hwCfgOperateCompletion: enables the device to send trap when the copy operation of system configuration is complete.
  • hwCfgInconsistent: enables the device to send trap when the system automatically detects that configurations of the AMB and the SMB are inconsistent.
  • hwCfgConsistent: enables the device to send trap when the system automatically detects that configurations of the AMB and the SMB change from inconsistent to consistent.
  • hwCfgB2STransferFail: enables the device to send trap when the device fails to send its configuration file to a specified server.
  • hwCfgB2SOperate: enables the device to send trap when the device starts to send its configuration file to a specified server.

Default switch status

Status of the default trap function:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

Current switch status

Status of the current trap function:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >