<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="-1" face="Courier New, Courier, monospace">After
update bird not announce prefixes with the same filter in config</font></p>
<p><font size="-1" face="Courier New, Courier, monospace"><br>
</font></p>
<p><font size="-1" face="Courier New, Courier, monospace">filter
AS8905_out {<br>
if ( source = RTS_STATIC_DEVICE && net =
91.211.216.0/22 ) then {<br>
bgp_community = add(bgp_community,(8905,1050));
#backup community<br>
bgp_origin = 0;<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
accept;<br>
}<br>
if ( source = RTS_STATIC_DEVICE && net =
193.9.244.0/22 ) then {<br>
bgp_community = add(bgp_community,(8905,1050));
#backup community<br>
bgp_origin = 0;<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
accept;<br>
}<br>
if ( source = RTS_STATIC_DEVICE && net =
91.142.72.0/22 ) then {<br>
bgp_community = add(bgp_community,(8905,1050));
#backup community<br>
bgp_origin = 0;<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
accept;<br>
}<br>
if ( source = RTS_STATIC_DEVICE && net =
91.142.76.0/22 ) then {<br>
bgp_community = add(bgp_community,(8905,1050));
#backup community<br>
bgp_origin = 0;<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
bgp_path.prepend(48720);<br>
accept;<br>
}<br>
reject;<br>
};<br>
</font></p>
<p><br>
</p>
<p><br>
</p>
<p>output for ver 1.6.4</p>
<p><font size="-1" face="Courier New, Courier, monospace">bird>
show route export bgpcifra
<br>
bird> show route preexport bgpcifra
<br>
184.0.184.0/21 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS209?]
<br>
208.0.208.0/22 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS26759i]
<br>
208.0.208.0/24 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS26759i]
<br>
168.0.168.0/22 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS265257i]
<br>
210.0.210.0/23 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS9304i]
<br>
154.0.154.0/23 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS36909i]
<br>
188.0.188.0/24 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS49724i]
<br>
131.0.131.0/24 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS52232i]
<br>
169.0.169.0/24 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS37611i]
<br>
138.0.138.0/23 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS264550i]
<br>
194.0.194.0/24 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS42315i]
<br>
161.0.161.0/24 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS262237i]
<br>
40.0.40.0/24 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS4249i]
<br>
169.1.173.0/24 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS37611i]
<br>
200.1.204.0/24 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS27795i]
<br>
196.1.192.0/20 via 91.211.219.10 on eth3.500 [bgpborder2
2018-07-18 11:55:54] * (100/0) [AS15706?]
<br>
...
</font></p>
<p><font size="-1" face="Courier New, Courier, monospace">bird>
show protocols all bgpcifra
<br>
name proto table state since info
<br>
bgpcifra BGP master up 11:55:55 Established
<br>
Description: CIFRA1
<br>
Router ID: 212.34.35.82
<br>
Preference: 100
<br>
Input filter: AS8905_in
<br>
Output filter: AS8905_out
<br>
Routes: 0 imported, 0 exported, 0 preferred
<br>
Route change stats: received rejected filtered
ignored accepted
<br>
Import updates: 1415686 0 1415686
0 0
<br>
Import withdraws: 102 0 ---
1415788 0
<br>
Export updates: 1415361 0 1415361
--- 0
<br>
Export withdraws: 84 --- --- ---
707172
<br>
BGP state: Established
<br>
Neighbor address: 212.34.35.81
<br>
Neighbor AS: 8905
<br>
Neighbor ID: 10.0.4.10
<br>
Neighbor caps: refresh restart-aware AS4
<br>
Session: external AS4
<br>
Source address: 212.34.35.82
<br>
Hold timer: 81/90
<br>
Keepalive timer: 3/60
</font></p>
<p>output for ver 1.6.3</p>
<p><font size="-1" face="Courier New, Courier, monospace"># birdc<br>
BIRD 1.6.3 ready.<br>
bird> show route export bgpcifra<br>
193.9.244.0/22 dev lo [static1 2018-07-18 12:03:25] * (254)<br>
91.142.72.0/22 dev lo [static1 2018-07-18 12:03:25] * (254)<br>
91.142.76.0/22 dev lo [static1 2018-07-18 12:03:25] * (254)<br>
91.211.216.0/22 dev lo [static1 2018-07-18 12:03:25] * (254)<br>
bird> show route preexport bgpcifra count<br>
707133 of 1411221 routes for 709431 networks<br>
bird> show route export bgpcifra count<br>
4 of 1411220 routes for 709430 networks<br>
<br>
</font></p>
<p><font size="-1" face="Courier New, Courier, monospace">bird>
show protocol all bgpcifra<br>
name proto table state since info<br>
bgpcifra BGP master up 12:03:29 Established<br>
Description: CIFRA1<br>
Router ID: 212.34.35.82<br>
Preference: 100<br>
Input filter: AS8905_in<br>
Output filter: AS8905_out<br>
Routes: 704077 imported, 4 exported, 4599 preferred<br>
Route change stats: received rejected filtered
ignored accepted<br>
Import updates: 729703 0
3254 0 726449<br>
Import withdraws: 657 0 ---
3265 646<br>
Export updates: 1187031 460231 726796
--- 4<br>
Export withdraws: 589 --- ---
--- 0<br>
BGP state: Established<br>
Neighbor address: 212.34.35.81<br>
Neighbor AS: 8905<br>
Neighbor ID: 10.0.4.10<br>
Neighbor caps: refresh restart-aware AS4<br>
Session: external AS4<br>
Source address: 212.34.35.82<br>
Hold timer: 74/90<br>
Keepalive timer: 10/60<br>
<br>
bird><br>
</font><br>
</p>
<p><br>
<font size="-1"><font face="Arial">Vladislav Grishin</font></font><br>
</p>
</body>
</html>