Configure the Capacity of VRF Routes
Configuration Condition
None
Configure the Capacity of VRF Routes
To ensure normal use of devices and prevents a large number of routes from consuming too many resources, you can use the routing-table limit command to limit the capacity of routes for each Virtual Route Forwarding (VRF). When the capacity of routes reaches the threshold, an alarm is generated.
Table 1-3 Configuring the Capacity of VRF Routes
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the VRF configuration mode.
|
ip vrf vrf-name
|
-
|
Configure the capacity of the VRF route.
|
routing-table limit limit-value { threshold-value | syslog-alert }
|
Optional.
By default, the capacity for the route is 880000. When the number of routes reaches 80% of the total capacity, alarm information is printed.
|
-
This command cannot limit the capacity of routes for global VRF.
- If the number of routing entries exceeds the threshold, new routing information gets lost.