If you want to delete the mirroring configuration after using the mirroring function, you can perform the following operations:
-
Run the display current-configuration command to check the current mirroring configuration. For example, you can view the following mirroring configuration.
<HUAWEI> display current-configuration # vlan batch 10 20 30 # observe-port 2 interface GigabitEthernet0/0/1 ... ... # interface GigabitEthernet0/0/1 # interface GigabitEthernet0/0/2 ... ... # interface GigabitEthernet0/0/10 port-mirroring to observe-port 2 inbound # ... ...
-
Run the undo port-mirroring command on the mirrored port to delete the binding between the observing port and mirrored port and restore the mirrored port as a common port. For example, restore GE0/0/10 in step 1 to a common port.
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/10 [HUAWEI-GigabitEthernet0/0/10] undo port-mirroring to observe-port 2 inbound [HUAWEI-GigabitEthernet0/0/10] quit
-
Run the undo observe-port command in the system view to delete the observing port. For example, delete the observing port in step 1 and restore GE0/0/1 to a common port.
[HUAWEI] undo observe-port 2
You can delete the observing port only after deleting the binding between the observing port and mirrored port.
More Information: S Series Switches Common Operation Guide