O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required