<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<title>[rancid] Presentation on RANCID at my local UUG</title>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Arial Bold";
        panose-1:2 11 7 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h2
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:130.5pt;
        margin-bottom:.0001pt;
        text-indent:-.5in;
        page-break-after:avoid;
        mso-list:l2 level2 lfo7;
        font-size:14.0pt;
        font-family:"Arial Bold";
        font-weight:bold;
        font-style:italic;}
h4
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:1.2in;
        text-indent:-.45in;
        page-break-after:avoid;
        mso-list:l1 level4 lfo4;
        font-size:12.0pt;
        font-family:Arial;
        font-weight:bold;}
p.MsoListBullet4, li.MsoListBullet4, div.MsoListBullet4
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:1.0in;
        margin-bottom:.0001pt;
        text-indent:-.25in;
        mso-list:l0 level1 lfo3;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:-127;
        mso-list-type:simple;
        mso-list-template-ids:485140070;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-style-link:"List Bullet 4";
        mso-level-text:\F0B7;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        margin-left:1.0in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1
        {mso-list-id:623080539;
        mso-list-template-ids:455776694;}
@list l1:level1
        {mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-text:"%1\.%2\.";
        mso-level-tab-stop:.55in;
        mso-level-number-position:left;
        margin-left:.55in;
        text-indent:-.3in;}
@list l1:level3
        {mso-level-text:"%1\.%2\.%3\.";
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        margin-left:.85in;
        text-indent:-.35in;}
@list l1:level4
        {mso-level-style-link:"Heading 4";
        mso-level-text:"%1\.%2\.%3\.%4\.";
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        margin-left:1.2in;
        text-indent:-.45in;}
@list l1:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.";
        mso-level-tab-stop:1.75in;
        mso-level-number-position:left;
        margin-left:1.55in;
        text-indent:-.55in;}
@list l1:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.";
        mso-level-tab-stop:2.25in;
        mso-level-number-position:left;
        margin-left:1.9in;
        text-indent:-.65in;}
@list l1:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.";
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.75in;}
@list l1:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.";
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        margin-left:2.6in;
        text-indent:-.85in;}
@list l1:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9\.";
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        margin-left:3.0in;
        text-indent:-1.0in;}
@list l2
        {mso-list-id:2028409086;
        mso-list-template-ids:1949199766;}
@list l2:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.5in;}
@list l2:level2
        {mso-level-style-link:"Heading 2";
        mso-level-text:"%1\.%2";
        mso-level-tab-stop:130.5pt;
        mso-level-number-position:left;
        margin-left:130.5pt;
        text-indent:-.5in;}
@list l2:level3
        {mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        margin-left:.5in;
        text-indent:-.5in;
        mso-ansi-language:EN-CA;}
@list l2:level4
        {mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:.75in;
        mso-level-number-position:left;
        margin-left:.6in;
        text-indent:-.6in;}
@list l2:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:.7in;
        mso-level-number-position:left;
        margin-left:.7in;
        text-indent:-.7in;
        mso-ansi-font-size:11.0pt;
        font-family:"Arial Bold";
        mso-bidi-font-family:"Times New Roman";
        text-transform:uppercase;
        mso-ansi-font-weight:normal;
        mso-ansi-font-style:normal;}
@list l2:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:.8in;
        mso-level-number-position:left;
        margin-left:.8in;
        text-indent:-.8in;}
@list l2:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:.9in;
        mso-level-number-position:left;
        margin-left:.9in;
        text-indent:-.9in;}
@list l2:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        margin-left:1.0in;
        text-indent:-1.0in;}
@list l2:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:1.1in;
        mso-level-number-position:left;
        margin-left:1.1in;
        text-indent:-1.1in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>The netscreen login
script sets the ‘console page to 0’ to get the config snapshot at
once, but this command is not removed when it exists the box. Can anyone help
changing it? Although it is saying that do not save the config; but still
config is not removed. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>Which files are used for Netscreens:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>nlogin<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>nrancid<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>nrancid.back<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>nslogin<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>nsrancid<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>Appreciate your help. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'>Here is the portion of
config: nlogin<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-CA
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
set in_proc 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:red'>
send "set console page 0\r"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
expect $prompt {}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
# Is this a multi-command?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
if [ string match "*\;*" "$command" ] {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
set commands [split $command \;]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
set num_commands [llength $commands]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
for {set i 0} {$i < $num_commands} { incr i} {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
send "[subst [lindex $commands $i]]\r"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
expect {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
-re "$prompt" {}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
} else {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
send "[subst $command]\r"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
expect {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
-re "$prompt" {}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
send "exit\r"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
expect {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
"\n" { exp_continue }<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
-re "$prompt" {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
send "exit\r"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
exp_continue }<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
-re "Configuration modified, save?" </span></font><font size=2
color=blue face="Courier New"><span lang=PT-BR style='font-size:10.0pt;
font-family:"Courier New";color:blue'>{<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=red face="Courier New"><span lang=PT-BR
style='font-size:10.0pt;font-family:"Courier New";color:red'>
send "n\r"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=PT-BR
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
exp_continue }<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=PT-BR
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
</span></font><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>timeout { return
0 }<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
eof { return 0 }<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>
set in_proc 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span lang=EN-CA
style='font-size:10.0pt;font-family:"Courier New";color:blue'>}<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>