<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/09/2015 09:35 AM, Joe Chiarelli
wrote:<br>
</div>
<blockquote
cite="mid:1013D0BC-1216-4109-BE8E-C781BBE0718B@cablevision.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi,
<div class=""><br class="">
</div>
<div class="">I am trying to get rancid to work with my cisco 2621
terminal servers.</div>
<div class=""><br class="">
</div>
<div class="">However after the use logs in ,we use the
autocommand to run the menu feature to access the other systems.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class="">line vty 0 3</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""> access-class 1 in</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""> exec-timeout 30 0</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""> password {hashed}</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""> autocommand menu termsrv</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""> transport input telnet</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""> transport output telnet</div>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""><br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""><span style="font-family: Helvetica; font-size: 14px;"
class=""> How can I send the menu command I have configured to
exit the menu on login so rancid will run its commands to
backup the config?</span></div>
</blockquote>
<br>
It's been a while since I've done something like this, but it seems
like it might work for you:<br>
<br>
You can setup "line vty 4" without the autocommand and only allow
rancid to login on that vty (either by access-class or special
password, or using rotary and using a special telnet port)<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.velocityreviews.com/threads/very-simple-question-on-vtys.565689/">http://www.velocityreviews.com/threads/very-simple-question-on-vtys.565689/</a><br>
<br>
There are probably other options. You would need to figure out what
the best of different hackish ways to fix it would be.<br>
<blockquote
cite="mid:1013D0BC-1216-4109-BE8E-C781BBE0718B@cablevision.com"
type="cite">
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""><span style="font-family: Helvetica; font-size: 14px;"
class=""><br class="">
</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""><span style="font-family: Helvetica; font-size: 14px;"
class="">Thanks,</span></div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"
class=""><span style="font-family: Helvetica; font-size: 14px;"
class="">Joe</span></div>
<div style="font-size:11pt; font-family: 'Calibri',sans-serif;"><br>
<br>
</div>
</blockquote>
<br>
</body>
</html>