The access-list-name argument is supported in route maps for Policy based-routig (PBR) only.
match ip address
command allows you to perform policy route packets based on criteria that can be matched with an access list; for example, a protocol, protocol service, and source or destination IP address.
To define the conditions for policy routing packets, use the
ip policy route-map
interface configuration command and the
configuration commands. Each
command has a list of
commands associated with it. The
commands specify the match criteria—the conditions under whichpolicy routing occurs. The
commands specify the set actions—the particular routing actions to perform if the criteria enforced by the match commands are met. You might want to policy route packets based on their source, for example, using an access list.
Like matches in the same route map subblock are filtered with “or” semantics. If any one match clause is matched in the entire route map subblock, this match is treated as a successful match. Dissimilar match clauses are filtered with “and” semantics. Dissimilar matches are filtered logically. If the first set of conditions is not met, the second match clause is filtered. This process continues until a match occurs or there are no more match clauses.
This command requires the Enterprise Services license.