for { set lo 1 } { $lo <= 255 } { incr lo } { puts [ ios_config "interface loopback [expr {int(1 + rand() * 5555555)}]" "ip address 3.66.$lo.1 255.255.255.255" ] }
network 1.1.1.0
network 2.2.2.0
*Apr 8 14:10:31.895: %SYS-5-CONFIG_I: Configured from console by console
*Apr 8 14:11:27.139: %SYS-2-MALLOCFAIL: Memory allocation of 780 bytes failed from 0x602976E0, alignment 32
Pool: I/O Free: 89472 Cause: Memory fragmentation
Alternate Pool: None Free: 0 Cause: No Alternate pool
-Process= "RIP Timers", ipl= 0, pid= 252, -Traceback= 0x6000A944z 0x60026EE0z 0x602976E8z 0x60297D28z 0x60298AB8z 0x62BAC534z 0x62BACAA4z 0x62BACC20z 0x62BACD8Cz 0x62BB2D40z 0x62BB30A8z 0x6307E640z 0x6307E624z
31580(config)#memory-size iomem 128
New IO memory size will not take effect until reload.
31580#wr
Building configuration...
[OK]
31580#reload
Proceed with reload? [confirm]
*Apr 8 14:12:20.791: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.