Configuring VRF system-max values
The default
system-max value must be configured because the device does not have routing table space for
user VRFs.
In this example, two user VRFs are configured with 512 maximum routes on each VRF.
The ip-route-default-vrf
and
ip-route-vrf values must be modified. The
write memory and
reload commands are required after the modification.
Once the device has rebooted after the reload, enter the
show default values command to display the
system-max settings.
- Verify the default values.
device(config)# show default values sys log buffers:50 mac age time:300 sec telnet sessions:5 ip arp age:10 min bootp relay max hops:4 ip ttl:64 hops ip addr per intf:24 : : System Parameters Default Maximum Current Configured ip-arp 4000 64000 4000 4000 ip-static-arp 512 6000 512 512 pim-mcache 1024 4096 1024 1024 : : ip-route 12000 15168 12000 12000 ip-static-route 64 2048 64 64 : : ip-vrf 16 16 16 16 ip-route-default-vrf 12000 15168 12000 12000 ip6-route 5120 5120 5120 5120 ip6-route-default-vr 5120 5120 5120 5120 ip6-route-vrf 100 5120 100 100 device(config)# - Change the maximum number of routes, save the configuration, and reload the device.
device(config)# system-max ip-route-default-vrf 10000 Total max configured ipv4 routes are 12000 - Max ipv4 routes configured for default VRF are 10000 - Max ipv4 routes available for all non-default VRFs are 2000 Warning: Please revalidate these values to be valid for your configuration. Reload required. Please write memory and then reload or power cycle. device(config)# device(config)# system-max ip-route-vrf 512 Reload required. Please write memory and then reload or power cycle. device(config)# device(config)# exit device# write memory Write startup-config done. device# reload Are you sure? (enter 'y' or 'n'): Rebooting(0)... y
- Confirm the modified values.
device(config)# show default values sys log buffers:50 mac age time:300 sec telnet sessions:5 ip arp age:10 min bootp relay max hops:4 ip ttl:64 hops ip addr per intf:24 : : System Parameters Default Maximum Current Configured ip-arp 4000 64000 4000 4000 ip-static-arp 512 6000 512 512 pim-mcache 1024 4096 1024 1024 : : ip-route 12000 15168 12000 12000 ip-static-route 64 2048 64 64 : : ip-vrf 16 16 16 16 ip-route-default-vrf 12000 15168 10000 10000 ip6-route 5120 5120 5120 5120 ip6-route-default-vr 5120 5120 5120 5120 ip6-route-vrf 100 5120 100 100 device(config)#