Huawei configures switch port image
Set gigabitethernet0/0/24 as the observation port
Gigabitethernet0/0/1 is set to the observed port
Gigabitethernet0/0/2 is set to the port being observed.
System-view
[Quidway] observe-port 1 interface Gigabitethernet 0ram 0Accord 24 is configured as an observation port
[Quidway] interface Gigabitethernet 0/0/1
[Quidway-GigabitEthernet0/0/1] port-mirroring to observe-port 1 inbound is configured as a mirror port
[Quidway] interface Gigabitethernet 0/0/1
[Quidway-GigabitEthernet0/0/1] port-mirroring to observe-port 1 inbound is configured as a mirror port