Determining maximum static routes
You can modify the maximum number of static routes.
Note: Output examples in this section do not reflect system values for ICX devices. For
example, the ICX 7150 default value for IPv4 static routes is 512, the minimum value
is 64, and the maximum value is 512.
Perform these steps to check the maximum setting for static routes and to modify the value.
- Verify the current maximum setting for the device.
The maximum number of static IP routes the system can retain is listed under System Parameters in the ip-static-route row as shown in the following example.
device# 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)#
- Enter global configuration mode.
- Specify a new maximum for IP static routes.
- Save the change and reload the device.
- Verify the change with the
show default valuescommand.
The following example changes the system max value for IP static routes from 2048 to 4096.
device# configure terminal device(config)# 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)# device(config)# system-max ip-static-route 4096 device(config)# write memory device(config)# reload 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 4096 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)#