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 12800 and 12800E V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, sFlow, and NETCONF.
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 VLAN Mirroring

Configuring Local VLAN Mirroring


In local VLAN mirroring, packets on all active ports in a specified VLAN are copied to observing ports, which then send the packets to their directly connected monitoring devices.

The switch 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.

  • The CE12800E does not support 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 not advertised 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 CE12800E that has the ED-E, EG-E, and EGA-E series cards installed supports 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.

    • The CE12800E does not support this function.

    • CE-L48GT-EA, CE-L48GT-EC, CE-L48GS-EA, CE-L48GS-EC, CE-L24XS-BA, CE-L24XS-EA, CE-L48XS-BA, CE-L48XS-EA and CE-L24LQ-EA cards do not support this function.

  4. Run vlan vlan-id

    The VLAN view is displayed.

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

    VLAN traffic is mirrored to a specified observing port.


    Only the CE12800E that has the ED-E, EG-E, and EGA-E series cards installed supports outbound and both parameter.

  6. Run commit

    The configuration is committed.

Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 29370

Downloads: 29

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