< Home

display ip routing-table limit

Function

The display ip routing-table limit command displays the maximum 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 Indicates all IPv4 VPN instances. -
vpn-instance vpn-instance-name Specifies the name of a IPv4 VPN instance. The value must be an existing VPN instance name.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The command displays limits on the number of IPv4 routes and prefixes.
  • The display ip routing-table limit command displays limits on the number of IPv4 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 IPv4 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 IPv4 VPN instance.

Example

# Display the limits on the number of IPv4 public routes and prefixes.
<HUAWEI> display ip routing-table limit
Public Instance:                                                                
Limit-Object Limit-Type     Upper-Limit  Warning    Current    Log-Interval     
Route         Default        -            -          9          5               
Prefix        Default        -            -          9          5

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

<HUAWEI> 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: vpn2
Route            Alert-Percent  2000           1000         823       5
Prefix           Default        -              -            760       5

# Display limits on the numbers of routes and prefixes of the IPv4 VPN instance named vpn1.

<HUAWEI> 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
Table 1 Description of the display ip routing-table limit command output

Item

Description

Limit-Object

Object whose total number is limited:
  • Prefix

  • Route

Limit-Type

Limit type for the routes and prefixes in the 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

Upper limit of routes or prefixes in the current routing table.

Warning

Alarm threshold of routes or prefixes in the current routing table.

Current

Number of routes or prefixes in the current routing table.

Log-Interval

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

The default value is 5s.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >