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).
Example for Configuring Local Port Mirroring

Example for Configuring Local Port Mirroring

Networking Requirements

As shown in Figure 9-3, the administrative department of a company communicates with the Internet through SwitchA, and the monitoring device (Server) is directly connected to SwitchA.

The Server is required to monitor Internet-bound traffic from the administrative department.

Figure 9-3 Networking diagram of local port mirroring

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure 10GE1/0/2 on SwitchA as the local observing port so that the Server can receive mirrored packets.
  2. Configure 10GE1/0/1 on SwitchA as the mirrored port to monitor packets passing through the mirrored port.


  1. Configure an observing port.

    # Configure 10GE1/0/2 on SwitchA as the local observing port.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchA
    [*HUAWEI] commit
    [~SwitchA] observe-port 1 interface 10ge 1/0/2
    [*SwitchA] commit

  2. Configure a mirrored port.

    # Configure 10GE1/0/1 on SwitchA as the mirrored port to monitor packets sent from HostA.

    [~SwitchA] interface 10GE 1/0/1
    [~SwitchA-10GE1/0/1] port-mirroring observe-port 1 inbound
    [*SwitchA-10GE1/0/1] commit
    [~SwitchA-10GE1/0/1] return

  3. Verify the configuration.

    # Check the port mirroring configuration.

    <SwitchA> display port-mirroring
      Observe port mirroring:
      MirroringPort         Direction        ObservePort : Interface
      10GE1/0/1             Inbound                    1 : 10GE1/0/2

Configuration Files

  • Configuration file of SwitchA

    sysname SwitchA
    observe-port 1 interface 10GE1/0/2
    interface 10GE1/0/1
     port-mirroring observe-port 1 inbound
Updated: 2019-04-20

Document ID: EDOC1100075365

Views: 41692

Downloads: 129

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