No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
alarm-threshold route vpn-instance

alarm-threshold route vpn-instance

Function

The alarm-threshold route vpn-instance command sets a threshold and log recovery percentage for the number of routes in a VPN instance.

The undo alarm-threshold route vpn-instance command cancels the settings.

By default, the threshold and log recovery percentage for the number of routes in an L3VPN instance are not configured.

Format

alarm-threshold route route-number [ recovery-percentage percentage ] { ipv4 | ipv6 } vpn-instance vpn-instance-name

undo alarm-threshold route route-number [ recovery-percentage percentage ] { ipv4 | ipv6 } vpn-instance vpn-instance-name

Parameters

Parameter Description Value
route-number Specifies the threshold for the number of routes. The value is an integer ranging from 1 to 4294967295.
recovery-percentage percentage Specifies the log recovery percentage. The value is an integer ranging from 1 to 95. After the threshold for the number of routes is set, the log recovery percentage is 80 by default.
ipv4 Specifies the VPN instance IPv4 address family. -
ipv6 Specifies the VPN instance IPv6 address family. -
vpn-instance vpn-instance-name Specifies the name of a VPN instance. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

In a distributed VXLAN gateway scenario or BPG/MPLS VPN networking, EVPN or VPNv4/VPNv6 serves as the control plane to delver host routes, and VPN instances store IP routes. As the number of access hosts increases, routes stored control plane increase greatly, consuming a lot of memory resources. To better monitor the impact of an increase in route quantity on memory and prevent device restart caused by memory insufficiency, run the alarm-threshold route vpn-instance command to set a threshold for the number of routes by VPN instance. When the number of routes exceeds the threshold, a user log will be generated. When the number of routes equals the log recovery percentage, a recovery log will be generated.

Example

# Set a threshold and log recovery percentage for the number of routes in a VPN instance.

<HUAWEI> system-view
[~HUAWEI] alarm-threshold route 10000 recovery-percentage 90 ipv4 vpn-instance vrf1
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 52434

Downloads: 339

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next