The endif command concludes the configuration of an if condition branch.
By default, the endif command is not run.
Usage Scenario
Route-filters are used to filter routes based on sets or a single element and modify route attributes of the routes that meet matching rules. Route-filters use if condition branches to filter routes. To conclude the configuration of an if condition branch, run the endif command.
Prerequisites
A matching rule has been configured for the route-filter using the if command.