5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
681
routes. Up to eight prefix lists may be specified.
Default
The default is None.
Command Mode
Route Map Config
7-58
match ip address <access-list-number | access-list-name>
Configure a route map in order to match based on the match criteria configured in an IP access-list. Note
that an IPACL must be configured before it is linked to a route-map. Actions present in an IP ACL
configuration are applied with other actions involved in route-map. If an IPACL referenced by a route-map
is removed or rules are added or deleted from that ACL, the configuration is rejected.
If there are a list of IP access-lists specified in this command and the packet matches at least one of
these access-list match criteria, the corresponding set of actions in route-map are applied to packet.
lf there are duplicate IP access-list numbers/names in this command, the duplicate configuration is
ignored.
No
command deletes a match statement from a route map.
match ip address access-list-number | access-list-name [access-list-number | access-list-name…]
no match ip address [access-list-number | access-list-name]
Parameters
access-list-number
Identifies an access-list configured through access-list CLI configuration
commands. This number is 1 to 99 for standard access list number. This
number is 100 to 199 for extended access list number.
access-list-name
Identifies named IP ACLs. Access-list name can be up to 31 characters
in length. A maximum of 16 ACLs can be specified in this ‘match’
clause.
Default
No match criteria are defined.
Command Mode
Route Map Config
Example
The following sequence is creating a route-map with “match” clause on ACL number and applying that
route-map on an interface.
(Routing)(Config)#access-list 1 permit ip 10.1.0.0.0.0.255.255
(Routing)(Config)#access-list 2 permit ip 10.2.0.0.0.0.255.255
(Routing)(Config)#route-map equal-access permit 10
(Routing)(Config-route-map)#match ip address 1