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 ]
|
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.
|
Routes are distributed freely, without being required to match a next hop address.
Route-map configuration mode
|
Release
|
Modification
|
|---|---|
|
5.0(3)N1(1)
|
This command was introduced.
|
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.
This example shows how to distributes routes that have a next-hop router address passed by the prefix list test:
|
Command
|
Description
|
|---|---|
|
route-map
|
Defines the conditions for redistributing routes from one routing protocol into another.
|
|
set next-hop
|
Specifies the address of the next hop.
|