Hi all,

I was notified there was a change in 1.4.0 :

> This is a change in default value of 'table' for 'show route' command,
> now it is inferred from the protocol or export options (when used). To
> restore the old behavior just add 'table master' to 'show route' when no
> table is specified.

And I see this is explained, after reading more carefully the documentation 
http://bird.network.cz/?get_doc&f=bird-4.html :
"show route” : Show contents of a routing table (by default of the main one or 
the table attached to a respective protocol), that is routes, their metrics and 
(in case the all switch is given) all their attributes.

May I suggest to update the documentation on gitlab ?
https://gitlab.labs.nic.cz/labs/bird/wikis/Route_server_with_community_based_filtering_and_multiple_RIBs


Arnaud

> On 17 Feb 2015, at 16:35, Arnaud Fenioux <afeni...@franceix.net> wrote:
> 
> 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