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

Reminder

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

upgrade

S12700 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 and RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, Traffic Distribution, NetStream, sFlow, and TWAMP Light.
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 1:1 Port Mirroring

Example for Configuring Local 1:1 Port Mirroring

Networking Requirements

In Figure 8-10, the administrative department of a company communicates with the Internet through the switch, and the server (monitoring device) is directly connected to the switch.

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

Figure 8-10  Networking of local 1:1 port mirroring

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure GE1/0/2 as the local observing port to forward mirrored packets to the server.
  2. Configure GE1/0/1 as the mirrored port to copy Internet-bound traffic from the administrative department and send the traffic to the local observing port.

Procedure

  1. Configure an observing port.

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

    <HUAWEI> system-view
    [HUAWEI] sysname Switch
    [Switch] observe-port 1 interface gigabitethernet 1/0/2
    

  2. Configure a mirrored port.

    # Configure GE1/0/1 on the switch as the mirrored port and configure GE1/0/1 to copy received packets to the local observing port.

    [Switch] interface gigabitethernet 1/0/1
    [Switch-GigabitEthernet1/0/1] port-mirroring to observe-port 1 inbound
    [Switch-GigabitEthernet1/0/1] return
    

  3. Verify the configuration.

    # Check the configuration of the observing port.

    <Switch> display observe-port
      ----------------------------------------------------------------------
      Index          : 1
      Untag-packet   : No
      Interface      : GigabitEthernet1/0/2
      ----------------------------------------------------------------------
    

    # Check the configuration of the mirrored port.

    <Switch> display port-mirroring
      ----------------------------------------------------------------------
      Observe-port 1 : GigabitEthernet1/0/2
      ----------------------------------------------------------------------
      Port-mirror:
      ----------------------------------------------------------------------
           Mirror-port               Direction  Observe-port
      ----------------------------------------------------------------------
      1    GigabitEthernet1/0/1      Inbound    Observe-port 1
      ----------------------------------------------------------------------
    

Configuration Files

  • Switch configuration file

    #
    sysname Switch
    #
    observe-port 1 interface GigabitEthernet1/0/2
    #
    interface GigabitEthernet1/0/1
     port-mirroring to observe-port 1 inbound
    #
    return
    

Related Content

Videos

How to Configure Port Mirroring

Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178113

Views: 136714

Downloads: 53

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