Got it

Common Mirroring Operations : Configuring Port Mirroring

Latest reply: Apr 26, 2016 01:40:54 2300 1 0 0

Hi, everyone! Today I’m going to introduce common mirroring operations: configuring port mirroring.

Configuring 1:1 Port Mirroring

You can copy packets on a mirrored port to an observing port. For example, copy incoming packets (received packets) on mirrored port GE0/0/2 to observing port GE0/0/1. GE0/0/1 is directly connected to a monitoring device.

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

Configuring 1:N Port Mirroring

You can copy packets on one mirrored port to N observing ports. For example, copy incoming packets (received packets) on mirrored port GE2/0/1 to observing ports GE1/0/1 through GE1/0/3. These observing ports are directly connected to monitoring devices.

  • Configure observing ports one by one.

    <HUAWEI> system-view[HUAWEI] observe-port 1 interface gigabitethernet 1/0/1[HUAWEI] observe-port 2 interface gigabitethernet 1/0/2[HUAWEI] observe-port 3 interface gigabitethernet 1/0/3[HUAWEI] interface gigabitethernet 2/0/1[HUAWEI-GigabitEthernet2/0/1] port-mirroring to observe-port 1 inbound[HUAWEI-GigabitEthernet2/0/1] port-mirroring to observe-port 2 inbound[HUAWEI-GigabitEthernet2/0/1] port-mirroring to observe-port 3 inbound

     

  • Configure observing ports in a batch (only in V200R005 and later versions).

    <HUAWEI> system-view[HUAWEI] observe-port 1 interface-range gigabitethernet 1/0/1 to gigabitEthernet 1/0/3[HUAWEI] interface gigabitethernet 2/0/1[HUAWEI-GigabitEthernet2/0/1] port-mirroring to observe-port 1 inbound

     

Configuring N:1 Port Mirroring

You can copy packets on N mirrored ports to one observing port. For example, copy incoming packets (received packets) on mirrored ports GE0/0/1 through GE0/0/3 to observing port GE0/0/10. GE0/0/10 is directly connected to a monitoring device.

<HUAWEI> system-view[HUAWEI] observe-port 1 interface gigabitethernet 0/0/10[HUAWEI] interface gigabitethernet 0/0/1[HUAWEI-GigabitEthernet0/0/1] port-mirroring to observe-port 1 inbound[HUAWEI-GigabitEthernet0/0/1] quit[HUAWEI] interface gigabitethernet 0/0/2[HUAWEI-GigabitEthernet0/0/2] port-mirroring to observe-port 1 inbound[HUAWEI-GigabitEthernet0/0/2] quit[HUAWEI] interface gigabitethernet 0/0/3[HUAWEI-GigabitEthernet0/0/3] port-mirroring to observe-port 1 inbound[HUAWEI-GigabitEthernet0/0/3] quit

 

 

 



More Information: S Series Switches Common Operation Guide

If you have any problems, please post them in our Community. We are happy to solve them for you!
  • x
  • convention:

user_1763575
Created Apr 26, 2016 01:40:54 Helpful(0) Helpful(0)

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 " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
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.