R211x-HP Flexfabric 11900 MPLS Command Reference
318
routing-table limit
Use routing-table limit to limit the maximum number of active routes in a VPN instance.
Use undo routing-table limit to restore the default.
Syntax
routing-table limit number { warn-threshold | simply-alert }
undo routing-table limit
Default
The maximum number of active routes in a VPN instance is not limited.
Views
VPN instance view, IPv4 VPN view, IPv6 VPN view
Predefined user roles
network-admin
mdc-admin
Parameters
number: Specifies the maximum number of active routes. In VPN instance view or IPv6 VPN view, the
value range is 1 to 65536. In IPv4 VPN view, the value range is 1 to 524288.
warn-threshold: Specifies a warning threshold in the range of 1 to 100 in percentage. When the
percentage of the number of existing active routes to the maximum number of active routes exceeds the
specified threshold, the system gives an alarm message but still allows new active routes. If active routes
in the VPN instance reach the maximum, no more active routes are added.
simply-alert: Specifies that when active routes exceed the maximum number, the system still accepts
active routes but generates a system log message.
Usage guidelines
A limit configured in VPN instance view applies to both the IPv4 VPN and the IPv6 VPN.
A limit configured in IPv4 VPN view or IPv6 VPN view applies to only the IPv4 VPN or the IPv6 VPN.
IPv4/IPv6 VPN prefers the limit configured in IPv4/IPv6 VPN view over the limit configured in VPN
instance view.
Examples
# Specify that VPN instance vpn1 supports up to 1000 active routes, and when active routes exceed the
upper limit, can receive new active routes but generates a system log message.
<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
# Specify that the IPv4 VPN vpn2 supports up to 1000 active routes, and when active routes exceed the
upper limit, can receive new active routes but generates a system log message.
<Sysname> system-view
[Sysname] ip vpn-instance vpn2
[Sysname-vpn-instance-vpn2] route-distinguisher 100:2
[Sysname-vpn-instance-vpn2] address-family ipv4










