Command Reference Guide
3Com Router 5000 Family and Router 6000 Family routing-table limit ● 83
Command Reference
routing-table limit
Purpose Use the routing-table limit command to limit the route maximum in a
vpn-instance, to avoid too many routes in the ingress interface of the PE router.
Use the undo routing-table limit
command to remove the limitation.
Syntax routing-table limit threshold-value { warn threshold | syslog-alert }
undo routing-table limit
Parameters threshold-value
Threshold of the maximum route count. When the
number of routes reaches this threshold, no route can
be added. It is in the range 1 to 1000.
warn-threshold
Warn threshold percentage. When the number of
routes exceeds the threshold of the maximum route
count times the warn threshold, alarm is generated.
The warn threshold is in the range 1 to 100.
syslog-alert
Allows a route to be added when the number of
routes reaches the threshold of the maximum route
count. In this case, a SYSLOG error message is sent.
Example Set the threshold of maximum route count to 1000 in VPN-instance vpn1.
[3Com ] ip vpn-instance vpn1
[3Com -vpn- vpn1] route-distinguisher 100:1
[3Com -vpn- vpn1] vpn-target 100:1 import-extcommunity
[3Com -vpn- vpn1] routing-table limit 1000 simply-alert
View This command can be used in the following views:
■ MBGP VPN-Instance view
Description It is necessary to enter vpn-instance sub-view before using the routing-table
limit
command. Create a vpn-instance routing table in this view and allocate a
route distinguisher (RD) in either of the following formats:
16-bit ASN: a 32-bit user-defined number, e.g. 100:1.
32-bit IP address: a 16-bit user-defined number, e.g. 172.1.1.1:1.
Create a vpn-target extended community for a vpn-instance and specify ingress or
egress interface or both of them for the
vpn-target command. These parameters
can be used to configure ingress/egress routing information of the VPN-target
extended community for a router.