match interface

Syntax

match interface <INTERFACE-NAME>

no match interface <INTERFACE-NAME>

Description

Matches the outgoing interface value of the route with the value configured in the match clause.

The no form of this command restores the default behavior of not matching the outgoing interface value of the route.

Command context

config-route-map

Parameters

<INTERFACE-NAME>

Specifies the value to be matched with the outgoing interface of the route entry.

Authority

Administrators

Example

Configuring a match clause in the route map to match the outgoing interface of the route:

switch(config)# route-map GlobalMap permit seq 11
switch(config-route-map-GlobalMap-11)# match interface  1/1/1