match ip address

Matches IP address conditions in a route map instance.
Syntax
match ip address{acl-name|acl-num}
match ip addressprefix-listname
no match ip address{acl-name|acl-num}
no match ip addressprefix-listname
Command Default

By default, match statements are not configured.

Parameters
acl-name
Specifies an IPv4 ACL name.
acl-num
Specifies an IPv4 ACL number. Valid values range from 1 through 199.
prefix-listname
Specifies an IPv4 prefix list.
Modes

Route-map configuration mode

Usage Guidelines

You can specify up to five ACL names or ACL numbers. You can specify up to five IPv4 prefix lists

The no form of the command removes the configuration.

Examples

The following example configures a route map that matches the standard ACL number 99.

device# configure terminal
device(config)# route-map test-route permit 99
device(config-routemap test-route)# match ip address 99

The following example configures a route map that matches the IPv4 prefix list “myprefixlist”.

device# configure terminal
device(config)# route-map test-route permit 99
device(config-routemap test-route)# match ip address prefix-list myprefixlist