< Home

display snmp-agent trap feature-name etrunk all

Function

The display snmp-agent trap feature-name etrunk all command displays the status of all traps on the E-Trunk module.

Only the S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720-LI, S6720S-EI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

display snmp-agent trap feature-name etrunk 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 etrunk all command to check the status of all traps of E-Trunk. You can use the snmp-agent trap enable feature-name etrunk command to enable the trap function of etrunk.

Prerequisites

SNMP has been enabled. See snmp-agent.

Example

# Display all the traps of the E-Trunk module.

<HUAWEI>display snmp-agent trap feature-name etrunk all
------------------------------------------------------------------------------                                                      
Feature name: etrunk                                                                                                                
Trap number : 2                                                                                                                     
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwETrunkStatusChange            off                     off                                                                         
hwETrunkMemberStatusChange      off                     off    
Table 1 Description of the display snmp-agent trap feature-name etrunk 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 E-Trunk module include:

  • hwETrunkStatusChange: Huawei proprietary trap sent when the E-Trunk status changes

  • hwETrunkMemberStatusChange: Huawei proprietary trap sent when the E-Trunk member status changes

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.

To specify the parameter, run the snmp-agent trap enable feature-name etrunk command.

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