From any routing protocol which routing adjacency is established throught that interface, ospf, bgp, isis, etc.
This way you could configure
from protocol ospf
from interface ge-1/1/0.1
This way you will not import all static, or ospf, bgp routes, only those which next hop is that interface.