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.
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.
# 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
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:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
To specify the parameter, run the snmp-agent trap enable feature-name etrunk command. |