< Home

display snmp-agent trap feature-name sysres all

Function

The display snmp-agent trap feature-name sysres all command displays the status of all the traps of the SYSRES module.

Format

display snmp-agent trap feature-name sysres all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display snmp-agent trap feature-name sysres all command to check status of all SYSRES traps. This status can be configured using the snmp-agent trap enable feature-name sysres command.

Example

# Display the status of all the traps of the SYSRES module.

<HUAWEI> display snmp-agent trap feature-name sysres all
------------------------------------------------------------------------------                                                      
Feature name: SYSRES                                                                                                                
Trap number : 4                                                                                                                     
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwSysResourceExceed             on                      on                                                                          
hwSysResourceExceedResume       on                      on                                                                          
hwSysResourceThresholdExceed    on                      on                                                                          
hwSysResourceThresholdExceedResume                                                                                                  
                                on                      on   
Table 1 Description of the display snmp-agent trap feature-name sysres 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 a trap.

Default switch status

Default status of a trap:

  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of a trap:

  • on: The trap function is enabled.
  • off: The trap function is disabled.

This status can be configured using the snmp-agent trap enable feature-name sysres command.

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