Do I need to add observing ports and mirrored ports on S series switches to the same VLAN when configuring mirroring

1

For S series switches, you do not need to add observing ports and mirrored ports to the same VLAN when configuring port mirroring. In addition, the observe-port command has been executed to enable forwarding of mirrored packets to local or remote observing ports. Therefore, you do not need to add the observing ports to a VLAN.

Other related questions:
Whether the observing port and the mirroring port of the S-series switch need to be added to the same VLAN
For S-series switches, mirroring ports and observing ports do not need to be added to the same VLAN when configuring port mirroring. You can run command observe-port to forward mirrored traffic to the local or remote, do not need to add observe the port the VLAN.

Do observing ports and mirrored ports on S series switches need to have the same bandwidth
For S series switches, if a mirrored port and an observing port provide different bandwidth, for example, 1000 Mbit/s on the mirrored port and 100 Mbit/s on the observing port, the observing port may fail to forward all mirrored packets in a timely manner because of insufficient bandwidth, leading to packet loss. Therefore, ensure that the bandwidth of an observing port is larger than that of a mirrored port. The bandwidth of an observing port can also be the total bandwidth of multiple observing ports in 1: N mirroring. For details, see Mirroring �?an Effective Network Monitoring Tool (Specifications).

Can an interface be configured as a mirrored port and an observing port at the same time
An interface cannot be configured as a mirroring port and an observing port at the same time. This is because the mirroring port and the observing port are exclusive.

Configure local port mirroring on S series switch
For S series switches (except S1700 switches), to copy inbound packets (received packets) on port GE2/0/1 to the observing port GE1/0/1, configure local port mirroring as follows: [HUAWEI] observe-port 1 interface gigabitethernet 1/0/1 [HUAWEI] interface gigabitethernet 2/0/1 [HUAWEI-GigabitEthernet2/0/1] port-mirroring to observe-port 1 inbound To configure remote port mirroring, see【Configure remote port mirroring on S series switch】Configure remote port mirroring on S series switch.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top