Mailing List Archive

misc questions
Hi,

I'm sure it's there and I'm just not searching properly, but how does rancid stop the '--More--' prompt on Catalyst switches? I usually see/use 'terminal length 0' , but I don't find that in the rancid.pm or ios.pm modules. (I'm on v3.6.2 at the moment.)

Also, in the line " cisco;command;ios::WriteTerm;more system:running-config;ASA/PIX" what does the last ';ASA/PIX' section for? Just a comment? Does the script do something with it or does the script simply ignore everything after the command section?

Thanks,
Wayne





________________________________

This E-mail and any of its attachments may contain Logically, Inc. proprietary information, which is privileged, confidential, or subject to copyright belonging to Logically, Inc.. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: misc questions [ In reply to ]
Tue, May 12, 2020 at 07:12:41PM +0000, Wayne Eisenberg:
> Hi,
>
> I'm sure it's there and I'm just not searching properly, but how does rancid stop the '--More--' prompt on Catalyst switches? I usually see/use 'terminal length 0' , but I don't find that in the rancid.pm or ios.pm modules. (I'm on v3.6.2 at the moment.)

the login script tries to disable the pager. where it can not, it tries
to filter it from the output.

> Also, in the line " cisco;command;ios::WriteTerm;more system:running-config;ASA/PIX" what does the last ';ASA/PIX' section for? Just a comment? Does the script do something with it or does the script simply ignore everything after the command section?

In router.db or rancid.types.{conf,base}, additional trailing fields are
ignored.

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss