< Home

display snmp-agent trap feature-name manager all

Function

The display snmp-agent trap feature-name manager all command displays the status of trap functions of the administrator module.

Format

display snmp-agent trap feature-name manager all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Displays the status of trap functions of the administrator module.

<sysname> display snmp-agent trap feature-name manager all
------------------------------------------------------------------------------
Feature name: manager
Trap number : 4
------------------------------------------------------------------------------
Trap name              Default switch status   Current switch status
hwloginsucceed         off                     on
hwloginfailed          off                     on
hwlogoutsucceed        off                     on
hwlogoutfailed         off                     on
Table 1 Description of the display snmp-agent trap feature-name manager all command output

Item

Description

Feature name

Name of the module to which a trap message belongs

Trap number

Number of trap messages

Trap name

Trap name. The administrator module has the following traps:

  • hwloginsucceed: An administrator logged in successfully.
  • hwloginfailed: An administrator failed to log in.
  • hwlogoutsucceed: An administrator logged out successfully.
  • hwlogoutfailed: An administrator failed to log out.

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

Current 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 >