The port-mirroring command configures a mirroring behavior on an interface.
port-mirroring to observe-port index
Parameter
Description
Value
index
Specifies the index of a global observing interface.
The value is integer.
Traffic behavior view
3: Management level
This command is available to aid upgrade compatibility. It can be run when it is entered in full.
# Mirror traffic to observing interface with index 1.
<HUAWEI> system-view
[HUAWEI] traffic behavior b1
[HUAWEI-traffic-behavior-b1] port-mirroring to observe-port 1