show route output explained

Ondrej Zajicek santiago at crfreenet.org
Fri Mar 1 13:49:31 CET 2019


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

> 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