No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - Network Management and Monitoring

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, NETCONF, OpenFlow, LLDP, NQA, Mirroring, Packet Capture, Packet Trace, Path and Connectivity Detection Configuration, NetStream, sFlow, and iPCA.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Local Port Mirroring

Configuring Local Port Mirroring


In local port mirroring, packets that pass through a port are copied to observing ports, which then send the packets to their directly connected monitoring devices.

The CE6870EI/CE6875EI also supports observing port groups. An observing port group contains multiple member ports. When an observing port group is configured for packet mirroring, packets mirrored to the observing port group are copied to all its member ports.

  • Only the CE6870EI/CE6875EI supports observing port groups.

  • When packet monitoring is not required, you are advised to cancel the mirroring configuration to reduce the system cost.

  • To prevent other services from conflicting with mirroring services, you are advertised not to configure other services on observing ports. To configure other services on observing ports, run the observe-port filter enable command in the system view to enable the observing port filter.


  1. Run system-view

    The system view is displayed.

  2. Configure a local observing port or an observing port group.

    • Configuring a local observing port

      1. Run observe-port [ observe-port-index ] interface interface-type interface-number [ cir cir-value [ kbps | mbps | gbps ] ]

        A local observing port is configured.

        By default, no local observing port is configured.


        Only the CE6880EI and CE5880EI support the cir cir-value [ kbps | mbps | gbps ] parameter.

    • Configuring an observing port group

      1. Run observe-port group group-id

        The observing port group is configured and the observing port group view is displayed.

        By default, no observing port group is configured.

      2. Run group-member { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-8>

        The member ports are added to the observing port group.

      3. Run quit

        Exit from the observing port group view.

  3. (Optional) Run observe-port filter enable

    The observing port filter is enabled.

    By default, after a port is configured as an observing port, the port filter is disabled.


    Only the CE6870EI and CE6875EI support this function.

  4. Run interface interface-type interface-number

    The interface view is displayed.

  5. Configure a mirrored port.

    • Run port-mirroring observe-port observe-port-index { both | inbound | outbound }

      The traffic is mirrored to the observing port.

    • Run port-mirroring observe-port group group-id { both | inbound | outbound }

      The traffic is mirrored to the observing port group.

  6. Run commit

    The configuration is committed.

Updated: 2019-04-20

Document ID: EDOC1100075365

Views: 34001

Downloads: 123

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next