clause. In such a clause, the interfaces or next hops are treated in logical OR fashion: if there is a match with any
one of them, the match clause succeeds.)
A match sequence that contains no match commands will permit all routes. (Such a sequence may be used in a
route map that denies certain routes but permits all others.)
Like most
match
commands,
set
commands allow only one command of a given type in a sequence. So, for
instance, if a match sequence is successful, you can set a metric of 23, but not metrics of 23 and 25
simultaneously.
To re-enter the context of an existing route map that has only one sequence (say, to add or delete match or set
statements), the sequence number is optional:
route-map
name
permit | deny
. If the route-map has more
than one sequence, the sequence number is required:
route-map
name
permit | deny seq
seq-num
.
To create a new sequence in an existing route map (that is, under the same route map name), use the
route-
map
command with a different sequence number. Sequence numbers are significant: they determine the order of
evaluation of sequences in route maps—the sequence with the lowest number is evaluated first.
Match commands
The
match
commands described in this chapter are available for use in route maps.
Multiple
match
commands may be used in a sequence of a route map. For most commands, only one match of a
given type is permitted in a sequence. For the
match interface vlan
vid
,
match ip next-hop
IP-
addr
, and
match ipv6 next-hop
IPv6-addr
commands, multiple instances of those commands are
permitted in a single sequence, because all instances of those commands in a sequence are concatenated
internally into single commands, respectively.
276
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08