< Home

display snmp-agent trap feature-name line all

Function

The display snmp-agent trap feature-name line all command displays all trap information about the line module.

Format

display snmp-agent trap feature-name line all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

The display snmp-agent trap feature-name line all command can be used to display all traps on the line module.
  • 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.

Example

# 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
Table 1 Description of the display snmp-agent trap feature-name line all command output

Item

Description

Feature name

Name of the module that the trap message belongs

Trap number

Number of trap messages

Trap name

Name of trap:
  • hwVtyNumExceed: Indicate the number of login users through telnet reaches the maximum limit.

  • hwUserLogin: Indicates notification information about user login.

  • hwUserLoginFail: Indicates notification information about user login fail.

  • hwUserLogout: Indicate notification information about user logout.

Default switch status

Status of the trap function by default:
  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of the trap function:
  • on: The trap function is enabled.
  • off: The trap function is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >