C613-50170-01 Rev B
Command Reference for x510 Series
1173
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTE
M
AP
C
OMMANDS
MATCH
IP
ADDRESS
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.
•
If the match criteria are not met, the route is neither accepted nor forwarded,
irrespective of
permit
or
deny
specifications.
This command is valid for:
•
OSPF routes
•
RIP routes.
Examples
To add entry
3
to the route map called
myroute
, which will process routes that
match the ACL called
List1
, use the commands:
awplus#
configure terminal
awplus(config)#
route-map myroute permit 3
awplus(config-route-map)#
match ip address List1
To add entry
3
to the route map called
rmap1
, which will process routes that
match the prefix list called
mylist
, use the commands:
awplus#
configure terminal
awplus(config)#
route-map rmap1 permit 3
awplus(config-route-map)#
match ip address prefix-list mylist
Parameter
Description
<
accesslistID
>
{<access-list-name>|
<
1-199
>
|
<
1300-2699
>
}
The IP access list name or number.
<
access-list-name
>
The IP access list name.
<1-199>
The IP access list number.
<1300-2699>
The IP access list number (expanded range).
prefix-list
Use an IP prefix list to specify which prefixes to match.
<
prefix-listname
>
The prefix list name.