match ip next-hop


match ip next-hop { accessListName [ accessListName ]* |
prefix-list prefixListName [ prefixListName ]* | prefix-tree treeName [ treeName ]* }

no match ip next-hop [ accessListNumber ]* | prefix-list [ listName ]* |
prefix-tree [ treeName ]*

Release Information

Command introduced before JunosE Release 7.1.0.


Matches any routes that have a next-hop router address passed by the specified access list, prefix list, or prefix tree. You cannot mix references in the same match command; you can only specify either access list(s), prefix list(s), or prefix tree(s). The no version removes the match clause from a route map unless you specify a value, in which case only that value is removed from the match clause.



Policy List Configuration, Route Map Configuration

Related Documentation