match ip next-hop

Syntax

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.

Description

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.

Options

Mode

Policy List Configuration, Route Map Configuration

Related Documentation