Gavin McCullagh | 2 Feb 2011 16:18
Picon

Re: [rancid] rancid with Fortigate FG100A

Hi,

On Wed, 02 Feb 2011, Iñaki Martínez Díez wrote:

>  I have problems getting configs from fortigates:
> 
> Version: Fortigate-5001FA2 3.00,build0670,080729
> 
> Version: Fortigate-1000AFA2 3.00,build0416,070821
> 
>  The problem is not getting complete config and the last lines are like
> these:
> 
> --More--
> --More--

The console is in "more" (pager) mode.  You need to change it to standard
mode:

	gcd-fw # config system console 
	
	gcd-fw (console) # set output standard 
	
	gcd-fw (console) # end

	gcd-fw # show system console 
	config system console
	    set output standard
	end
	

If you want it in "more" mode for your own usage, you might need to get the
rancid script to set it to standard, then take its config, then set it back
again.  A decent console app would probably achieve the same thing though.

Gavin

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss <at> shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


Gmane