14-26
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
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, in the range 1 to 12288.
warn-threshold
: Threshold for rejecting new routes. It is expressed in the percentage of the specified
maximum number of routes for the VPN instance. It ranges from 1 to 100.
simply-alert
: Specifies that when the maximum number of routes exceeds the threshold, the system
still accepts routes and generates only a SYSLOG error message.
Description
Use the
routing-table
limit
command to limit the maximum number of routes in a VPN instance,
preventing too many routes from being redistributed from the inbound interface of the PE.
Use he
undo routing-table limit
command to remove the limitation.
By default, there is no limit to the maximum number of routes that a VPN instance supports.
Examples
# Specify that VPN instance vpn1 can redistribute up to 1000 routes in, and allow the VPN instance to
accept new routes after the threshold is exceeded.
<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