![Cisco Nexus 3548 series Command Reference Manual Download Page 257](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162257.webp)
237
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
match ip next-hop prefix-list
match ip next-hop prefix-list
To redistribute any IPv4 routes that have a next-hop router address passed by one of the access lists
specified, use the
match ip next-hop prefix-list
command. To remove the next hop entry, use the
no
form of this command.
match ip next-hop prefix-list
prefix-list-name
[...
prefix-list-name
]
no match ip next-hop prefix-list
prefix-list-name
[...
prefix-list-name
]
Syntax Description
Command Default
Routes are distributed freely, without being required to match a next hop address.
Command Modes
Route-map configuration mode
Command History
Usage Guidelines
An ellipsis (...) in the command syntax indicates that your command input can include multiple values
for the
prefix-list-name
argument.
Use the
route-map
global configuration command, and the
match
and
set
route-map configuration
commands to define the conditions for redistributing routes from one routing protocol into another. Each
route-map
command has a list of
match
and
set
commands associated with it. The
match
commands
specify the match criteria—the conditions under which redistribution is allowed for the current
route-map
command. The
set
commands specify the set actions—the particular redistribution actions
to perform if the criteria enforced by the
match
commands are met. The
no route-map
command deletes
the route map.
The
match
route-map configuration command has multiple formats. The
match
commands can be given
in any order and all
match
commands must pass to cause the route to be redistributed according to the
set actions
given with the
set
commands. The
no
forms of the
match
commands remove the specified
match criteria.
When you are passing routes through a route map, 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 a second route map section with an explicit match
specified.
This command requires the LAN Enterprise Services license.
prefix-list-name
Number or name of a prefix list. It can be any alphanumeric string up
to 63 characters. The ellipsis indicates that multiple values can be
entered, up to 32 prefix lists.
Release
Modification
5.0(3)A1(1)
This command was introduced.