match ip next-hop prefix-list
Use this command to specify the next-hop IP address match criterion using the prefix-list. This command matches the next-hop IP address of a route.
Use the no parameter with this command to remove the specified match criterion.
Command Syntax
match ip next-hop prefix-list WORD
no match ip next-hop prefix-list (WORD|)
Parameter
WORD
Prefix-list name.
Default
No default value is specified
Command Mode
Route-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#route-map mymap permit 3
(config-route-map)#match ip next-hop prefix-list list1
Last modified date: 10/16/2023