< Home

display snmp-agent trap all

Function

The display snmp-agent trap all command displays whether the switch is enabled to send alarms of all features to the NM station.

Format

display snmp-agent trap all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display snmp-agent trap all command to check whether the switch is enabled to send alarms of specified features to the NMS. You can configure this function by running snmp-agent trap enable, snmp-agent trap enable feature-name, and snmp-agent trap disable.

Example

# Check whether the switch is enabled to send alarms of specified features to the NMS.

<HUAWEI> display snmp-agent trap all
------------------------------------------------------------------------------  
Feature name: INFO                                                              
Trap number : 2                                                                 
------------------------------------------------------------------------------  
Trap name                       Default switch status   Current switch status   
hwICLogFileAging                on                      on                      
hwICLogBufferLose               on                      on                      
------------------------------------------------------------------------------  
---- More ----
Table 1 Description of the display snmp-agent trap all command output

Item

Description

Feature name

Name of the feature that generates alarms.

Trap number

Number of alarms generated by this feature.

Trap name

Name of the alarm.

Default switch status

Default status of the alarm:
  • on: The switch is enabled to send this alarm to the NMS.
  • off: The switch is disabled to send this alarm to the NMS.

Current switch status

Current status of the alarm:
  • on: The switch is enabled to send this alarm to the NMS.
  • off: The switch is disabled to send this alarm to the NMS.

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

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