show route

Job Snijders job at instituut.net
Tue Aug 1 09:52:44 CEST 2017


On Tue, Aug 01, 2017 at 09:26:29AM +0200, Luk wrote:
> What is proper syntax for this kind of show route:
> 
> bird> show route protocol ECO where  net ~ 2.2.2.250/31 all
> 2.2.2.250/31 via 1.1.1.66 on eth0.930 [ECO 08:53:25] * E2 (150/200/10000) [1.1.1.66]
>         Type: OSPF-E2 unicast univ
>         OSPF.metric1: 200
>         OSPF.metric2: 10000
>         OSPF.tag: 0x00000000
>         OSPF.router_id: 1.1.1.66
> bird> show route protocol ECO where  ospf_router_id ~ 1.1.1.66
> bird>
> 
> I expect, that second show route should show the same output as first.

Like this?

	root at eunetworks-2:~# birdc show route where ospf_router_id = 94.142.247.2 all
	BIRD 1.6.3 ready.
	94.142.247.2/32    via 94.142.247.243 on eth8.108 [ospf1 2017-07-19 23:09:36] * E2 (150/20/10000) [94.142.247.2]
		Type: OSPF-E2 unicast univ
		OSPF.metric1: 20
		OSPF.metric2: 10000
		OSPF.tag: 0x00000000
		OSPF.router_id: 94.142.247.2

Kind regards,

Job


More information about the Bird-users mailing list