< Home

snmp-agent trap enable feature-name l3vpn

Function

The snmp-agent trap enable feature-name l3vpn command enables the trap function for the L3VPN module.

The undo snmp-agent trap enable feature-name l3vpn command disables the trap function for the L3VPN module.

By default, the trap function for L3VPN module is disabled.

Format

snmp-agent trap enable feature-name l3vpn [ trap-name { l3vpn_mib_trap_mid_thresh_exceed | l3vpn_mib_trap_thresh_cleared | l3vpn_mib_trap_thresh_exceed | l3vpn_mib_trap_tunnel_updown_event | l3vpn_mib_trap_vrf_down | l3vpn_mib_trap_vrf_up } ]

undo snmp-agent trap enable feature-name l3vpn [ trap-name { l3vpn_mib_trap_mid_thresh_exceed | l3vpn_mib_trap_thresh_cleared | l3vpn_mib_trap_thresh_exceed | l3vpn_mib_trap_tunnel_updown_event | l3vpn_mib_trap_vrf_down | l3vpn_mib_trap_vrf_up } ]

Parameters

Parameter Description Value
trap-name Enables the traps of L3VPN events of specified types. -
l3vpn_mib_trap_mid_thresh_exceed Enables the trap of the event indicating that the number of private routes exceeds the middle threshold which is set by the routing-table limit (VPN instance view) command or the prefix limit command. -
l3vpn_mib_trap_thresh_cleared Enables the trap of the event indicating that the number of private routes falls below the threshold which is set by the routing-table limit (VPN instance view) command or the prefix limit command. -
l3vpn_mib_trap_thresh_exceed Enables the trap of the event indicating that the number of private routes exceeds the upper limit which is set by the routing-table limit (VPN instance view) command or the prefix limit command. -
l3vpn_mib_trap_tunnel_updown_event Enables the trap of the event indicating that the status of the tunnel used by a VPN changed. -
l3vpn_mib_trap_vrf_down Enables the trap of VRF Down event. -
l3vpn_mib_trap_vrf_up Enables the trap of VRF Up event. -

Views

System view

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 snmp-agent trap enable feature-name l3vpn command enables the trap function for L3VPN modules.

Precautions

To enable the trap function of one or more types of trap messages, specify trap-name, including l3vpn_mib_trap_mid_thresh_exceed, l3vpn_mib_trap_thresh_cleared, l3vpn_mib_trap_thresh_exceed, l3vpn_mib_trap_tunnel_updown_event, l3vpn_mib_trap_vrf_down, and l3vpn_mib_trap_vrf_up.

Example

# Enable the trap of VRF Down event.

<sysname> system-view
[sysname] snmp-agent trap enable feature-name l3vpn trap-name l3vpn_mib_trap_vrf_down

# Disable the trap of VRF Down event.

<sysname> system-view
[sysname] undo snmp-agent trap enable feature-name l3vpn trap-name l3vpn_mib_trap_vrf_down
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >