match interface — route-map
interface] no match interface
This command lets you build a route map that selects routes according to the interfaces they use. For the route to match, its next hop must be through one of the interfaces listed. Routes that match are processed according to the other statements in the route map.
In the following route map, all routes must have a next hop through the
serial1 interface for the route to match.
route-map example1 match interface serial0 serial1