The display ip routing-table limit command displays limits on the number of routes and prefixes.
Parameter | Description | Value |
---|---|---|
all-vpn-instance |
Displays limits on the number of routes and prefixes in all VPN instances. |
- |
vpn-instance vpn-instance-name |
Displays limits on the number of routes and prefixes in a specified 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. |
Usage Scenario
The command displays limits on the number of routes and prefixes.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ip routing-table limit vpn-instance vpn1
VPN Instance Name: vpn1
Limit-Object Limit-Type Upper-Limit Warning Current Log-Interval
Route - - - - -
Prefix Alert-Percent 1000 800 760 5
<HUAWEI> display ip routing-table limit all-vpn-instance
Limit-Object Limit-Type Upper-Limit Warning Current Log-Interval
----------------------------------------------------------------------------
VPN Instance Name: _dcn_vpn_
Route Default - - - -
Prefix Default - - 7 5
----------------------------------------------------------------------------
VPN Instance Name: vpna
Route Default - - - -
Prefix Default - - 1 5
<HUAWEI> display ip routing-table limit
_public_ Instance
Limit-Object Limit-Type Upper-Limit Warning Current Log-Interval
Route Default - - 0 5
Prefix Default - - 0 5
Item | Description |
---|---|
VPN Instance Name | VPN instance name. |
Limit-Object | Object whose total number is limited:
|
Limit-Type | Limit type for the routes and prefixes in the routing table:
|
Upper-Limit | Upper limit of routes or prefixes in the routing table. |
Warning | Alarm threshold of routes or prefixes in the routing table. |
Current | Number of routes or prefixes in the routing table. |
Log-Interval | Interval at which logs are displayed when the number of routes or prefixes in the routing table exceeds the upper limit, in seconds. |