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).
Deleting the Mirroring Configuration

Deleting the Mirroring Configuration

Context

If you want to delete the mirroring configuration and restore observing ports as service ports, perform the following operations.

Before deleting the mirroring configuration, you can run the display port-mirroring command and display current-configuration command to view the mirroring configuration on the device. The following example describes how to delete the mirroring configuration.

Procedure

  • Delete the port mirroring configuration.

    <HUAWEI> system-view
    [HUAWEI] interface gigabitethernet 0/0/2
    [HUAWEI-GigabitEthernet0/0/2] undo port-mirroring to observe-port 1 inbound   // Unbind the mirrored port from the observing port 1.
    [HUAWEI-GigabitEthernet0/0/2] quit
    [HUAWEI] undo observe-port 1   // Delete the observing port.

  • Delete the VLAN mirroring configuration.

    <HUAWEI> system-view
    [HUAWEI] vlan 10
    [HUAWEI-vlan10] undo mirroring to observe-port 1 inbound   // Unbind the VLAN from the observing port 1.
    [HUAWEI-vlan10] quit
    [HUAWEI] undo observe-port 1   // Delete the observing port.

  • Delete the MAC address mirroring configuration.

    <HUAWEI> system-view
    [HUAWEI] vlan 10
    [HUAWEI-vlan10] undo mac-mirroring 1-1-1 to observe-port 1 inbound   // Unbind the MAC address from the observing port 1.
    [HUAWEI-vlan10] quit
    [HUAWEI] undo observe-port 1   // Delete the observing port.

  • Delete the traffic mirroring configuration.

    <HUAWEI> system-view
    [HUAWEI] interface gigabitethernet 0/0/2
    [HUAWEI-GigabitEthernet0/0/2] undo traffic-policy p1 inbound   // Cancel the traffic policy.
    [HUAWEI-GigabitEthernet0/0/2] quit
    [HUAWEI] undo traffic policy p1   // Delete the traffic policy.
    [HUAWEI] undo traffic behavior b1   // Delete the traffic behavior.
    [HUAWEI] undo traffic classifier c1   // Delete the traffic classifier (This operation is optional. If this traffic classifier is being used by another traffic policy, it can be retained.)
    [HUAWEI] undo observe-port 1   // Delete the observing port.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065680

Views: 57229

Downloads: 514

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