< 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

3: Management 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 l3vpn all command displays whether all trap functions of the L3VPN module are enabled.

Prerequisites

After running the snmp-agent trap enable feature-name l3vpn command to enable or disable a trap function of the L3VPN module, run the display snmp-agent trap feature-name l3vpn all command to check the status of all trap functions of the L3VPN module.

Example

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

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

Item

Description

Feature name

Indicates the name of the module.

Trap number

Indicates the number of trap messages.

Trap name

Indicates the types of trap messages:

  • L3VPN_MIB_TRAP_VRF_UP: a trap message indicating a VRF Up event.
  • L3VPN_MIB_TRAP_VRF_DOWN: a trap message indicating a VRF Down event.
  • L3VPN_MIB_TRAP_THRESH_EXCEED: a trap message indicating that the number of private routes exceeds the threshold.
  • L3VPN_MIB_TRAP_THRESH_CLEARED: a trap message indicating that the number of private routes falls below the threshold.
  • L3VPN_MIB_TRAP_MID_THRESH_EXCEED: a trap message indicating that the number of private routes exceeds the middle threshold.
  • L3VPN_MIB_TRAP_TUNNEL_UPDOWN_EVENT: a trap message indicating that the status of the tunnel used by a VPN changed.

Default switch status

Indicates the 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

Indicates the current status of a trap message:

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

# Display details about all the traps related to the L3VPN module.

<sysname>display snmp-agent trap feature-name l3vpn all verbose
------------------------------------------------------------------------------
Feature name: l3vpn
Trap number : 6
------------------------------------------------------------------------------

Trap name                : L3VPN_MIB_TRAP_VRF_UP
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : L3VPN_MIB_TRAP_VRF_DOWN
Default switch status    : off
Current switch status    : off
Trap Description         : vpn instance down

Trap name                : L3VPN_MIB_TRAP_THRESH_CLEARED
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : L3VPN_MIB_TRAP_THRESH_EXCEED
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : L3VPN_MIB_TRAP_MID_THRESH_EXCEED
Default switch status    : off
Current switch status    : off
Trap Description         :

Trap name                : L3VPN_MIB_TRAP_TUNNEL_UPDOWN_EVENT
Default switch status    : off
Current switch status    : off
Trap Description         :
Table 2 Description of the display snmp-agent trap feature-name l3vpn all verbose command output

Item

Description

Trap Description

Trap details

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