
C613-50186-01 Rev B
Command Reference for AR2050V
1387
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTE
M
AP
C
OMMANDS
MATCH
IP
ADDRESS
match ip address
Overview
Use this command to add an IP address prefix match clause to a route map entry.
You can specify the prefix or prefixes to match by specifying the name of the prefix
list. To create the prefix list, enter Global Configuration mode and use the
ip
prefix-list
command.
A route matches the route map entry if the route’s prefix matches the prefix list.
Each entry of a route map can have at most one one prefix list-based IP address
match clause. If the route map entry already has one match clause, entering this
command replaces that match clause with the new clause.
Note that prefix lists and route map entries all specify an action of deny or permit.
The action in the prefix list determines whether the route map checks update
messages and routes for a given prefix. The route map action and its
set
clauses
determine what the route map does with routes that contain that prefix.
A route matches the route map entry if the route’s prefix matches the prefix list.
Each entry of a route map can have at most one prefix list-based IP address match
clause. If the route map entry already has one match clause, entering this
command replaces that match clause with the new clause.
Note that prefix lists and route map entries all specify an action of deny or permit.
The action in the prefix list determines whether the route map checks update
messages and routes for a given prefix. The route map action and its
set
clauses
determine what the route map does with routes that contain that prefix.
Use the
no
variant of this command to remove the IP address match clause from a
route map entry. To remove a prefix list-based match clause you must also specify
the
prefix-list
parameter.
Syntax
match ip address prefix-list <
prefix-listname
>
no match ip address prefix-list <
prefix-listname
>
Mode
Route-map Configuration
Usage
The
match ip address
command specifies the IP address to be matched. The
outcome of matching against the IP address is:
•
If there is a match for the specified IP address, and
permit
is specified, then
the route is redistributed or controlled, as specified by the set action.
•
If there is a match for the specified IP address, and
deny
is specified, then the
route is not redistributed or controlled.
Parameter
Description
prefix-list
Use an IP prefix list to specify which prefixes to match.
<
prefix-listname
>
The prefix list name.