[Xorp-users] configuration
Florin Dinu
fd2 at cs.rice.edu
Wed Nov 28 15:17:12 PST 2007
Thank you
I have downloaded the latest version.
But....how do i compile only the protocols i need?
For example I only need to use static routes and bgp.
Compilation takes 1 hour normally and uses a lot of disk space.
However, i have to do this remotely, on a machine that i cannot fully
control.
It would be great if i could compile only the modules that i need.
Thank you
Florin
Pavlin Radoslavov wrote:
> Ben Greear <greearb at candelatech.com> wrote:
>
>
>> Florin Dinu wrote:
>>
>>> Hello
>>>
>>> Is it possible to do something like :
>>> ./xorpsh -c "configure delete interfaces interface eth2" ?
>>> I want to do this from a java program.
>>> The option there is to call exec with a string as a parameter so i need
>>> to do this in one shot.
>>> However if I use the command above then xorpsh enters configure mode and
>>> then does nothing.It just awaits input.
>>> Can this be done?
>>>
>> In the latest code you can use -c multiple times to do multiple commands.
>> I'd try adding more cmds to do a commit and exit.
>>
>
> Ah, right, in my previous email on the subject I forgot to mention
> that the multiple -c support is in the latest code in CVS, but is
> not in Release 1.4:
>
> http://www.xorp.org/cvs.html
>
> Pavlin
>
>
More information about the Xorp-users
mailing list