< Home

display snmp-agent trap feature-name uni-tplm all

Function

display snmp-agent trap feature-name uni-tplm all command displays the status of all traps on the UNI-TPLM module.

This command can only be executed on a parent switch.

Format

display snmp-agent trap feature-name uni-tplm all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name uni-tplm all command to check the status of all traps of UNI-TPLM. You can use the snmp-agent trap enable feature-name uni-tplm command to enable the trap function of UNI-TPLM.

Prerequisites

SNMP has been enabled. For details, see snmp-agent.

Example

# Display all the traps of the UNI-TPLM module.

<HUAWEI>display snmp-agent trap feature-name uni-tplm all
------------------------------------------------------------------------------                                                      
Feature name: uni-tplm                                                                                                              
Trap number : 3                                                                                                                     
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwTplmCmdExecuteFailedNotify    on                      on                                                                          
hwTplmCmdExecuteSuccessfulNotify                                                                                                    
                                on                      on                                                                          
hwTplmDirectCmdRecoverFail      on                      on
Table 1 Description of the display snmp-agent trap feature-name uni-tplm all command output

Item

Specification

Feature name

Name of the module that the trap belongs to.

Trap number

Number of traps.

Trap name

Trap name. Traps of the UNI-TPLM module include:

  • hwTplmCmdExecuteFailedNotify: The command fails to be executed on the AS.

  • hwTplmCmdExecuteSuccessfulNotify: The command is executed successfully on the AS.

  • hwTplmDirectCmdRecoverFail: Configurations of the commands directly configured on the parent for the AS fail to be restored.

Default switch status

Default status of the trap function:
  • on: indicates that the trap function is enabled by default.

  • off: indicates that the trap function is disabled by default.

Current switch status

Status of the trap function:

  • on: indicates that the trap function is enabled.

  • off: indicates that the trap function is disabled.

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