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

Configuration Guide - Network Management and Monitoring

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, NetStream, sFlow, TWAMP Light, NETCONF, ECA, Intelligent Video O&M, eMDI, and Network Deception.
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:N Port Mirroring (Observing Ports Are Configured One by One)

Example for Configuring Local 1:N Port Mirroring (Observing Ports Are Configured One by One)

Networking Requirements

In Figure 8-13, the R&D department of a company accesses the Internet through the Switch, and monitoring devices Server1, Server2, and Server3 are directly connected to the switch.

Internet-bound traffic from the R&D department needs to be copied and sent to different servers for different monitoring and analysis purposes.

Figure 8-13  Local 1:N port mirroring networking

Configuration Roadmap

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

Procedure

  1. Configure observing ports.

    # Configure GE0/0/2 through GE0/0/4 of the Switch as local observing ports one by one.

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

  2. Configure a mirrored port.

    # Configure GE0/0/1 of the Switch as a mirrored port to copy the packets received by the mirrored port and send them to local observing ports.

    NOTE:

    In 1:N mirroring, the number of observing ports is determined by the mirroring specifications. For details, see 1:N Mirroring Specifications.

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

  3. Verify the configuration.

    # Check the observing port configuration.

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

    # Check the mirrored port configuration.

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

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065680

Views: 51322

Downloads: 488

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