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.


S600-E V200R011C10 Configuration Guide - Network Management and Monitoring

This document provides the configurations of network management and monitoring features supported by the product, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, and sFlow.

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 Remote Port Mirroring

Configuring Remote Port Mirroring


In remote port mirroring, an observing port is connected to a monitoring device through an intermediate network and forwards the packets copied on a mirrored port to the monitoring device through the intermediate network.


  1. Run the system-view command to enter the system view.
  2. Configure remote observing ports.

    Run the observe-port [ observe-port-index ] interface interface-type interface-number vlan vlan-id command to configure a single remote observing port.

    vlan vlan-id indicates that a remote observing port sends mirrored packets to the monitoring device through the specified VLAN. Therefore, the remote observing port does not need to be added to the VLAN.

    An observing port is dedicated to forwarding mirrored traffic. Do not configure other services on an observing port; otherwise, mirrored traffic and other service traffic interfere with each other.

  3. Bind a mirrored port to an observing port.

    1. Run the interface interface-type interface-number command to enter the interface view.

    2. Run the port-mirroring to observe-port observe-port-index { both | inbound | outbound } command to bind the mirrored port to a specified observing port.

      • inbound: copies the packets received by a mirrored port to an observing port.

      • outbound: copies the packets sent by a mirrored port to an observing port.

      • both: copies the packets received and sent by a mirrored port to an observing port.

      • Both physical interfaces and Eth-Trunks can be configured as mirrored ports. If an Eth-Trunk is configured as a mirrored port, its member ports cannot be configured as observing ports.

Verifying the Configuration

  • Run the display observe-port command to check the observing port configuration.
  • Run the display port-mirroring command to check the mirroring configuration.

Configuration Tips

Restoring the default configuration of an Ethernet port configured as an observing port

  1. Unbind the mirrored port from the observing port.

    [HUAWEI] interface gigabitethernet x/x/x
    [HUAWEI-GigabitEthernetx/x/x] undo port-mirroring to observe-port x inbound/outbound/both
    [HUAWEI-GigabitEthernetx/x/x] quit
  2. Delete the observing port configuration in the system view.

    [HUAWEI] undo observe-port x
  3. After steps 1 and 2 are complete, the default configuration of the Ethernet port is restored. You can then configure other services on the Ethernet port.

Updated: 2020-01-22

Document ID: EDOC1000178020

Views: 85420

Downloads: 13

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next