Hello, I was looking into BIRD 1.4.5. I have one BGP session established but I don’t understand all the argument, especially about preferred route? Here my show protocol : birdc "show protocol all R12345_1” L1 name proto table state since info L2 R12345_1 BGP T12345_my_bgp up 2015-04-01 16:27:57 Established L3 Preference: 100 L4 Input filter: ACCEPT L5 Output filter: ACCEPT L6 Import limit: 20 L7 Action: disable L8 Routes: 1 imported, 21745 exported, 263 preferred L9 Route change stats: received rejected filtered ignored accepted 10 Import updates: 1 0 0 0 1 11 Import withdraws: 0 0 --- 0 0 12 Export updates: 21758 1 0 --- 21757 13 Export withdraws: 7 --- --- --- 7 14 BGP state: Established 15 Neighbor address: 10.10.10.100 16 Neighbor AS: 12345 17 Neighbor ID: 192.168.0.1 18 Neighbor caps: refresh AS4 19 Session: external AS4 20 Source address: 10.10.10.250 21 Route limit: 1/20 22 Hold timer: 150/240 23 Keepalive timer: 9/23 Can you help me about the line L8 : My peer import 1 route I export 21745 routes I don’t know about preferred Thank you Alexandre Corso Network Engineer acorso@franceix.net
Where can I find documentation on birdc, the cmd line interpreter? I looked through the source tarball and did not find any. Thanks, Ed Pendzik ependzik@harris.com
Hi Edward, http://bird.network.cz/?get_doc&f=bird-4.html - here 2015-04-17 23:04 GMT+03:00 Pendzik, Edward <ependzik@harris.com>:
Where can I find documentation on birdc, the cmd line interpreter?
I looked through the source tarball and did not find any.
Thanks,
Ed Pendzik
ependzik@harris.com
Great, Thank You :-) *Still* looking for: Specifically, exactly what do all the fields mean in the output of "birdc show route all" ? for example, what does the '*' or 'I' mean? what is "type: inherit"? "(150/10)" is "preference/metric"? 20.localhost_root birdcl show route all BIRD 1.4.5 ready. 0.0.0.0/0 via 192.168.1.254 on en0 [kernel1 18:30:10] * (251) Type: inherit unicast univ Kernel.source: 1 Kernel.metric: 0 192.168.88.1/32 via 192.168.102.4 on wip0 [kernel1 18:47:57] * (251) Type: inherit unicast univ Kernel.source: 1 Kernel.metric: 0 192.168.1.0/24 dev en0 [direct1 18:30:10] * (240) Type: device unicast univ dev en0 [ospf1 18:30:11] I (150/10) [192.168.1.2] Type: OSPF unicast univ OSPF.metric1: 10 OSPF.metric2: 16777215 OSPF.tag: 0x00000000 OSPF.router_id: 192.168.1.2 //--------- Thanks, Ed Pendzik ependzik@harris.com From: Stanislav Datskevich [mailto:sdatskevich@gmail.com] Sent: Monday, April 20, 2015 1:33 AM To: Pendzik, Edward Cc: bird-users@network.cz Subject: Re: Where can I find documentation on birdc? Hi Edward, http://bird.network.cz/?get_doc&f=bird-4.html - here 2015-04-17 23:04 GMT+03:00 Pendzik, Edward <ependzik@harris.com<mailto:ependzik@harris.com>>: Where can I find documentation on birdc, the cmd line interpreter? I looked through the source tarball and did not find any. Thanks, Ed Pendzik ependzik@harris.com<mailto:ependzik@harris.com>
* means 'active route'. This route is actually installed in the routing table I - don't know.. It's definetly related to 'Internal' but which 'internal' - I don't know, I'm not working with OSPF in BIRD. 2015-04-20 18:42 GMT+03:00 Pendzik, Edward <ependzik@harris.com>:
Great, Thank You :-)
*Still* looking for:
Specifically, exactly what do all the fields mean in the output of
"birdc show route all" ?
for example, what does the '*' or 'I' mean?
what is "type: inherit"?
"(150/10)" is "preference/metric"?
20.localhost_root birdcl show route all
BIRD 1.4.5 ready.
0.0.0.0/0 via 192.168.1.254 on en0 [kernel1 18:30:10] * (251)
Type: inherit unicast univ
Kernel.source: 1
Kernel.metric: 0
192.168.88.1/32 via 192.168.102.4 on wip0 [kernel1 18:47:57] * (251)
Type: inherit unicast univ
Kernel.source: 1
Kernel.metric: 0
192.168.1.0/24 dev en0 [direct1 18:30:10] * (240)
Type: device unicast univ
dev en0 [ospf1 18:30:11] I (150/10) [192.168.1.2]
Type: OSPF unicast univ
OSPF.metric1: 10
OSPF.metric2: 16777215
OSPF.tag: 0x00000000
OSPF.router_id: 192.168.1.2
//---------
Thanks,
Ed Pendzik
ependzik@harris.com
*From:* Stanislav Datskevich [mailto:sdatskevich@gmail.com] *Sent:* Monday, April 20, 2015 1:33 AM *To:* Pendzik, Edward *Cc:* bird-users@network.cz *Subject:* Re: Where can I find documentation on birdc?
Hi Edward, http://bird.network.cz/?get_doc&f=bird-4.html - here
2015-04-17 23:04 GMT+03:00 Pendzik, Edward <ependzik@harris.com>:
Where can I find documentation on birdc, the cmd line interpreter?
I looked through the source tarball and did not find any.
Thanks,
Ed Pendzik
ependzik@harris.com
On Mon, Apr 20, 2015 at 03:42:38PM +0000, Pendzik, Edward wrote:
Great, Thank You :-)
*Still* looking for:
Specifically, exactly what do all the fields mean in the output of
"birdc show route all" ?
Well, it is likely that the output of these commands is not explicitly documented as it is mostly considered self-explaining. Although it is true that some more documentation would be sometimes useful.
for example, what does the '*' or 'I' mean?
'*' is active route, 'I' for OSPF is intra-area route (vs. IA for inter-area and E1, E2 for external routes).
what is "type: inherit"?
Strange name for routes imported from kernel protocol.
"(150/10)" is "preference/metric"?
Yes -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Fri, Apr 17, 2015 at 05:16:55PM +0200, Alexandre Corso wrote:
Hello,
I was looking into BIRD 1.4.5. I have one BGP session established but I don’t understand all the argument, especially about preferred route?
Hi 'Preferred' counts how many routes imported from the protocol are preferred/active for their networks. It is counted per routing table, therefore if you import just one route and propagate it using pipes to hundred routing tables, you would have hundred in 'preferred' counter.
L8 Routes: 1 imported, 21745 exported, 263 preferred
Can you help me about the line L8 : My peer import 1 route
More precisely you imported 1 route from your peer
I export 21745 routes I don’t know about preferred
-- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (4)
-
Alexandre Corso -
Ondrej Zajicek -
Pendzik, Edward -
Stanislav Datskevich