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.
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.
# 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
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:
|
Default switch status |
Indicates the default status of a trap message:
|
Current switch status |
Indicates the current status of a trap message:
|
# 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 :
Item |
Description |
|---|---|
Trap Description |
Trap details |