[quagga-dev 8234] Re: adding command in quagga

Balaji G balajig81 at gmail.com
Tue Sep 7 17:54:11 BST 2010


>Thanks for your prompt reply. How can I assure that user must enter the
newly defined command if user does not enter the >command error will be
thrown like ?

Please go through the other commands in that file, everything is handled
there.

Cheers,
  - Balaji




On Tue, Sep 7, 2010 at 10:08 PM, Waqas Daar <waqasdaar at gmail.com> wrote:

> Thanks for your prompt reply. How can I assure that user must enter the
> newly defined command if user does not enter the command error will be
> thrown like ?
>
> Can any one tell me the usage of DEFUN () function and what are the purpose
> of the arguments of this function.
> Where I have to define the new command in bgp_vty.c file ?
>
> Thanks
>
>
> On Tue, Sep 7, 2010 at 5:57 PM, G. Paul Ziemba <pz-quagga-dev at ziemba.us>wrote:
>
>> waqasdaar at gmail.com (Waqas Daar) writes:
>>
>> >I want to add a new command in the *bgpd* daemon when defining the
>> neighbour
>> >of bgp. can any one tell me which files are supposed to be consider for
>> >these modification ?
>>
>> bgp_vty.c is likely the best place. There are already many
>> neighbor-related commands there.
>> --
>> G. Paul Ziemba
>> FreeBSD unix:
>>  8:56AM  up 96 days, 37 mins, 20 users, load averages: 0.23, 0.15, 0.17
>> _______________________________________________
>> Quagga-dev mailing list
>> Quagga-dev at lists.quagga.net
>> http://lists.quagga.net/mailman/listinfo/quagga-dev
>>
>
>
> _______________________________________________
> Quagga-dev mailing list
> Quagga-dev at lists.quagga.net
> http://lists.quagga.net/mailman/listinfo/quagga-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20100907/64e4c5d6/attachment-0001.html>


More information about the Quagga-dev mailing list