< Home

display snmp-agent trap feature-name trunk all

Function

The display snmp-agent trap feature-name trunk all command displays all trap messages of the Trunk module.

Format

display snmp-agent trap feature-name trunk all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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. Then the network administrator immediately takes measures to resolve the problem.

The display snmp-agent trap feature-name trunk all command displays whether all trap functions of the Trunk module are enabled.

Example

# Display all trap messages of the Trunk module.

<HUAWEI>display snmp-agent trap feature-name trunk all
------------------------------------------------------------------------------
Feature name: TRUNK
Trap number : 4
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status
hwExtLinkDown                   off                     off
hwExtLinkUp                     off                     off
hwExtAllMemberDownNotify        off                     off
hwExtAllMemberDownResume        off                     off  
Table 1 Description of the display snmp-agent trap feature-name trunk all command output

Item

Description

Feature name

Name of the module to which a trap message belongs.

Trap number

Number of trap messages.

Trap name

Name of a trap message of the Trunk module:

  • hwextlinkdown: The link protocol on the interface becomes Down.
  • hwextlinkup: The link protocol on the interface becomes Up.
  • hwextallmemberdownnotify: The all member interfaces of a Trunk interface become Down.
  • hwextallmemberdownresume: At least one of the member interfaces of a Trunk interface becomes Up.

Default switch status

Status of the default trap function:

  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

Current switch status

Status of the current trap function:

  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

To specify the parameter, run the snmp-agent trap enable feature-name trunk command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >