show route output explained
Kenth Eriksson
Kenth.Eriksson at infinera.com
Fri Mar 1 13:58:59 CET 2019
On Fri, 2019-03-01 at 13:49 +0100, Ondrej Zajicek wrote:
> CAUTION: This email originated from outside of the organization. Do
> not click links or open attachments unless you recognize the sender
> and know the content is safe.
>
>
> On Fri, Mar 01, 2019 at 05:35:30PM +0500, Eugene M. Zheganin wrote:
> > Hello,
> >
> > Since the documentation doesn't specify the exact output format,
> > could
> > anyone please explain it to me ?
> >
> >
> > 0.0.0.0/0 via 192.168.57.60 on re0 [ospfv4 11:17:31] ! E2
> > (150/10/10000) [192.168.100.254]
> > via 90.150.180.20 on ng0 [kernel1 11:12:08] (10)
> >
> >
> > I understand most of it, but not in detail.
> >
> > 1) What, for example, the exclamation mark means ? Bird mimics
> > Juniper
> > notation, but Juniper doesn't have exclamation mark in it, only +/-
> > /*.
> > (Since bird mimics the Juniper notation it would be cool if it
> > would also
> > print the mark meanings, like JunOS or Cisco IOS does)
>
> Failure to push the route into kernel routing table.
> > 2) What is the triplet (150/10/10000) ? I understand these are
> > probably
> > metric/cost/preference, but which is what ? Juniper here uses
> > single metric.
>
> protocol preference / OSPF distance / OSPF external distance
Note though that the preference value in bird is inverted compared to
Cisco which uses administrative distance. Juniper seems to use the term
preference value but have the same semantics as Cisco administrative
distance.
Bird preference value: higher is more preferred
Cisco/Juniper AD value: lower is more preferred
>
> > 3) When it comes to internal OSPF area, this field output changes
> > to
> > double-field one:
> >
> >
> > 192.168.57.0/24 dev re0 [direct1 11:12:08] * (240)
> > dev re0 [ospfv4 11:17:31] I (150/10)
> > [192.168.100.254]
> >
> >
> > again, which field in (150/10) is what ?
>
> protocol preference / OSPF distance
>
> --
> Elen sila lumenn' omentielvo
>
> Ondrej 'Santiago' Zajicek (email: santiago at 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."
>
More information about the Bird-users
mailing list