Bird 2.0.0 and reconfiguring

Miłosz Oller milosz at sys-com.pl
Wed Dec 20 15:10:06 CET 2017


Hi

Tell me please, why in one definition of protocol can be only one 
neighbor and can be two channels.

  Channel ipv4
     State:          UP
     Table:          master4
     Preference:     100
     Input filter:   ACCEPT
     Output filter:  ipv4_export_global_retn
     Routes:         671182 imported, 3 exported
     Route change stats:     received   rejected   filtered ignored   
accepted
       Import updates:      122129932          0 0          1  122129931
       Import withdraws:       683539          0 ---          6     683533
       Export updates:      116324064  108324747    7999314 ---          3
       Export withdraws:       284993        ---        --- ---          0
     BGP Next hop:   87.245.245.107
   Channel ipv6
     State:          DOWN
     Table:          master6
     Preference:     100
     Input filter:   ACCEPT
     Output filter:  REJECT


Is any way to configure two sessions in protocol? I don't see any 
example with two sessions, but there is next hop example.


         ipv6 {
                 import all;
                 export where source ~ [ RTS_STATIC, RTS_BGP ];
                 next hop address 2001:db8:1:1::1;
         };


inż. Miłosz Oller

W dniu 18.12.2017 o 09:50, Luis Ressel pisze:
> On Sun, 17 Dec 2017 23:15:05 +0100
> Miłosz Oller <milosz at sys-com.pl> wrote:
>
>> There is no way to setup two channels in one protocol definition? Or
>> how can I do it?
>>
> protocol bgp foo {
> local as 1;
> neighbor 10.0.0.1 as 2;
> ipv4 { export all; }
> ipv6 { export all; }
> }
>
> There's a more thorough example in doc/bird.conf.example2.
>
> Cheers,
> Luis Ressel
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4262 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20171220/85ed9334/attachment.p7s>


More information about the Bird-users mailing list