The display snmp-agent trap feature-name ifnet all command displays all trap messages of the IFNET 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 ifnet all command displays whether all trap functions of the IFNET module are enabled.
# Display all trap messages of the IFNET module.
<HUAWEI> display snmp-agent trap feature-name ifnet all
------------------------------------------------------------------------------
Feature name: IFNET
Trap number : 15
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status
hwIfMonitorCrcErrorRising       off                     on
hwIfMonitorCrcErrorResume       off                     off
hwIfFlowDown                    off                     off
hwIfFlowUp                      off                     off
hwIfNameChange                  off                     off
hwIfNameChangeResume            off                     off
hwIfMonitorInputRateRising      off                     off
hwIfMonitorInputRateResume      off                     off
hwIfMonitorOutputRateRising     off                     off
hwIfMonitorOutputRateResume     off                     off
hwEntityExtCfmOverSlot          off                     on
hwEntityExtCfmOverCard          off                     off
linkDown                        off                     off
linkUp                          off                     off
hwExtInterfaceDelete            off                     off
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 IFNET module: 
  | 
Default switch status  | 
Status of the default trap function: 
  | 
Current switch status  | 
Status of the current trap function: 
  |