Administrator Guide

Layer 3 Routing Commands 1892
Syntax
maximum routes {
limit
| warn
threshold
}
no maximum routes [warn]
limit
—Reserve this number of routes for the VRF instance.
threshold
—The percentage of total routes over which the router issues a
warning that the router has allocated the specified number of routes.
Range 1-100.
Default Configuration
A VRF is limited by the number of unreserved routes available.
Command Mode
Virtual Router Configuration mode
User Guidelines
Use the no maximum routes command to reset the limit to the default
(unlimited).
Use the no maximum routes warn command to reset the threshold limit to
the default.
A VRF instance cannot exceed the configured number of routes, nor may
other VRFs utilize the resources allocated to a VRF if a limit is specified for
the VRF. The maximum number of routes depends on the platform and the
selected SDM template. Refer to the Platforms Constants table in the Users
Configuration Guide for the maximum routes available for the selected
combination of platform and SDM template. If a size larger than the total
routing table size is given, the size is silently truncated to the maximum
routing table size.
Example
The following example reserves 100 routes for VRF Red.
console(config)#ip vrf Red
console(config-vrf-Red)#ip routing
console(config-vrf-Red)#maximum routes 100
console(config-vrf-Red)#exit
2CSNXXX_SWUM204.book Page 1892 Monday, January 25, 2016 1:25 PM