Route Map Commands
©2008 Allied Telesis Inc. All rights reserved.
32.4
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
match interface
Use this command to add an interface match clause to a route map entry. Specify the interface
name to match.
A route matches the route map if its interface matches the interface name.
Each entry of a route map can only match against one interface in one interface match clause. If
the route map entry already has an interface match clause, entering this command replaces that
match clause with the new clause.
Note that this clause only determines whether the route map checks routes for the given
interface. The route map action and its
set
clauses determine what the route map does with
routes that use that interface.
Use the
no
parameter to remove the interface match clause from the route map entry.
Syntax
match interface
<interface>
no match interface
Mode
Route-map mode
Usage
This command is valid for RIP and OSPF routes only.
Example
To add entry 10 to the route map called “mymap1”, which will process routes if they use the
interface vlan1, use the commands:
awplus(config)#route-map mymap1 permit 10
awplus(config-route-map)#match interface vlan1
Related Commands
match ip address
match ip next-hop
match route-type
match tag
route-map
show route-map
Parameter
Description
<interface>
The VLAN to match, e.g. vlan2.