[c-nsp] BGP Regex to allow ISP customers

Randy randy_94108 at yahoo.com
Mon Oct 17 20:24:23 EDT 2016


----- Original Message -----
From: Nick Cutting <ncutting at edgetg.com>
To: Brandon Ewing <nicotine at warningg.com>; "cisco-nsp (cisco-nsp at puck.nether.net)" <cisco-nsp at puck.nether.net>
Sent: Monday, October 17, 2016 4:32 PM
Subject: Re: [c-nsp] BGP Regex to allow ISP customers

Thank you for your answer.

The problem is I do not know the ASN's of the ISP's customers.
Robert - I am afraid that this particular ISP does not have a community for this, nor can they send me just their customer routes.

From: Brandon Ewing [mailto:nicotine at warningg.com]
Sent: Monday, October 17, 2016 5:45 PM
To: cisco-nsp (cisco-nsp at puck.nether.net) <cisco-nsp at puck.nether.net>
Cc: Nick Cutting <ncutting at edgetg.com>
Subject: Re: [c-nsp] BGP Regex to allow ISP customers


The original message is attached because it is signed.


Hi,
Perhaps something like this:

ip as-path access-list 100 permit ^100_[0-9]*$
ip as-path access-list 100 permit ^100_([0-9]+)_\1_\1$

first line would match as100 only and as100 and it's customers while the second would allow three prepends from customers of as100. I am sure there is a better way to do this though...


./Randy
________________________________
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list