< Home

display snmp-agent trap feature-name l2bptnl all

Function

The display snmp-agent trap feature-name l2bptnl all command displays all trap messages of the Layer 2 tunneling module.

Format

display snmp-agent trap feature-name l2bptnl all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name l2bptnl all command to check the status of all traps of l2bptnl. You can use the snmp-agent trap enable feature-name l2bptnl command to enable the trap function of l2bptnl.

Prerequisites

SNMP has been enabled. See snmp-agent.

Example

# Display all trap messages of the Layer 2 tunneling module.

<HUAWEI>display snmp-agent trap feature-name l2bptnl all
------------------------------------------------------------------------------                                                      
Feature name: L2BPTNL                                                                                                               
Trap number : 2                                                                                                                     
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwL2ProtocolTunnelDropThresholdRaising                                                                                              
                                on                      on                                                                          
hwL2ProtocolTunnelDropThresholdFalling                                                                                              
                                on                      on                           
Table 1 Description of the display snmp-agent trap feature-name l2bptnl all command output

Item

Specification

Feature name

Name of the module that the trap belongs to.

Trap number

Number of traps.

Trap name

Name of a trap message of the Layer 2 tunneling module:

  • hwL2ProtocolTunnelDropThresholdRaising: alarm generated when the number of discarded protocol packets on the Layer 2 protocol tunneling-enabled interface exceeds the threshold.

  • hwL2ProtocolTunnelDropThresholdFalling: alarm generated when the number of discarded protocol packets on the Layer 2 protocol tunneling-enabled interface falls below the threshold.

Default switch status

Default status of the trap function:
  • on: indicates that the trap function is enabled by default.

  • off: indicates that the trap function is disabled by default.

Current switch status

Status of the 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 l2bptnl command.

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