Applying the Traffic Policy to the Mirroring Port

After being created, the traffic policy must be applied on an interface. The configured traffic behaviors take effect only after the traffic passing through the interface matches the traffic classification rule.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

    The interface serves as the mirroring port. The interface that can function as a mirroring interface can be a GE interface or its sub-interface, an Eth-Trunk interface or its sub-interface, and a Layer 2 EVC sub-interface.

  3. Run traffic-policy policy-name { inbound | outbound } [ all-layer | link-layer | mpls-layer ]

    The traffic policy is applied to the interface.

  4. Run commit

    The configuration is committed.

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