Syntax for show route and primary route (*)?
Kenth Eriksson
Kenth.Eriksson at infinera.com
Wed Oct 23 11:11:31 CEST 2019
Hi!
When showing routing table, the output can have '*', '!' or empty depending on the route. I thought that the asterisk ('*')
meant that the route is a primary route installed into the kernel. But this does not seem to always be true, e.g.
consider the following:
bird> show route 0.0.0.0/0
Table master4:
0.0.0.0/0 unicast [kernel1 2019-10-22] (215)
via 10.210.137.1 on eth1
bird> show route ::0/0
Table master6:
::/0 unicast [static_ipv6 2019-10-22] * (255)
via 2a02:1420:1:137::1 on eth1
bird>
Why does the default route for IPv6 have a '*' but not for IPv4?
Another example where a route pushed to the kernel is not having the '*' mark;
bird> show route 10.210.138.64/30
Table master4:
10.210.138.64/30 unicast [ospfv2_1 16:50:34.613] I (145/20) [10.210.138.65]
via 10.210.138.66 on p1-2-9-10g0
bird> q
~ # route | grep 10.210.138.64
10.210.138.64 10.210.138.66 255.255.255.252 UG 32 0 0 p1-2-9-10g0
~ #
Thanks,
Kenth
More information about the Bird-users
mailing list