I am trying to automate a mass provisioning on a device ( similar to a
switch / router) and the thing is that i need to have this done by
scripting using ttl editor and call the macro fro teraterm.
I will take a chunk as an example that I want to execute on teraterm cli
grant 1 2000 IPTV
grant 2 1000 VOIP
grant 3 2000 Internet
grant 4 1000 FA_IM_IR_GL
grant 5 1000 Outdoor_Internet
grant 6 1000 IPCAMs
there are two variables ( ont-13-2-31, sdv 456 )
the variable that change ont-13-2-31 --> ( 13 can be any number from 1 to 20, 2 can any be any number from 1 to 8, and 31 can be any number from 1 to 64) , sdv also is a number between 255 and 4096 ,( example here uses 456 )
the grand and sdv commands are executed under ont-x-y-z command
. starting point is ont-1-1-1, ont-1-1-2,...ont-1-1-64 , then ont-1-2-1, ont-1-2-2,...ont-1-2-64, till ont-1-8-64, then ont-2-1-1,... and so on so the last will be ont-20-8-64..
please advise how to do this on ttl editor to be called to teraterm