The display snmp-agent trap feature-name eoam-1ag all command displays the status of all traps of the Ethernet OAM-1AG module.
Usage Scenario
The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements (NEs). 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 Ethernet OAM-1AG module. The trap names are the same as the trap names specified by the snmp-agent trap enable feature-name eoam-1ag trap-name trap-name command. Each trap name corresponds to an NE exception.
Trap status of the Ethernet OAM-1AG module. You can check whether the trap is reported based on the trap name.
Prerequisites
SNMP has been enabled using the snmp-agent command.
# Display all traps of the EOAM-1AG module.
<HUAWEI> display snmp-agent trap feature-name eoam-1ag all
------------------------------------------------------------------------------
Feature name: EOAM-1AG
Trap number : 16
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwDot1agCfmUnexpectedMEGLevel off on
hwDot1agCfmUnexpectedMEGLevelCleared
off on
hwDot1agCfmMismerge off on
hwDot1agCfmMismergeCleared off on
hwDot1agCfmUnexpectedMEP off on
hwDot1agCfmUnexpectedMEPCleared
off on
hwDot1agCfmUnexpectedPeriod off on
hwDot1agCfmUnexpectedPeriodCleared
off on
hwDot1agCfmUnexpectedMAC off on
hwDot1agCfmUnexpectedMACCleared
off on
hwDot1agCfmLOC off on
hwDot1agCfmLOCCleared off on
hwDot1agCfmExceptionalMACStatus
off on
hwDot1agCfmExceptionalMACStatusCleared
off on
hwDot1agCfmRDI off on
hwDot1agCfmRDICleared 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:
|