[rancid] RANCID Router Login
Munoz-Persinger, Axel @ CSG - CSE
Axel.Munoz-Persinger at L3T.com
Thu Oct 12 19:47:10 UTC 2017
Hello,
Our organization uses RANCID for gathering data from our Cisco routers, but we recently faced an issue with a change we're trying to make.
We simply want to change what the address that the scripts use to log into the routers. Let's say in the routers.db file we have:
Router1:cisco:up
Router2:cisco:up
Router3:cisco:up
We'd like to change it to:
Router1.XYZ:cisco:up
Router2.XYZ:cisco:up
Router3.XYZ:cisco:up
We didn't want to change the actual router names in the routers.db file, since this would most likely have other side effects like modifying the CVS. We tried changing clogin:750(ish) from
if {[login $router $ruser $userpswd $passwd $enapasswd $cmethod $cyphertype]} {
to
if {[login $router.XYZ $ruser $userpswd $passwd $enapasswd $cmethod $cyphertype]} {
However, by watching the tcpdump output, we see that it's still reaching out to the original address.
Do you have any ideas that could help us?
Thanks,
Axel Munoz-Persinger
Security Analyst
Axel.Munoz-Persinger at L3T.com<mailto:Axel.Munoz-Persinger at L3T.com>
(856) 338-4103
CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.
Effective immediately my new email address is Axel.Munoz-Persinger at L3T.com. Please update your records.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20171012/bf478be5/attachment.html>
More information about the Rancid-discuss
mailing list