Configuring Strict Filter for EVC Sub-Interfaces

This section describes how to configure strict filter for EVC sub-interfaces.

Usage Scenario

On a BD scenario, the router has two sub-interfaces configured in a main interface, one with the Dot1q encapsulation type and the other with the default encapsulation type. Once the sub-interface encapsulated Dot1q receives traffic, the sub-interface with the default encapsulation type also sends out the traffic. This may cause the illusion of return current. Besides, the router has two interfaces configured on a BD scenario. The first interface has a sub-interface that is configured with the Dot1q encapsulation type. The second interface has two sub-interfaces that are configured with the Dot1q and default encapsulation types respectively. Once traffic passes through the sub-interface on the first interface, the second interface also sends two copied traffic from each of its sub-interfaces. This causes traffic to be replicated, wasting resources and reducing the board's forwarding efficiency. To allow traffic to be sent through specific interfaces, enable strict filter.

Pre-configuration Tasks

Before configuring strict filter on an interface, configure physical attributes for interfaces on the router.

Procedure

  • Enable strict filter globally.
    1. Run system-view

      The system view is displayed.

    2. Run ethernet egress-strict-filter enable

      Strict filter is enabled globally.

    3. Run commit

      The configuration is committed.

  • Enable strict filter on an EVC sub-interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number.sub-interface-number mode l2

      The EVC sub-interface view is displayed.

    3. Run ethernet egress-strict-filter enable

      Strict filter is enabled for the EVC sub-interface.

    4. Run commit

      The configuration is committed.

      The strict filter configuration on an EVC sub-interface takes precedence over that configured in the system view. The strict filter configuration on an EVC sub-interface takes effect, regardless of whether strict filter is configured globally.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >