show route export & not up proto

Bernd Naumann bena at spreadshirt.net
Thu Nov 15 17:28:22 CET 2018


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



More information about the Bird-users mailing list