C613-50631-01 Rev A Command Reference for IE340 Series 1609
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
ROUTE MAP COMMANDS
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 either:
• specifying the name of an access list. To create the access list, enter Global
Configuration mode and use the access-list command.
• specifying the name of a 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 access list or
prefix list.
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 <access-list-id>
match ip address prefix-list <prefix-listname>
no match ip address
no match ip address <access-list-id>
no match ip address prefix-list <prefix-listname>
Mode Route-map Configuration
Usage notes Each entry of a route map can have at most one access list-based IP address match
clause and one prefix list-based IP address match clause. If the route map entry
already has one of these match clauses, entering this command replaces that
match clause with the new clause.
Note that access lists, prefix lists and route map entries all specify an action of deny
or permit. The action in the access list or prefix list determines whether the route
map checks update messages and routes for a given prefix. The action in the route
map, and the map’s set clauses, determine what the device does with update
messages or routes that contain that prefix.
If the match ip address command results in a match against the specified IP
address, then the outcome is:
Parameter Description
<access-list-id> Use an ACL to specify which prefixes to match.
<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.