Name

match interface — route-map

Synopsis

match interface interface [... interface]
no match interface interface [... interface]

Configures

Route filtering

Default

None

Description

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.

Example

In the following route map, all routes must have a next hop through the serial0 or serial1 interface for the route to match.

route-map example1
  match interface serial0 serial1

Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.