The display ip routing-table limit command displays limits on the number of routes and prefixes.
| 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. |
# 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
Item |
Description |
|---|---|
Limit-Object |
Indicates the object whose total number is limited:
|
Limit-Type |
Indicates the limit type for the routes and prefixes in
the current routing table:
|
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