< Home

display snmp-agent trap feature-name system all

Function

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

Format

display snmp-agent trap feature-name system all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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

Example

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

<HUAWEI> display snmp-agent trap feature-name system all
------------------------------------------------------------------------------                                                      
Feature name: SYSTEM                                                                                                                
Trap number : 8                                                                                                                     
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwSysReloadNotification         off                     off                                                                         
hwSysClockChangedNotification   off                     off                                                                         
hwPatchErrorTrap                off                     off                                                                         
hwPatchActiveOverTimeTrap       off                     off                                                                         
hwPatchMalfunctionComebackTrap  off                     off                                                                         
hwSysSlaveSwitchFailNotification                                                                                                    
                                off                     off                                                                         
hwSysSlaveSwitchSuccessNotification                                                                                                 
                                off                     off                                                                         
hwSysIssuNotification           off                     off
Table 1 Description of the display snmp-agent trap feature-name system 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 system command.

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