bird 2 and vpn4 mpls

Arvin Gan AGan at advaoptical.com
Tue Aug 7 12:25:04 CEST 2018


Hi Chris,
   From your config-file,  table option is not assigned for protocol bgp peer1, but system will select the first table of given nettype.  ‘---’ in the table column, that mean you don’t define table name, used the default one.

table name
Specify a table to which the channel is connected. Default: the first table of given nettype.

Thanks
Arvin

From: Bird-users <bird-users-bounces at network.cz> On Behalf Of Chris Herdt
Sent: Tuesday, August 07, 2018 12:34 AM
To: bird-users at network.cz
Subject: bird 2 and vpn4 mpls

Following the example at https://github.com/BIRD/bird/blob/v2.0.2/doc/bird.conf.example2, I set up a simple bird config (see below).

It is working, but I am not certain what the '---' in the table column of the output of `show protocols` means. I expected the column to display vpntab4.

$ sudo /usr/local/sbin/birdc show protocols
BIRD v2.0.2 ready.
Name       Proto      Table      State  Since         Info
peer1      BGP        ---        up     17:14:48.474  Established


The output of `show route count` shows that there are routes in table vpntab4:

$ sudo /usr/local/sbin/birdc show route count
BIRD v2.0.2 ready.
0 of 0 routes for 0 networks in table master4
0 of 0 routes for 0 networks in table master6
9581 of 9581 routes for 9581 networks in table vpntab4
Total: 9581 of 9581 routes for 9581 networks in 3 tables


The contents of my bird.conf:

log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
log stderr all;

router id 127.0.0.1;

vpn4 table vpntab4;

protocol bgp peer1 {
        local as 65321;
        neighbor 192.168.1.1 as 65321;
        hold time 180;
        vpn4 mpls {
                import all;
        };
}


Thanks,

--
Chris Herdt
https://osric.com/chris/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180807/0e57905a/attachment.html>


More information about the Bird-users mailing list