The display snmp-agent trap feature-name eoam-y1731 all command displays the status of all traps of the Y.1731 module.
Usage Scenario
The Simple Network Management Protocol (SNMP) is a network management standard widely used on the TCP/IP network. It uses a central computer (a network management station) that runs network management software to manage network elements. The SNMP agent reports trap messages to the network management station so that the network management station can obtain the network status in a timely manner, and the network administrator can take measures accordingly.
Trap names supported by the Y.1731 module. The trap names are the same as the trap names specified by the snmp-agent trap enable feature-name eoam-y1731 trap-name trap-name command. Each trap name corresponds to a network element abnormality.
Trap status of the Y.1731 module. You can check whether the trap is reported based on the trap name.
Prerequisites
SNMP has been enabled. See snmp-agent.
# Display all traps of the Y.1731 module (S5720-HI is used as an example).
<HUAWEI> display snmp-agent trap feature-name eoam-y1731 all
------------------------------------------------------------------------------
Feature name: EOAM-Y1731
Trap number : 10
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwCfmVlanOnewayDelay off on
hwCfmVlanOnewayDelayRecovery off on
hwCfmVlanTwowayDelay off on
hwCfmVlanTwowayDelayRecovery off on
hwY1731AisDefectAlarm off on
hwY1731AisDefectAlarmRecovery off on
hwY1731AisExceedMaxPktNum off on
hwY1731AisExceedMaxPktNumCleared
off on
hwY1731TestIdStatistic off on
hwY1731TestIdStatisticClear off on
# Display all traps of the Y.1731 module (S6720-EI is used as an example).
<HUAWEI> display snmp-agent trap feature-name eoam-y1731 all
------------------------------------------------------------------------------
Feature name: EOAM-Y1731
Trap number : 8
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwCfmVlanOnewayDelay off on
hwCfmVlanOnewayDelayRecovery off on
hwCfmVlanTwowayDelay off on
hwCfmVlanTwowayDelayRecovery off on
hwY1731AisDefectAlarm off on
hwY1731AisDefectAlarmRecovery off on
hwY1731AisExceedMaxPktNum off on
hwY1731AisExceedMaxPktNumCleared
off on
Item |
Description |
---|---|
Feature name |
Name of the module that the trap belongs to. |
Trap number |
Number of traps. |
Trap name |
Name of the trap:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
To configure the status of the trap, run the snmp-agent trap enable feature-name eoam-y1731 command. |