A tunnel selector comprises if-match and apply clauses. The if-match clause defines route filtering rules, whereas the apply clause applies a tunnel policy to routes matching the preceding rules.
A tunnel selector allows routes to recurse to proper tunnels as expected.
Perform the following steps on the PE or ASBR where a tunnel policy needs to be applied.
The system view is displayed.
Run the following commands as needed to configure one or more route filtering rules for the current tunnel selector node. If you skip this step, all VPNv4, VPNv6, and labeled BGP-IPv4 routes are permitted.
A tunnel policy is applied to the routes.
The configuration is committed.