Discussion:
[rancid] question if anybody can answer
Gallardo, Winfred C
2010-04-27 18:01:10 UTC
Permalink
what is the character limit for passing commands to clogin?


for example


clogin -c 'conf t.......' router_address


i modify alot of acls and unfortunately some don't have indexes so the acl must be erased then rebuilt so each line of the acl is in its appropriate spot in the config.



Chris Gallardo
Network Services
317-278-9067
***@iupui.edu
john heasley
2010-04-27 18:14:51 UTC
Permalink
Post by Gallardo, Winfred C
what is the character limit for passing commands to clogin?
for example
clogin -c 'conf t.......' router_address
command line limit of your o/s, afaik.

you're better off with a tftp/rcp/ftp file upload to running-config
or clogin -x.
Post by Gallardo, Winfred C
i modify alot of acls and unfortunately some don't have indexes so the acl must be erased then rebuilt so each line of the acl is in its appropriate spot in the config.
Chris Gallardo
Network Services
317-278-9067
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Drikus Brits
2010-04-27 18:12:36 UTC
Permalink
hi.

personally i have added quite alot of commands in a one-liner using the cli -c option. Never counted the amount of chars i used though , but from the top of my head, i'd say it is most likely OS dependant

d.
________________________________________
From: rancid-discuss-***@shrubbery.net [rancid-discuss-***@shrubbery.net] On Behalf Of Gallardo, Winfred C [***@iupui.edu]
Sent: Tuesday, April 27, 2010 8:01 PM
To: rancid-***@shrubbery.net
Subject: [rancid] question if anybody can answer

what is the character limit for passing commands to clogin?


for example


clogin -c 'conf t.......' router_address


i modify alot of acls and unfortunately some don't have indexes so the acl must be erased then rebuilt so each line of the acl is in its appropriate spot in the config.



Chris Gallardo
Network Services
317-278-9067
***@iupui.edu

Loading...