as_path question
Ondrej Zajicek
santiago at crfreenet.org
Tue Jul 5 15:33:59 CEST 2011
On Tue, Jul 05, 2011 at 04:21:51PM +0400, Mikhail A. Grishin wrote:
> Moreover, this prefix (94.228.160.0/20) was filtered and not accepted
> because of this BIRD structure:
> # Apply as_path filters on the last AS (originated route)
> allas = [ 15905, 34211, 41206, 44116, 44893, 47773, 48467, 50875,
> 51031, 51186, 51443, 52163 ];
> if ! (bgp_path.last ~ allas) then reject;
>
> So bgp_path.last doesn't hit to 48467 in this case.
> Is this normal?
Yes, as bgp_path.last expression returns one integer, it cannot return
both (or more) ASNs in the AS set. It returns 0 in that case.
--
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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20110705/fc8ee12f/attachment-0001.asc>
More information about the Bird-users
mailing list