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

Command Reference

AR500, AR510, and AR530 V200R007

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
mirror (traffic behavior view)

mirror (traffic behavior view)

Function

The mirror command used in the traffic behavior view enables traffic mirroring to mirror packets matching certain rules to the observing port.

The undo mirror command disables traffic mirroring.

By default, traffic mirroring is disabled.

Format

mirror to observe-port

undo mirror

Parameters

Parameter

Description

Value

observe-port

Indicates the observing port used for traffic mirroring.

-

Views

Traffic behavior view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Traffic mirroring includes local traffic mirroring and remote traffic mirroring.

After a traffic policy containing a traffic behavior is configured on a port, the device mirrors the packets that match the traffic policy to the local observing port or remote observing server. The local observing port must be a LAN-side port.

In remote traffic mirroring, mirrored packets are transmitted to the observing server through a Layer 3 network.

Prerequisites

  • A traffic behavior has been created using the traffic behavior command.

  • In local traffic mirroring, the local observing port has been configured using the observe-port command.

Follow-up Procedure

Create a traffic classifier and a traffic policy, bind the traffic classifier and traffic behavior to the traffic policy, and apply the traffic policy to the mirrored port.

Precautions

  • An observing port or server can be applied to port mirroring and traffic mirroring simultaneously. However, you cannot identify the source of mirrored packets by using the display interface command.

  • Traffic mirroring does not affect system security but affects system performance. To ensure system performance, disable traffic mirroring when you do not need to monitor traffic.

Example

# Mirror the packets matching certain rules to the observing port.

<Huawei> system-view
[Huawei] traffic behavior tb1
[Huawei-behavior-tb1] mirror to observe-port
Translation
Download
Updated: 2019-02-18

Document ID: EDOC1000097293

Views: 35972

Downloads: 101

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