The display snmp-agent trap feature-name line all command displays all trap information about the line 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. The management agent on the network element automatically reports traps to the network management station. After that, the network administrator immediately takes measures to resolve the problem.
Name of a trap supported on the line module: The trap name must be the same as that specified by the snmp-agent trap enable feature-name line trap-name trap-name command. The name of each trap indicates a fault on the network element.
Trap status on the line module: The trap name shows whether sending a trap is enabled.
Prerequisites
The SNMP function has been enabled on the network element. For the relevant command, see snmp-agent.
# Display all trap information about the line module.
<HUAWEI>display snmp-agent trap feature-name line all
------------------------------------------------------------------------------
Feature name: LINE
Trap number : 4
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwVtyNumExceed off off
hwUserLogin off off
hwUserLoginFail off off
hwUserLogout off off
Item |
Description |
---|---|
Feature name |
Name of the module that the trap message belongs |
Trap number |
Number of trap messages |
Trap name |
Name of trap:
|
Default switch status |
Status of the trap function by default:
|
Current switch status |
Current status of the trap function:
|