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

S1720, S2700, S5700, and S6720 V200R011C10

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, NetStream, sFlow, TWAMP Light, and NETCONF.

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

Example for Configuring Local N:1 Port Mirroring

Networking Requirements

In Figure 9-15, three departments (science and technology departments 1 and 2 and administrative department) of a company access the Internet through the switch. The monitoring device (Server) is directly connected to the switch.

Internet-bound traffic from the three departments needs to be monitored by the server.

Figure 9-15  Local N:1 port mirroring networking

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure GE0/0/4 of the Switch as a local observing port to forward mirrored packets to the Server.
  2. Configure GE0/0/1 through GE0/0/3 of the Switch as mirrored ports to copy Internet-bound traffic from the three departments and send the traffic to the local observing port.

Procedure

  1. Configure an observing port.

    # Configure GE0/0/4 of the Switch as a local observing port.

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

  2. Configure mirrored ports.

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

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

  3. Verify the configuration.

    # Check the observing port configuration.

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

    # Check the mirrored port configuration.

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

Configuration Files

  • Switch configuration file

    #
    sysname Switch
    #
    observe-port 1 interface GigabitEthernet0/0/4
    #
    interface GigabitEthernet0/0/1
     port-mirroring to observe-port 1 inbound
    #
    interface GigabitEthernet0/0/2
     port-mirroring to observe-port 1 inbound
    #
    interface GigabitEthernet0/0/3
     port-mirroring to observe-port 1 inbound
    #
    return
    
Translation
Download
Updated: 2020-02-06

Document ID: EDOC1000178174

Views: 209410

Downloads: 831

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next