< Home

display snmp-agent trap feature-name sspadp all

Function

The display snmp-agent trap feature-name sspadp all command displays the status of all traps on the SSPADP module.

Format

display snmp-agent trap feature-name sspadp all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After enabling the trap function for the SSPADP module, you can run the display snmp-agent trap feature-name sspadp all command to check the status of all traps on the SSPADP module. To enable the trap function for the SSPADP module, run the snmp-agent trap enable feature-name sspadp command.

Prerequisites

The SNMP function has been enabled on the switch. For details, see snmp-agent.

Example

# Display the status of all traps on the SSPADP module.

<HUAWEI>display snmp-agent trap feature-name sspadp all
------------------------------------------------------------------------------
Feature name: SSPADP
Trap number : 1
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status
hwPatchDelNeedReStartTrap       on                      on
Table 1 Description of the display snmp-agent trap feature-name sspadp all command output

Item

Specification

Feature name

Name of the module that the trap belongs to.

Trap number

Number of traps.

Trap name

Name of a trap.

hwPatchDelNeedReStartTrap: The switch needs to be restarted after the patch is deleted.

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 >