Multicast and Routing Guide K/KA/KB.15.15

connected Matches directly connected routes.
static Matches static routes.
rip Matches RIP routes.
ospf Matches OSPF routes.
ospfv3 Matches OSPFv3 routes.
The no form of the command deletes the match clause from the sequence.
Matching tags
Syntax:
[no] match tag value
Matches the specified tag value with that of the route.
value : Value of the route tag to match against. This is an integer value between
0 and the maximum number supported by the routing switch. The tag value is
typically set by a set command on a different router.
The no form of the command deletes the match clause from the sequence.
Using set commands
The set commands described below are available for use in route maps. Multiple set commands
may be used in a sequence of a route map.
Setting the next hop
Syntax:
[no] set [ ip | ipv6 next-hop ] [ IP-addr | IPv6-addr ]
Sets a next hop address.
[ ip | ipv6 ] Specifies setting either an IPv4 (IP) or IPv6
address, respectively.
[ IP-addr | IPv6-addr ] Specifies the IPv4 (IP) or IPv6 address,
respectively, to set.
The no form of the command deletes the set clause from the sequence.
Setting the route metric
Syntax:
[no] set metric value
Sets the route metric to the specified value.
value Value to be set for the route metric. This is an integer value between 0
and the maximum number supported by the routing switch.
The no form of the command deletes the set clause from the sequence.
Setting the metric type
Syntax:
[no] set metric-type external [ type-1 | type-2 ]
Sets the metric type of an OSPF external route.
type-1 Sets the metric type of an OSPF external route to type 1.
type-2 Sets the metric type of an OSPF external route to type 2.
Using set commands 211