< Home

display ip routing-table limit

Function

The display ip routing-table limit command displays limits on the number of routes and prefixes.

Format

display ip routing-table limit [ all-vpn-instance | vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
all-vpn-instance Specifies all VPN instances. -
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. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The command displays limits on the number of routes and prefixes.
  • The display ip routing-table limit command displays limits on the number of public routes and prefixes.
  • The display ip routing-table limit all-vpn-instance command displays the limit on the number of routes and prefixes of all VPN instances.
  • The display ip routing-table limit vpn-instance vpn-instance-name command displays the limit on the number of routes and prefixes of a specified VPN instance.

Example

# Display limits on the number of routes and prefixes of all VPN instances.

<sysname> display ip routing-table limit all-vpn-instance
Limit-Object     Limit-Type    Upper-Limit     Warning     Current    Log-Interval
----------------------------------------------------------------------------------
VPN Instance Name: VPN1
Route            Simply-Alert   5000           -            4223      5
Prefix           Alert-Percent  1000           800          760       5
-----------------------------------------------------------------------------------
VPN Instance Name: VPN12345678901234567890123456789
Route            Alert-Percent  2000           1000         823       5
Prefix           Default        -              -            760       5
Table 1 Description of the display ip routing-table limit command output

Item

Description

Limit-Object

Indicates the object whose total number is limited:
  • Prefix

  • Route

Limit-Type

Indicates the limit type for the routes and prefixes in the current routing table:
  • Simply-Alert: indicates that only alarms are generated when the number of routes or prefixes exceeds the upper limit.

  • Alert-Percent: indicates the percentage of the alarm threshold of routes.

  • Default: indicates that the number of routes or prefixes is not limited by default.

Upper-Limit

Indicates the upper limit of routes or prefixes in the current routing table.

Warning

Indicates the alarm threshold of routes or prefixes in the current routing table.

Current

Indicates the number of routes or prefixes in the current routing table.

Log-Interval

Indicates the frequency of displaying logs when the number of routes or prefixes in the current routing table exceeds the upper limit, in seconds.

# Display the limit on the number of routes and prefixes of the VPN instance named vpn1.

<sysname> display ip routing-table limit vpn-instance vpn1
VPN Instance Name: vpn1
Limit-Object     Limit-Type      Upper-Limit    Warning    Current    Log-Interval
Route            Simply-Alert    5000           -          4223       5
Prefix           Alert-Percent   1000           800        760        5

# Display the limits on the number of public routes and prefixes.

<sysname> display ip routing-table limit
Public Instance:
Limit-Object Limit-Type     Upper-Limit  Warning    Current    Log-Interval
Route        Default         -           -          2          5
Prefix       Alert-Percent   1000        800        2          5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >