< Home

snmp-agent trap enable feature-name rm

Function

The snmp-agent trap enable feature-name rm command enables the alarm function for the Route Management (RM) module.

The undo snmp-agent trap enable feature-name rm command disables the alarm function for the RM module.

By default, the alarm function for the RM module is disabled.

Format

snmp-agent trap enable feature-name rm [ trap-name { hwl3vpnipv6prefixexceed | hwl3vpnipv6prefixexceedclear | hwl3vpnipv6prefixthresholdexceed | hwpublicipv4prefixexceed | hwpublicipv4prefixexceedclear | hwpublicipv4prefixthresholdexceed | hwpublicipv4prefixthresholdexceedclear | hwpublicipv6prefixexceed | hwpublicipv6prefixexceedclear | hwpublicipv6prefixthresholdexceed | hwpublicipv6prefixthresholdexceedclear } ]

undo snmp-agent trap enable feature-name rm [ trap-name { hwl3vpnipv6prefixexceed | hwl3vpnipv6prefixexceedclear | hwl3vpnipv6prefixthresholdexceed | hwpublicipv4prefixexceed | hwpublicipv4prefixexceedclear | hwpublicipv4prefixthresholdexceed | hwpublicipv4prefixthresholdexceedclear | hwpublicipv6prefixexceed | hwpublicipv6prefixexceedclear | hwpublicipv6prefixthresholdexceed | hwpublicipv6prefixthresholdexceedclear } ]

Parameters

Parameter Description Value
trap-name Enables the alarm function for specific events. -
hwl3vpnipv6prefixexceed

Enables the alarm function in case the number of IPv6 route prefixes in the VPN instance exceeds the maximum number that is allowed.

-
hwl3vpnipv6prefixexceedclear

Enables the clear alarm function in case the number of IPv6 route prefixes in the VPN instance falls below the maximum number that is allowed.

-
hwl3vpnipv6prefixthresholdexceed

Enables the alarm function in case the number of IPv6 route prefixes in the VPN instance exceeds the alarm threshold.

-
hwpublicipv4prefixexceed

Enables the alarm function in case the number of IPv4 public route prefixes exceeds that supported by the system.

-
hwpublicipv4prefixexceedclear

Enables the clear alarm function in case the number of IPv4 public route prefixes falls below that supported by the system.

-
hwpublicipv4prefixthresholdexceed

Enables the alarm function in case the number of IPv4 public route prefixes exceeds the alarm threshold.

-
hwpublicipv4prefixthresholdexceedclear

Enables the clear alarm function in case the number of IPv4 public route prefixes falls below the clear alarm threshold.

-
hwpublicipv6prefixexceed

Enables the alarm function in case the number of IPv6 public route prefixes exceeds that supported by the system.

-
hwpublicipv6prefixexceedclear

Enables the clear alarm function in case the number of IPv6 public route prefixes falls below that supported by the system.

-
hwpublicipv6prefixthresholdexceed

Enables the alarm function in case the number of IPv6 public route prefixes exceeds the alarm threshold.

-
hwpublicipv6prefixthresholdexceedclear

Enables the clear alarm function in case the number of IPv6 public route prefixes falls below the clear alarm threshold.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Guidelines

The snmp-agent trap enable feature-name rm command enables the alarm function to monitor the tunnel group status. To enable the alarm function for one or more specific events on the RM module, set trap-name in the command.

Follow-up Procedure

You can run the display snmp-agent trap feature-name rm all command to view the alarms related to the RM module.

Example

# Enable the alarm function for the RM tunnel group reachable event.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name rm trap-name hwpublicipv4prefixexceed
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic