bird bgp_mask/ regex with sets

Mazur, Dariusz dmazur at akamai.com
Fri Nov 22 20:36:16 CET 2019


Hello Ondrej,
Thanks for quick response. I use 2.0.5

/usr/bin # birdc
BIRD 2.0.5 ready.
bird> 

Thanks,
Dariusz

On 11/22/19, 7:50 PM, "Ondrej Zajicek" <santiago at crfreenet.org> wrote:

    On Fri, Nov 22, 2019 at 03:01:05PM +0000, Mazur, Dariusz wrote:
    > Hello Bird users,
    > 
    > I am trying to  filter routing table entries based on as-path regex ( I try to write regex: 32934  (3|5|7) )
    > 
    > bird> show route all where bgp_path ~ [= 32934 [3,5,7] =]
    > syntax error, unexpected '['  -> I get this error
    > bird>
    > 
    > According to documentation I should be able  to use sets inside [=  =]
    
    Hello
    
    Which version of BIRD do you use?
    
    -- 
    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