Not involved
Suppose you have three static routes.
ip route-static 20.1.1.1 32 11.1.1.2
ip route-static 30.1.1.1 32 11.1.1.2
ip route-static 40.1.1.1 32 11.1.1.2
Configure the routing policy to match the second one.
#
ip prefix-list a index 10 permit 30.1.1.1 32
#
route-policy 1 deny node 0
if-match ip address prefix-list a //deny is blocked, i.e. 30.1.1.1 32 is denied
route-policy 1 permit node 10 //permit"s are allowed, these are customizable
quit
#
bgp 100
address-family ipv4 unicast import-route static route-policy 1 //Invoke this policy for route filtering
#
Null