< Home

display snmp-agent trap feature-name l3vpn all

Function

The display snmp-agent trap feature-name l3vpn all command displays whether the trap function is enabled for the L3VPN module and the excessive trap flag.

Format

display snmp-agent trap feature-name l3vpn all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display snmp-agent trap feature-name l3vpn all command displays the following information:
  • Trap names supported by the L3VPN module. The trap names are the same as the trap names specified by the snmp-agent trap enable feature-name l3vpn command. Each trap name corresponds to a network element abnormality.
  • Trap status of the L3VPN module. You can check whether the trap is reported based on the trap name.

Example

# Display whether the trap function is enabled for the L3VPN module and the excessive trap flag.

<HUAWEI> display snmp-agent trap feature-name l3vpn all
------------------------------------------------------------------------------
Feature name: l3vpn
Trap number : 5
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status
L3VPN_MIB_TRAP_VRF_UP           off                     off
L3VPN_MIB_TRAP_VRF_DOWN         off                     off
L3VPN_MIB_TRAP_THRESH_CLEARED   off                     off
L3VPN_MIB_TRAP_THRESH_EXCEED    off                     off
L3VPN_MIB_TRAP_MID_THRESH_EXCEED
                                off                     off
Table 1 Description of the display snmp-agent trap feature-name l3vpn all command output

Item

Description

Feature name

Name of the module.

Trap number

Number of trap messages.

Trap name

Types of trap messages:

  • L3VPN_MIB_TRAP_MID_THRESH_EXCEED: The number of VPN routes exceeds the maximum number of route prefixes allowed.
  • L3VPN_MIB_TRAP_THRESH_CLEARED: The number of VPN routes falls below the threshold.
  • L3VPN_MIB_TRAP_THRESH_EXCEED: The number of VPN routes exceeds the threshold.
  • L3VPN_MIB_TRAP_VRF_DOWN: a trap message indicating a VRF Down event.
  • L3VPN_MIB_TRAP_VRF_UP: a trap message indicating a VRF Up event.

Default switch status

Default status of a trap message:

  • 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 a trap message:

  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >