28
View
VPN instance view
Default level
2: System level
Parameters
route-distinguisher
: Specifies the RD for the VPN instance, which is a string of 3 to 21 characters in one of
the following three formats:
•
16-bit AS number
:
32-bit user-defined number
. For example, 101:3.
•
32-bit IP address
:
16-bit user-defined number
. For example, 192.168.122.15:1.
•
32-bit AS number
:
16-bit user-defined number
, where the minimum value of the AS number is 65,536.
For example, 65536:1.
Examples
# Configure the RD of VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 22:1
routing-table limit
Description
Use the
routing-table
limit
command to limit the maximum number of routes in a VPN instance,
preventing too many routes from being accepted by a PE.
Use the
undo routing-table limit
command to restore the default.
The default maximum number of routes that a VPN instance supports varies by device.
•
A limit configured in IPv4 VPN view is applicable to only the IPv4 VPN.
•
A limit configured in IPv4 VPN view takes precedence over that configured in VPN instance view. If
you configure a limit in both IPv4 VPN view and VPN instance view, the limit configured in IPv4
VPN view is applied to the IPv4 VPN.
Syntax
routing-table
limit
number
{
warn-threshold
|
simply-alert
}
undo routing-table limit
View
VPN instance view, IPv4 VPN view
Default level
2: System level
Parameters
number
: Specifies the maximum number of routes for the VPN instance to support. The value ranges from
1 to 8192.
warn-threshold
: Specifies a threshold for warning, ranging from 1 to 100, in percentages. When the
percentage of the number of existing routes to the maximum number of routes supported exceeds the