Configuring port mirroring on the USG2000&5000&6000 series

Note:
Enabling port mirroring helps locate network faults. However, this function compromises device performance. Exercise caution when you use this function.
Disable port mirroring immediately after fault location.
Different transmission rates cause failure to completely receive all mirroring packets. To avoid this problem, ensure that the transmission rates of the observing port and the mirroring port are the same.

Operation steps
1. Run the system-view command to access the system view.
2. Run the observing-port observing-port command to configure the observing port.
The observing port is a non-service port and transmits service packets mirrored to this port. You can observe packets passing through the corresponding mirroring port through the observing port.
3. Run the port-mirroring mirroring-port { both | inbound | outbound } observing-port [ acl-number acl-number ] command to enable port mirroring.
Specify the mirroring port as a service port for sending and receiving service packets. Before you enable port mirroring, ensure that the observing port has been configured using the observing-port command.

Scroll to top