<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello all!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have the problem to change the context after login into a Cisco FWSM.<o:p></o:p></p>
<p class="MsoNormal">This is my clogin-command:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">=============<o:p></o:p></p>
<p class="MsoNormal">rancid@host:$ /usr/lib/rancid/bin/clogin -c 'terminal pager 0; changeto context system;sh running-config;exit' asa-address<o:p></o:p></p>
<p class="MsoNormal">asa-address<o:p></o:p></p>
<p class="MsoNormal">spawn ssh -c 3des -x -l cisco_login asa-address<o:p></o:p></p>
<p class="MsoNormal">login@asa-address's password:<o:p></o:p></p>
<p class="MsoNormal">Type help or '?' for a list of available commands.<o:p></o:p></p>
<p class="MsoNormal">asa-address/admin> enable<o:p></o:p></p>
<p class="MsoNormal">Password:<o:p></o:p></p>
<p class="MsoNormal">asa-address/admin#<o:p></o:p></p>
<p class="MsoNormal">asa-address/admin# terminal length 0<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">ERROR: % Invalid input detected at '^' marker.<o:p></o:p></p>
<p class="MsoNormal">asa-address/admin# terminal width 132<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">ERROR: % Invalid input detected at '^' marker.<o:p></o:p></p>
<p class="MsoNormal">asa-address/admin# terminal pager 0<o:p></o:p></p>
<p class="MsoNormal">asa-address/admin# changeto context system<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Error: TIMEOUT reached<o:p></o:p></p>
<p class="MsoNormal">rancid@host:$<o:p></o:p></p>
<p class="MsoNormal">=============<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The timeout appears at nearly 45 seconds.<o:p></o:p></p>
<p class="MsoNormal">-<o:p></o:p></p>
<p class="MsoNormal">I tried to find out something with the -d option, but it looks ok.<o:p></o:p></p>
<p class="MsoNormal">I could mail, if useful, the output also.<o:p></o:p></p>
<p class="MsoNormal">-<o:p></o:p></p>
<p class="MsoNormal">I ran this on a ASA 5585, and it works fine there! <o:p></o:p></p>
<p class="MsoNormal">Also for our Switches (without context-change ;-)).<o:p></o:p></p>
<p class="MsoNormal">What could be the problem here? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for help or new ideas!<o:p></o:p></p>
<p class="MsoNormal">BR<o:p></o:p></p>
<p class="MsoNormal">Christian<o:p></o:p></p>
</div>
<font face="Arial"><font size="2"><em>Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
und vernichten Sie diese Mail. Vielen Dank. <br>
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.
<br>
<br>
Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail
correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax.
</em></font></font>
</body>
</html>