
shouldbeq931 at gmail
Jan 18, 2012, 2:46 AM
Post #2 of 2
(77 views)
Permalink
|
On Wed, Jan 18, 2012 at 4:13 AM, kamran ayub <kamran.ayub [at] dsl> wrote: > Dear Members, > > I am running rancid with VCS . > I am editing my .clogrc file with correct format . but not able to > test any router/switch successfully with clogin command. > Format of .cloginrc file entries is as follws: > ad password hostname telnet_pwd {"enable_pwd"} > > When i test command as : clogin router_hostname > it gives me error > as clogin error: Error: missing brace > > Kindly suggest the correction. > > -- > Regards, > > Muhammad Kamran Ayub from man cloginrc --------------------------------------------------- Each line contains either white-space (blank line), a comment which begins with the comment character '#' and may be preceded by white-space, or one of the directives listed below. Each line containing a directive is of the form: add <directive> <hostname glob> {<value>} [{<value>} ...] or include {<file>} Note: the braces ({}) surrounding the values is significant when the values include TCL meta-characters. Best common practice is to always enclose the values in braces. If a value includes a (left or right) brace or space character, it must be backslash-escaped, as in: add user <hostname glob> {foo\}bar} add user <hostname glob> {foo\ bar} --------------------------------------------------- from the top of the cloginrc file --------------------------------------------------- # add password <router name glob> <vty passwd> <enable passwd> --------------------------------------------------- from an actual .cloginrc for a Cisco L3 switch running IOS --------------------------------------------------- add user 10.10.1.1 rancid add password 10.10.1.1 rancidpass enablepass add method 10.10.1.1 ssh --------------------------------------------------- _______________________________________________ Rancid-discuss mailing list Rancid-discuss [at] shrubbery http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
|