Disabling Flow Mirroring

Flow mirroring needs to be disabled if it is no longer used; otherwise, user services are affected.

Context

There is no specific sequence for deleting configurations for an observing port for an interface board, an observing port for a specified mirrored interface, and a mirroring interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run slot slot-id

    The slot view is displayed.

  3. Run undo mirror to observe-index observe-index

    The interface is no longer an observing port for receiving mirrored packets from an entire interface board.

  4. Run quit

    The system view is displayed.

  5. Run interface interface-type interface-number

    The interface view is displayed.

    This interface functions as an observing port.

  6. Run undo port-observing observe-index observe-index

    The interface is no longer an observing port.

  7. Run quit

    The system view is displayed.

  8. Run interface interface-type interface-number

    The system view is displayed.

    This interface functions as a mirroring interface.

  9. Run undo traffic-policy { inbound | outbound } [ link-layer | mpls-layer ]

    The traffic policy is no longer applied to the interface.

  10. Run quit

    The system view is displayed.

  11. Run traffic behavior behavior-name

    A traffic behavior is defined and the traffic behavior view is displayed.

  12. Run undo port-mirroring to { observe-index observe-index &<1-8> }

    The observing port for interface-based flow mirroring is disabled.

  13. Run undo port-mirroring enable

    Local flow mirroring is disabled.

  14. Run quit

    The system view is displayed.

    The traffic policy, behavior, and classifier for mirrored packets can be deleted if they are no longer used.

  15. Run undo traffic policy policy-name

    The traffic policy for flow mirroring is no longer used.

  16. Run undo traffic behavior behavior-name

    The traffic behavior for flow mirroring is deleted.

  17. Run undo traffic classifier classifier-name

    The traffic classifier for flow mirroring is deleted.

  18. Run commit

    The configuration is committed.

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