"show route" command not using "table master" by default?

Arnaud Fenioux afenioux at franceix.net
Tue Feb 17 16:35:45 CET 2015


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 at 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 at 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20150217/f7865262/attachment.asc>


More information about the Bird-users mailing list