Users Guide
Layer 3 Routing Commands 1864
console(config-if-vlan100)#ip vrf forwarding Red
console(config-if-vlan100)#exit
console(config)#interface vlan 200
console(config-if-vlan100)#ip vrf forwarding Blue
console(config-if-vlan100)#exit
maximum routes
This command reserves the number of routes allowed and sets the maximum
limit on the number of routes for a virtual router instance in the total routing
table space for the router, provided there is enough free space in the router’s
total routing table.
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