match interface (filter)

Use this command to match the outgoing interface of the route to be installed in the OSPF routing table.

Syntax

match interface {interface-name | alias}
no match interface {interface-name | alias}

Parameters

interface-name | alias Specifies an interface name or alias to match for this OSPF filter.

Defaults

None.

Mode

Route-map filter configuration.

Usage

The specified interface represents the outgoing interface for the route being installed into the routing table by OSPF.

Apply the filter route-map using the distribute-list route-map in command in OSPF router configuration command mode to prevent route matches from entering the OSPF routing table.

The “no” form of this command removes the match between an interface and this route-map.

Example

This example shows how to match a packet source IP address to VLAN 100 on route-map ospf1:

System(rw-config)->route-map filter ospf1
System(rw-config-fltr)->match interface vlan.0.100