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.


CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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).


This section describes the mirroring implementation principles.


  • Mirrored port

    All the packets or packets matching the traffic classification rule passing through a mirrored port are copied to an observing port.

  • Observing port

    An observing port is connected to a monitoring device and is used to export the packets copied from a mirrored port.

Port Mirroring

A packet passing through a mirrored port is copied and then sent to a specified observing port for analysis and monitoring, as shown in Figure 14-40.

Figure 14-40 Networking diagram of port mirroring

Port mirroring can be performed as follows:
  • Inbound: mirroring the packets that are received by the mirrored port.

  • Outbound: mirroring the packets that are sent by the mirrored port.

  • Bidirectional: mirroring the packets that are received and sent by the mirrored port.

Port mirroring is classified into local port mirroring and remote port mirroring:
  • In local port mirroring, a monitoring device is directly connected to an observing port, as shown in Figure 14-41.

    Figure 14-41 Networking diagram of local port mirroring
  • In remote port mirroring, the monitoring device and the observing port are connected through a Layer 2 or Layer 3 network.

    • Remote switched port analyzer (RSPAN): The device encapsulates packets passing through mirrored ports into VLAN packets, and the observing port broadcasts the VLAN packets in the RSPAN VLAN to forward packets to the monitoring device, as shown in Figure 14-42.

      Figure 14-42 Networking diagram of Layer 2 RSPAN
    • Encapsulated Remote SPAN (ERSPAN): The device encapsulates mirrored packets passing through mirrored ports into Generic Routing Encapsulation (GRE) packets and forwards the GRE packets to the monitoring device through a Layer 3 IP network, as shown in Figure 14-43.

      Figure 14-43 Networking diagram of Layer 3 ERSPAN

Traffic Mirroring

Traffic mirroring is used to copy specified packets passing through a mirrored port to the observing port for analysis and monitoring. In traffic mirroring, traffic policies containing the traffic behavior are applied to mirrored ports. If packets passing through a mirrored port match the traffic classification rule, the packets are copied to the observing port, as shown in Figure 14-44.

Figure 14-44 Schematic diagram of traffic mirroring

Similar to port mirroring, traffic mirroring is also classified into local traffic mirroring and remote traffic mirroring.

Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59203

Downloads: 3623

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