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.
Negating Match Clauses
If you specify a value when you negate a
match
command configured in a route
map, only that value for the match entry is deleted. The routing software deletes the
entire match entry only if the entry contains no other values. In some earlier releases,
any value specified with a
no match
command was ignored, and the entire match
entry was deleted. This change applies to all
match
commands configured in a route
map.
For example, consider the following match entry to route map miami:
host1(config)#
ip community-list corporate5 permit 32 463 21
host1(config)#
ip community-list dade2 permit 41 53 22
host1(config)#
route-map miami permit 1
host1(config-route-map)#
match community corporate5 dade2
host1(config-route-map)#
exit
host1(config)#
exit
host1#
show route-map
route-map miami, permit, sequence 10
Match clauses:
match community corporate5 dade2
In earlier releases, issuing a command like the following to remove a community
(see “Community Lists” on page 38) not specified in the entry deleted the whole
entry, but now nothing happens:
host1(config-route-map)#
no match community southbeach
host1(config-route-map)#
exit
host1(config)#
exit
host1#
show route-map
route-map miami, permit, sequence 10
Match clauses:
match community corporate5 dade2
Route Maps
■
7
Chapter 1: Configuring Routing Policy
Содержание IP SERVICES - CONFIGURATION GUIDE V 11.1.X
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 1 x IP Services Configuration Guide...
Страница 18: ...xviii Table of Contents JUNOSe 11 1 x IP Services Configuration Guide...
Страница 20: ...xx List of Figures JUNOSe 11 1 x IP Services Configuration Guide...
Страница 22: ...xxii List of Tables JUNOSe 11 1 x IP Services Configuration Guide...
Страница 28: ...2 Chapters JUNOSe 11 1 x IP Services Configuration Guide...
Страница 138: ...112 Monitoring J Flow Statistics JUNOSe 11 1 x IP Services Configuration Guide...
Страница 286: ...260 Monitoring IP Tunnels JUNOSe 11 1 x IP Services Configuration Guide...
Страница 312: ...286 Monitoring IP Reassembly JUNOSe 11 1 x IP Services Configuration Guide...
Страница 357: ...Part 2 Index Index on page 333 Index 331...
Страница 358: ...332 Index JUNOSe 11 1 x IP Services Configuration Guide...