Hello,

I’m running BIRD 1.4.5 on an IXP with this setup : "Route server with community 
based filtering and multiple RIBs"
https://gitlab.labs.nic.cz/labs/bird/wikis/Route_server_with_community_based_filtering_and_multiple_RIBs

I have noticed a strange behaviour of the "show route" command whenever I 
specify “table master” or not.
(IP/AS have been anonymised in order to follow the example above) :

root@rs2-th2:~# birdc "show route all 12.34.0.0/16 protocol R111x1"
BIRD 1.4.5 ready.
12.34.0.0/16    via 10.0.0.11 on eth1 [R111x1 2015-02-16 10:43:59] * (100) 
[AS111i]
        Type: BGP unicast univ
        BGP.origin: IGP
        BGP.as_path: 111
        BGP.next_hop: 10.0.0.11
        BGP.med: 0
        BGP.local_pref: 100
        BGP.community: (0,51706)

root@rs2-th2:~# birdc "show route table master all 12.34.0.0/16 protocol R111x1"
BIRD 1.4.5 ready.
12.34.0.0/16    via 10.0.0.11 on eth1 [R111x1 2015-02-17 11:05:45] * (100) 
[AS111i]
        Type: BGP unicast univ
        BGP.origin: IGP
        BGP.as_path: 111
        BGP.next_hop: 10.0.0.11
        BGP.med: 0
        BGP.local_pref: 100
        BGP.community: (51706,64650) (51706,64602) (0,51706)

When explicitly specifying “table master” I see communities added from filter 
“bgp_in_AS111”.
When not specifying any table I see route from T111 (the table declared in 
"protocol bgp R111x1").

Actually I was expecting to have same output on both commands, as it explained 
in documentation :
"If you want to see routes that where accepted from this router to the master 
routing table then type: bird> show route protocol R222x1"

Does any body also noticed this behaviour?

Regards,

--
Arnaud Fenioux
Network Engineer - FranceIX


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to