The if-match ip next-hop acl command configures a rule for matching routes based on the next hop for a tunnel selector.
The undo if-match ip next-hop acl command deletes the setting.
By default, route filtering based on the next hop is not configured.
| Parameter | Description | Value | 
|---|---|---|
| acl aclNum | Specifies the ACL number. | The value is an integer ranging from 2000 to 2999. | 
| acl aclName | Specifies the ACL name. | The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive). | 
Usage Scenario
The if-match ip next-hop acl command can be run in the tunnel-selector view in the following scenarios:
Prerequisites
A tunnel selector has been created using the tunnel-selector command.
An ACL has been configured using the acl (basic ACL) command in the system view based on the next hops of routes.Follow-up Procedure
Run the apply tunnel-policy command in the tunnel-selector view to apply a tunnel policy to the matched routes.