# match ipv6 next-hop

#### Syntax

match ipv6 next-hop
{ accessListName [ accessListName ]* | prefix-list prefixListName
[ prefixListName ]* }

no match ipv6 next-hop [ [ accessListName ]* | prefix-list [ prefixListName ]* ]

#### 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 or prefix list. The no version removes all next-hop match clauses from a route map unless you specify either an access list or prefix list, in which case only the list match is removed from the route map.

#### Options

- accessListName—String of up to 32 alphanumeric characters
- prefixListName—Name of a single prefix list; string of up to 32 characters
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

#### Mode

Policy List Configuration, Route Map Configuration