You can specify more than one value in each match entry of a route map by using any of the following match commands:
A clause with multiple values matches a route that has any of the values; that is, the multiple values are logical ORed.
- host1(config-route-map)#match ip address lisbon
madrid
- host1(config-route-map)#match as-path 10 20
30
You can also issue successive match commands to add new values to a route map entry for any of the commands listed above.
- host1(config-route-map)#match ip address boston
- host1(config-route-map)#match ip address newyork
This method is equivalent to issuing the following single command:
- host1(config-route-map)#match ip address boston
newyork
You cannot specify multiple values for the match metric-type command, because it has only two acceptable values, which are mutually exclusive. Specifying both values has the same effect as not specifying a metric type at all; specifying the same value more than once has no meaning.