H3C S6550X-HI Series Command Reference Manual page 2113

Table of Contents

Advertisement

routing-table limit
Use
routing-table limit
Use
undo routing-table limit
Syntax
routing-table limit number { warn-threshold | simply-alert }
undo routing-table limit
Default
The number of active routes in a VPN instance is not limited.
Views
VPN instance view
VPN instance IPv4 address family view
VPN instance IPv6 address family view
Predefined user roles
network-admin
Parameters
: Specifies the maximum number of active routes. The value range for this argument is 1 to
number
110592 in VPN instance view, 1 to 221184 in VPN instance IPv4 address family view, and 1 to
110592 in VPN instance IPv6 address family view.
warn-threshold
percentage of the existing active routes to the maximum active routes exceeds the threshold, the
system gives a log 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
accepts active routes but generates a log message.
Usage guidelines
Setting the maximum number of active routes for a VPN instance can prevent a PE from learning too
many routes.
A limit configured in VPN instance view applies to both the IPv4 VPN and the IPv6 VPN. A limit
configured in VPN instance IPv4 address family view applies only to the IPv4 VPN. A limit configured
in VPN instance IPv6 address family view applies only to the IPv6 VPN.
If you have specified the limit in both VPN instance IPv4 address family view and VPN instance view,
IPv4 VPN uses the limit specified in VPN instance IPv4 address family view.
If you have specified the limit in both VPN instance IPv6 address family view and VPN instance view,
IPv6 VPN uses the limit specified in VPN instance IPv6 address family view.
Examples
# Specify that VPN instance vpn1 supports a maximum of 1000 active routes. When active routes
exceed this limit, the device can receive new active routes but generates a 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
to set the maximum number of active routes in a VPN instance.
: Specifies a warning threshold in the range of 1 to 100 in percentage. When the
: Specifies that when active routes exceed the maximum number, the system still
to restore the default.
8

Advertisement

Table of Contents
loading

Table of Contents