Disabling Port Mirroring

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

Context

An observing port for receiving packets mirrored from the entire interface board, an observing port, and a mirroring interface can be deleted in a random order.

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 [ without-filter ]

    The interface is no longer an observing port.

  7. Run quit

    The system view is displayed.

  8. Run interface interface-type interface-number

    The interface view is displayed.

    This interface functions as a mirroring interface.

  9. Run undo port-mirroring { inbound [ cpu-packet ] | outbound } [ user-defined-filter user-defined-filter-id ]

    The interface is no longer a mirroring interface.

  10. Run undo observe user-defined-filter id

    The user-defined any byte matching rule for mirroring is canceled.

  11. Run undo port-mirroring inbound { inbound | outbound } vlan { vlan-id1 [ to vlan-id2 ] }

    The Layer 2 interface is no longer a mirroring interface.

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

    The interface is no longer an observing port for mirroring.

  13. Run undo port-mirroring instance instance-name { inbound | outbound } pe-vid pe-vlan-id ce-vid ce-vlan-id-begin [to ce-vlan-id-end ]

    Port mirroring is disabled.

  14. Run undo port-mirroring instance instance-name { inbound | outbound } vid vlan-id-begin [to vlan-id-end ]

    Port mirroring is disabled.

  15. Run undo port-mirroring instance instance-name { inbound | outbound }

    Port mirroring is disabled.

  16. Run undo mirror instance instance-name

    A mirroring instance is disabled.

  17. Run commit

    The configuration is committed.

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