You can configure a route map that matches on an Ethernet interface, a loopback interface, or a VE interface.
device# configure terminal
device(config)# route-map myintroutemap1 permit 99
device(config-route-map-myintroutemap1/permit/99)# match interface ethernet 1/1 loopback 1
The following example summarizes the commands in this procedure.
device# configure terminal device(config)# route-map myintroutemap1 permit 99 device(config-route-map-myintroutemap1/permit/99)# match interface ethernet 1/1 loopback 1