[quagga-dev 5566] Re: how do I get my new command to execute at startup?

James R. Leu jleu at mindspring.com
Thu Jul 3 18:17:09 BST 2008


I'm sure similar situations must be occuring with other interface specific
OSPF commands use them as a guide. (ip ospf cost)

On Thu, Jul 03, 2008 at 06:20:12PM +0200, Joakim Tjernlund wrote:
> 
> On Thu, 2008-07-03 at 17:53 +0200, Joakim Tjernlund wrote:
> > So I have added the ip ospf area command and when I do "write file" I
> > se it saved in my ospfd.conf file but when I restart ospfd 
> > my command doesn't get set. show running-config does
> > not show it.
> > 
> > Feels like I have missed something, should I add my new command
> > somewhere so it gets executed at startup?
> > 
> >  Jocke
> 
> Turns out that ip ospf area fails on: 
> if ((ospf = ospf_lookup ()) == NULL)
>    {
>       vty_out (vty, "There isn't active ospf instance%s", VTY_NEWLINE);
>       return CMD_WARNING;
>    }
> 
> So what to do here? feels like a chicken and egg problem.
> 
>  Jocke
> _______________________________________________
> Quagga-dev mailing list
> Quagga-dev at lists.quagga.net
> http://lists.quagga.net/mailman/listinfo/quagga-dev

-- 
James R. Leu
jleu at mindspring.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20080703/cfbde639/attachment-0001.sig>


More information about the Quagga-dev mailing list