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 M:N Port Mirroring

Example for Configuring Local M:N Port Mirroring

Networking Requirements

In Figure 8-14, three departments (R&D departments 1 and 2 and marketing department) of a company access the Internet through the switch, and monitoring devices Server1 and Server2 are directly connected to the switch.

Internet-bound traffic from the three departments needs to be copied and sent to different servers for different monitoring and analysis purposes.

Figure 8-14  Local M:N port mirroring networking

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure GE1/0/4 and GE1/0/5 of the Switch as local observing ports to forward mirrored packets to different servers.
  2. Configure GE1/0/1 through GE1/0/3 of the Switch as mirrored ports to copy the traffic passing through the mirrored ports and send the traffic to different local observing ports.

Procedure

  1. Configure observing ports.

    # Configure GE1/0/4 and GE1/0/5 of the Switch as local observing ports in a batch.

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

  2. Configure mirrored ports.

    # Configure GE1/0/1 through GE1/0/3 of the Switch as mirrored ports to copy the packets received by the mirrored ports and send them to different local observing ports.

    NOTE:

    In M:N mirroring, the number of observing ports is determined by the mirroring specifications.

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

  3. Verify the configuration.

    # Check the observing port configuration.

    <Switch> display observe-port
      ----------------------------------------------------------------------
      Index          : 1
      Untag-packet   : No
      Interface-range: GigabitEthernet1/0/4 to GigabitEthernet1/0/5
      ----------------------------------------------------------------------
    

    # Check the mirrored port configuration.

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

Configuration Files

  • Switch configuration file

    #
    sysname Switch
    #
    observe-port 1 interface-range GigabitEthernet1/0/4 to GigabitEthernet1/0/5
    #
    interface GigabitEthernet1/0/1
     port-mirroring to observe-port 1 inbound
    #
    interface GigabitEthernet1/0/2
     port-mirroring to observe-port 1 inbound
    #
    interface GigabitEthernet1/0/3
     port-mirroring to observe-port 1 inbound
    #
    return
    
Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178113

Views: 141204

Downloads: 55

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