C613-50170-01 Rev B
Command Reference for x510 Series
1171
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTE
M
AP
C
OMMANDS
MATCH
INTERFACE
match interface
Overview
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.
Use the
no
variant of this command to remove the interface match clause from the
route map entry. Use the
no
variant of this command without a specified interface
to remove all interfaces.
Syntax
match interface <
interface
>
no match interface [<
interface
>]
Mode
Route-map Configuration
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#
configure terminal
awplus(config)#
route-map mymap1 permit 10
awplus(config-route-map)#
match interface vlan1
To remove all interfaces from the route map called
mymap1
, use the commands:
awplus#
configure terminal
awplus(config)#
route-map mymap1 permit 10
awplus(config-route-map)#
no match interface
Related
Commands
Parameter
Description
<
interface
>
The VLAN to match, e.g.
vlan2
.