4 match interface – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 557

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 557 of 855

28.3.1.6 Related Commands

match ip address
match as-path
set as-path
set community
match metric

28.4 match interface

Use this command to define the interface match criterion.
Use the no parameter with this command to remove the specified match criterion.
.
The match interface command specifies the next-hop interface name of a route to be matched.

Note:

This command is valid only for RIP, OSPF.

28.4.1.1 Command Syntax

match interface IFNAME

no match interface

28.4.1.2 Syntax Description

IFNAME

A string that specifies the interface for matching.

28.4.1.3 Command Mode

Route-map mode

28.4.1.4 Defaults

No match interface is specified by default.

28.4.1.5 Examples

Switch# configure terminal
Switch(config)# route-map mymap1 permit 10
Switch(config-route-map)# match interface eth-0-1

Advertising