The display snmp-agent trap feature-name configuration all command displays all trap messages of the Configuration module.
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.
# 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 :
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:
|
Default switch status |
Status of the default trap function:
|
Current switch status |
Status of the current trap function:
|