[j-nsp] Using apply-path for generating prefix lists
Pekka Savola
pekkas at netcore.fi
Thu Feb 10 06:35:47 EST 2011
On Thu, 10 Feb 2011, Daniel Roesen wrote:
> On Thu, Feb 10, 2011 at 11:19:43AM +0100, Thomas Eichhorn wrote:
>> Has anybody any hint for me or even a better solution
>> than my approach?
>
> prefix-list BGP-neighbors-v4 {
> apply-path "protocols bgp group <*> neighbor <*.*>";
> }
> prefix-list BGP-neighbors-v6 {
> apply-path "protocols bgp group <*> neighbor <*:*>";
> }
You can also just use <*>. Since about 1-2 years ago (we had a PR on
this, v6 was inconsistent with v4 and commit was failing), the other
address family addresses get ignored in the ACL.
--
Pekka Savola "You each name yourselves king, yet the
Netcore Oy kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
More information about the juniper-nsp
mailing list