routing-table limit
Syntax
routing-table limit number { warn-threshold | simply-alert }
undo routing-table limit
View
VPN instance view
Default level
2: System level
Parameters
number: Maximum number of routes for the VPN instance to support. The value ranges from 1 to 12288.
warn-threshold: Specifies a threshold for warning, in the range of 1 to 100, in percentages. When the
percentage of the number of existing routes to the maximum number of routes supported exceeds the
specified threshold, the system gives an alarm message but still allows new routes. If the number of routes
in the VPN instance reaches the maximum supported, no more routes are added.
simply-alert: Specifies that when the number of routes exceeds the maximum number of routes supported,
the system still accepts routes but generates a system log (Syslog) message.
Description
Use routing-table limit to limit the maximum number of routes in a VPN instance, preventing too many
routes from being accepted by a PE.
Use undo routing-table limit to restore the default.
By default, no limit is configured.
Examples
# Specify that VPN instance vpn1 supports up to 1000 routes and can receive new routes after the
number of existing routes exceeds the limit.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 100:1
[Sysname-vpn-instance-vpn1] routing-table limit 1000 simply-alert
vpn-instance-capability simple
Syntax
vpn-instance-capability simple
undo vpn-instance-capability
View
OSPF multi-instance view
Default level
2: System level
Parameters
None
388