Got it

Configuring port mirroring and observing ports

Latest reply: Sep 6, 2018 09:44:00 4709 5 0 0 0

Hi there, Community!


This post emphasizes the process of configuring port mirroring and observing ports. Please kindly refer to the link below:


http://support.huawei.com/hedex/ ... ocid=EDOC1000081667.

PROCEDURE


1. Configuring an observing port


# Configure GE0/0/2 on the switch as the local observing port.


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


2. Configuring a mirrored port

# Configure GE0/0/1, GE0/0/3 TO xGE4/0/4  on the switch as the mirrored port and configure GE0/0/1 to copy the received packets to the local observing port.

[HUAWEI] interface gigabitethernet 0/0/1

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range gigabitethernet 0/0/3 to gigabitethernet 0/0/24

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range gigabitethernet 1/0/1 to gigabitethernet 1/0/24

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range gigabitethernet 2/0/1 to gigabitethernet 2/0/48

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range gigabitethernet 3/0/1 to gigabitethernet 3/0/48

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range gigabitethernet 4/0/1 to gigabitethernet 4/0/48

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range xgigabitethernet 0/0/1 to gigabitethernet 0/0/4

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range xgigabitethernet 1/0/1 to gigabitethernet 1/0/4

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range xgigabitethernet 2/0/1 to gigabitethernet 2/0/4

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range xgigabitethernet 3/0/1 to gigabitethernet 3/0/4

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

[HUAWEI] interface range xgigabitethernet 4/0/1 to gigabitethernet 4/0/4

[HUAWEI] port-mirroring to observe-port 1 inbound

[HUAWEI] return

3. Verifying the configuration

# Check the configuration of the observing port.


<Switch> display observe-port 

Index          : 1  
Untag-packet   : No  
Interface      : GigabitEthernet0/0/2

# Check the configuration of the mirrored port.


<Switch> display port-mirroring  
Observe-port 1 : GigabitEthernet0/0/2 

Port-mirror:  Mirror-port Direction  Observe-port


This would be all on the process of configuring port mirroring and observing ports. Thanks for reading this post!

  • x
  • convention:

hi , i want to know if we needed clear all configuration on the observe-port ? if no , what's effect for capture packet and customer network ?
View more
  • x
  • convention:

Posted by Skay at 2018-07-02 08:10 hi , i want to know if we needed clear all configuration on the observe-port ? if no , what's effect ...
An observing port is dedicated to forwarding mirrored traffic. Do not configure other services on an observing port; otherwise, mirrored traffic and other service traffic interfere with each other.
View more
  • x
  • convention:

Posted by Barret at 2018-06-30 03:18 when you configure port mirror, please check the "Feature Dependencies and Limitations" of port mirr ...
Okay. Thank you.
View more
  • x
  • convention:

I get,thank you.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.