end-filter

Function

The end-filter command concludes the configuration of a route-filter, exits the route-filter view, and returns to the system view.

By default, no filtering policy is configured.

Format

end-filter

Parameters

None

Views

Route-filter policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

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. To conclude the configuration of a route-filter, exit the route-filter view, and return to the system view, run the end-filter command.

Prerequisites

The content of a route-filter has been configured.

Example

# Configure a route-filter named r1.
<HUAWEI> system
[~HUAWEI] xpl route-filter r1
[~HUAWEI-xpl-filter] if ip route-destination in { 1.1.1.1 32 } then
[~HUAWEI-xpl-filter-if] apply preference 200
[~HUAWEI-xpl-filter-if] endif
[~HUAWEI-xpl-filter] end-filter
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >