<div dir="ltr"><div>Hi, bird user</div><div>       It seems that the image attachment cannot be seen by others, so I resend it (<br>       I want to export 2602:feda:ab4::/48. I wrote 「if bgp_export() then accept」 in the BGP template, but it was not exported to BGP correctly. But bgp_export() outputs 2602:feda:ab4::/48.</div><div>      I can't find the BGP in the bird document under what circumstances will not export prefix, please tell me, thanks!</div><div>       <span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">bird> show route export Hurricane_Electric_LLC</span><br>Table master6:<br>2a10:cc44:100::/44   unicast [UNM_Exch_RS2 2021-08-13 from 2602:ffb1:200:0:192:34:27:253] * (100) [AS38281i]<br>       via 2602:ffb1:200:0:192:34:27:6 on ens19<br>2a10:cc44:109::/48   unicast [LL_IX 15:22:24.526] * (100) [AS38281i]<br>       via 2602:feda:ab2:5247:5247:5247:5247:5247 on ll_ix<br>2001:df6:9f80::/48   unicast [EVIX_RS1 2021-08-13 from 2602:fed2:fff:ffff::1] * (100) [AS38281i]<br>       via 2602:fed2:fff:ffff::107 on ens20<br>2602:feda:ab2::/48   unicast [LL_IX 2021-08-15] * (100) [AS141011i]<br>       via 2602:feda:ab2:5247:5247:5247:5247:5247 on ll_ix<br>bird><br><br></span><span style="font-family:monospace"><br></span><span style="font-family:monospace"><span style="color:rgb(0,0,0)">bird> show route where  bgp_export() all</span><br>Table master6:<br>2602:feda:ab2::/48   unicast [LL_IX 2021-08-15] * (100) [AS141011i]<br>       via 2602:feda:ab2:5247:5247:5247:5247:5247 on ll_ix<br>       Type: BGP univ<br>       BGP.origin: IGP<br>       BGP.as_path: 141011<br>       BGP.next_hop: 2602:feda:ab2:5247:5247:5247:5247:5247 fe80::200:5efe:5bd:ff6b<br>       BGP.local_pref: 100<br>2602:feda:ab4::/48   unreachable [BGP_Prefix 2021-08-13] (200)<br>       Type: static univ<br>bird><br><br></span><span style="font-family:monospace"><br></span></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;line-height:19px;white-space:pre-wrap"><div>template bgp tpl_bgp {</div><div>    graceful restart on<span style="color:rgb(106,153,85)">;</span></div><div>    local as LOCAL_ASN<span style="color:rgb(106,153,85)">;</span></div><div>    ipv6 {</div><div>        next hop self<span style="color:rgb(106,153,85)">;</span></div><div>        import filter peer_in_v6<span style="color:rgb(106,153,85)">;</span></div><div>        <span style="color:rgb(106,153,85)">#export where bgp_export();</span></div><div>        export filter{</div><div>            <span style="color:rgb(106,153,85)">#if my_opt_prefix() then bgp_path.prepend(LOCAL_ASN);   </span></div><div>            if bgp_export() then accept<span style="color:rgb(106,153,85)">;</span></div><div>            if bgp_export_downstream() then accept<span style="color:rgb(106,153,85)">;</span></div><div>            else reject<span style="color:rgb(106,153,85)">;</span></div><div>        }<span style="color:rgb(106,153,85)">;</span></div><div>    }<span style="color:rgb(106,153,85)">;</span></div><div>}</div></div></div></div>