Deleting the mirroring configuration from an S series switch

For S series switches (except S1700 switches), if you want to delete the mirroring configuration, perform the following operations:
1. 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 GigabitEthernet1/0/1
#
interface Ethernet0/0/0
ip address 192.168.150.3 255.255.255.0
#
interface GigabitEthernet1/0/1
#
interface GigabitEthernet1/0/2
......
#
interface GigabitEthernet2/0/1
port-mirroring to observe-port 2 inbound
#
......
2. Run the undo port-mirroring command in the view of the mirrored port to delete the binding between the observing port and mirrored port, and restore the mirrored port to a common port. For example, restore GE2/0/1 in step 1 to a common port.
[HUAWEI] interface gigabitethernet 2/0/1
[HUAWEI-GigabitEthernet2/0/1] undo port-mirroring to observe-port 2 inbound
[HUAWEI-GigabitEthernet2/0/1] quit
3. Run the undo observe-port command in the system view to delete an observing port. For example, delete the observing port in step 1 and restore GE1/0/1 to a common port.
[HUAWEI] undo observe-port 2You can delete the observing port only after deleting the binding between the observing port and mirrored port.

Scroll to top