![Cisco Nexus 3548 series Command Reference Manual Download Page 262](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162262.webp)
242
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
match metric
A route map can have several parts. Any route that does not match at least one
match
clause that relates
to a
route-map
command is ignored; that is, the route is not advertised for outbound route maps and is
not accepted for inbound route maps. If you want to modify some particular data, you must configure
second route map section with an explicit match specified.
This command requires the LAN Enterprise Services license.
Examples
This example shows how to redistribute routes stored in the routing table with a metric of 5:
switch#
configure terminal
switch(config)#
route-map blueberry
switch(config-route-map)#
match metric 5
switch(config-route-map)#
Related Commands
Command
Description
match as-path
Matches a BGP autonomous system path access list.
match community
Matches a BGP community.
match ip next-hop
Redistributes any routes that have a next-hop router address passed
by one of the access lists specified.
match ip route-source
Redistributes routes that have been advertised by routers and access
servers at the address specified by the access lists.
match metric
Redistributes routes with the metric specified.
match tag
Redistributes routes in the routing table that match the specified
tags.
route-map
Defines the conditions for redistributing routes from one routing
protocol into another.
set as-path
Modifies an autonomous system path for BGP routes.
set community
Sets the BGP communities attribute.
set level
Indicates where to import routes.
set local-preference
Specifies a preference value for the autonomous system path.
set metric
Sets the metric value for a routing protocol.
set metric-type
Sets the metric type for the destination routing protocol.
set next-hop
Specifies the address of the next hop.
set tag
Sets a tag value of the destination routing protocol.
set weight
Specifies the BGP weight for the routing table.