--- Begin Message ---
----- Original Message -----
From: Nick Cutting <ncutt...@edgetg.com>
To: Brandon Ewing <nicot...@warningg.com>; "cisco-nsp 
(cisco-nsp@puck.nether.net)" <cisco-nsp@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:nicot...@warningg.com]
Sent: Monday, October 17, 2016 5:45 PM
To: cisco-nsp (cisco-nsp@puck.nether.net) <cisco-nsp@puck.nether.net>
Cc: Nick Cutting <ncutt...@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@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

--- End Message ---
_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to