<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div>I get an error, but it can safely be ignored:</div><div><br></div><div><p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures">HHS_DHCP_FG100A # config global</span></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 15px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures">command parse error before 'global'</span></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures">Command fail. Return code 1</span></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 15px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures">HHS_DHCP_FG100A # config system console </span></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 15px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures">HHS_DHCP_FG100A (console) # set output standard </span></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 15px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures">HHS_DHCP_FG100A (console) # end</span></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 15px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-size: 13px; line-height: normal; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"><span style="font-variant-ligatures: no-common-ligatures">HHS_DHCP_FG100A # </span></p></div><div><span style="font-variant-ligatures: no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures: no-common-ligatures">This is a Fortigate FG100A running 4.0 MR3 software.</span></div><div><div id="MAC_OUTLOOK_SIGNATURE"><div style="font-family: Calibri;"><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 7.5pt; font-family: Verdana, sans-serif; color: rgb(51, 102, 153);"><br></span></p><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 7.5pt; font-family: Verdana, sans-serif; color: rgb(51, 102, 153);">--</span><span style="font-size: 10.5pt;"><o:p></o:p></span></p></div><div style="font-family: Calibri;"><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 7.5pt; font-family: Verdana, sans-serif; color: rgb(51, 102, 153);">Michael Newton<br>Director, Product Development<br>Point of Presence Technologies<br><b><i>You manage your business. We’ll manage your network.</i></b><br></span><span style="font-size: 8pt; font-family: Verdana, sans-serif; color: rgb(51, 102, 153);">206-1110 Government </span><span style="font-size: 8pt; font-family: Verdana, sans-serif; color: rgb(51, 102, 153);">Street, Victoria BC V8W 1Y2</span><br><span style="font-size: 8pt; font-family: Verdana, sans-serif; color: rgb(51, 102, 153);">T: 250-412-6688 x 7040 | F: 484-731-9837</span><span style="font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p></o:p></span></p><p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 8pt; font-family: Verdana, sans-serif; color: rgb(51, 102, 153);">mnewton@pofp.com | www.pofp.com</span></p></div></div></div></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Rancid-discuss on behalf of heasley<br><span style="font-weight:bold">Date: </span> Thursday, July 21, 2016 at 4:17 AM<br><span style="font-weight:bold">To: </span> "<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>"<br><span style="font-weight:bold">Subject: </span> [rancid] fnlogin pager<br></div><div><br></div><div><div><div>A user recommended the following change for Fortigate (fnlogin). Does</div><div>anyone know if the following works in 4.x to disable the pager and</div><div>return to the command prompt?</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>config global</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>config system console</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>set output standard</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>end</div><div><br></div><div>Or, if it is no necessary to continue supporting 4.x?</div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div> The fnlogin script tries to disable the paging fortigate paging mode.</div><div> With multiple vdom you have to patch the following line in bin/fnlogin</div><div><br></div><div> proc run_commands { prompt command } {</div><div> global in_proc</div><div> set in_proc 1</div><div><br></div><div> # Disable output paging.</div><div> - send -- "config system console\r"</div><div> - expect -re $prompt; send -- "set output standard\r"</div><div> + send -- "config global\r"</div><div> + expect -re $prompt; send -- "config system console\r"</div><div> expect -re $prompt; send -- "set output standard\r"</div><div> expect -re $prompt; send -- "end\r"</div><div> expect -re $prompt</div></blockquote><div><br></div><div>do you know if this works on older versions of the fortigate o/s?</div><div>I know that it works on firmware 5.x and I also know that firmware 4.x is end of support :-)</div><div><br></div><div>_______________________________________________</div><div>Rancid-discuss mailing list</div><div><a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a></div><div><a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a></div><div><br></div></div></div></span></body></html>