How to delete an observing port on S series switches

For S series switches (except S1700 switches), perform the following configurations to delete an observing port:
1. Delete the binding between the observing port and mirrored port.
- Port mirroring
[HUAWEI] interface gigabitethernet x/x/x
[HUAWEI-GigabitEthernetx/x/x] undo port-mirroring to observe-port x inbound/outbound/both
[HUAWEI-GigabitEthernetx/x/x] quit
- MQC-based traffic mirroring
a. Delete the traffic policy applied to the system, a VLAN, or an interface. In the following example, a traffic policy applied to an interface is deleted.
[HUAWEI] interface gigabitethernet x/x/x
[HUAWEI-GigabitEthernetx/x/x] undo traffic-policy inbound/outbound
[HUAWEI-GigabitEthernetx/x/x] quit
b. Delete the traffic policy in the system view.
[HUAWEI] undo traffic policy xxx
c. Delete the traffic behavior containing the traffic mirroring action in the system view.
[HUAWEI] undo traffic behavior xxx
- ACL-based traffic mirroring
Delete ACL-based traffic mirroring configured in the system or interface view. In the following example, ACL-based traffic mirroring is deleted in the system view.
[HUAWEI] interface gigabitethernet x/x/x
[HUAWEI-GigabitEthernetx/x/x] undo traffic-mirror inbound acl xxx
[HUAWEI-GigabitEthernetx/x/x] quit
- VLAN mirroring
[HUAWEI] vlan xxx
[HUAWEI-vlanxxx] undo mirroring inbound
[HUAWEI-vlanxxx] quit
- MAC address mirroring
[HUAWEI] vlan xxx
[HUAWEI-vlanxxx] undo mac-mirroring xxx inbound
[HUAWEI-vlanxxx] quit
2. Delete the observing port configuration in the system view.
[HUAWEI] undo observe-port x

Scroll to top