R3303-HP HSR6800 Routers MPLS Command Reference
344
Syntax
routing-table limit number { warn-threshold | simply-alert }
undo routing-table limit
Default
A VPN instance supports up to 100000 routes.
Views
VPN instance view, IPv4 VPN view
Default command level
2: System level
Parameters
number: Specifies the maximum number of routes supported. The value range varies by device.
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.
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 applies to only the IPv4 VPN.
IPv4 VPN prefers the limit configured in IPv4 view over the limit configured in VPN instance view.
Examples
# Specify that VPN instance vpn1 supports up to 1000 routes, and when routes exceed the limit, can
receive new 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 routes, and when routes reaches 70% of the limit,
can receive new 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] ipv4-family
[Sysname-vpn-ipv4-vpn2] routing-table limit 1000 70
rr-filter (BGP-VPNv4 subaddress family view/BGP-L2VPN
address family view/BGP-VPLS address family view)
Use rr-filter to create an RR reflection policy so that only IBGP routes whose Extended Communities
attribute matches the specified one are reflected.










