show route export & not up proto

Mikhail Mayorov mm at tagan.ru
Sun Nov 18 08:07:07 CET 2018


Hi Bernd!

You are right. But sometimes filter is written inside in peer's
definition. It would be easy to understand for users and we would get
less errors.

On 15/11/18 19:28, Bernd Naumann wrote:
> Hi Mikhail,
>
> If I understand you correctly:
>
> lets assume this config snippet:
> ```
> template bgp 'vpc'
> {
>     disabled 0;
>     direct;
>     check link on;
>     import keep filtered on;
>     import filter aws_in;
>     export filter aws_out;
> }
> ```
>
> You would then use 
> ```
> bird> show route all filter aws_out
> ```
>
> I've just tested this on an AWS VPC router while the IPsec session was down, because the filter works independent from the protocol status (IIRC).
>
> Does it help you?
>
> Best,
> Bernd
>
> ----- Ursprüngliche Mail -----
> Von: "Mikhail Mayorov" <mm at tagan.ru>
> An: bird-users at network.cz
> Gesendet: Donnerstag, 15. November 2018 15:48:49
> Betreff: show route export & not up proto
>
> Hi all!
>
> How to display routes that will be exported to a specific peer (in my
> case it is BGP peer) if the session is not established?
>

-- 
Regards,
Mikhail V. Majorov

Megalink, CEO
B.Bulvarnay 11, Taganrog, Russia, 347913
tel work: +7 8634 431431 (ext 101)
tel mobile: +7 905 4309006





More information about the Bird-users mailing list