<div dir="ltr">Hi Team,<br><div>I would like to filter a VPN4 address using route-map.</div><div>For example, I have the below VPN4 address learnt through BGP neighbor on "L2VPN EVPN" channel.</div><div><br></div><div>Table vpntab4:<br>1:222 <a href="http://90.0.0.0/24">90.0.0.0/24</a>    unicast [EVPN_4_4_4_4 2025-02-21] * (160)<br>1:100 <a href="http://60.0.0.0/24">60.0.0.0/24</a>    unicast [BGP_4_4_4_4 17:45:37.617 from 4.4.4.4] * E (156/1) [AS400?]<br><a href="http://4.4.4.4:222">4.4.4.4:222</a> <a href="http://70.0.0.0/24">70.0.0.0/24</a> unicast [BGP_4_4_4_4 17:45:37.617 from 4.4.4.4] * E (156/1) [AS400?]<br>1:111 <a href="http://151.1.1.0/24">151.1.1.0/24</a>   unicast [EVPN_4_4_4_4 2025-02-21] * (160)<br></div><div><br></div><div>I want to create a route-map to accept only 1:100 <a href="http://60.0.0.0/24">60.0.0.0/24</a> and reject all the rest.</div><div><br></div><div>When I tried the below configuration in route-map, I got a syntax error on the below line.</div><div><br></div><div>if(net ~ [1:100 <a href="http://60.0.0.0/24">60.0.0.0/24</a>]) then { return 2;}</div><div><br></div><div>Similarly, is there any way to filter the VPN4 address using its RD value ?</div><div><br></div><div>Thanks,</div><div>Ramanathan</div><div><br></div><div><br></div></div>