match interface

Configures the interface match clause in a route-map instance.
Syntax
match interface { ethernet stackid /slot/port | loopback num | null0 | tunnel number | ve vlan-id } …
no match interface { ethernet stackid /slot/port | loopback num | null0 | tunnel number | ve vlan-id } …
Parameters
ethernet stackid slot port
Specifies an Ethernet interface with stackid, slot,and port numbers.
loopback num
Specifies a loopback interface.
null0
Specifies a loopback interface.
tunnel num
Specifies a tunnel.
ve vlan-id
Specifies a virtual Ethernet interface.
Modes

Route-map configuration mode

Usage Guidelines

A maximum of five interfaces is supported. There is no restriction on the number or type of each interface specified, as long as the total is less than or equal to five. The no form of the command removes the configuration.

Examples

The following example configures a route map based on matching Ethernet interfaces 1/1/3 to 1/1/7.

device configure terminal 
device(config)# route-map myroutemap permit 10
device(config-routemap myroutemap)# match interface ethernet 1/1/3 ethernet 1/1/7