Can someone please point me to a meaningful explanation for a beginner on how to setup BGP filters?
This is my config:I'm basically trying not to advertise anything smaller than /48, but when I do:
I can see smaller prefixes are still announced...
Where is my mistake?
Thanks!
This is my config:
Code:
/ipv6 firewall address-listadd address=2001:db8:abcd::/48 list=bgp-networks/routing filter ruleadd chain=bgpv6-out disabled=no rule="if (dst in 2001:db8:abcd::/48) { accept; }"add chain=bgpv6-out disabled=no rule="if (dst-len > 48) { reject; }"add chain=bgpv6-out disabled=no rule=reject/routing bgp connectionadd as=65001 disabled=no local.address=2000:db8::2 .role=ebgp name=test \ output.filter-chain=bgpv6-out .keep-sent-attributes=yes .network=bgp-networks \ .redistribute=connected,static remote.address=2000:db8::2/128 .as=65000 \ routing-table=main
Code:
/routing/bgp/session dump-saved-advertisements numbers=0 save-to=adv.pcap/routing/stats/pcap/print where file=adv.pcap
Where is my mistake?

Statistics: Posted by sale99 — Wed Jan 08, 2025 1:07 am