Delete an observing port from an AR

24

You can run the undo mirror to observe-port { both | inbound | outbound } command to delete the configuration of port mirroring, and run the undo observe-port interface interface-type interface-number command to delete the observing port.

Other related questions:
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

Can packets on multiple interfaces be mirrored to one observing port on AR routers and how many interfaces can be mirrored
Multiple interfaces can be mirrored to one observing port on AR routers. There is no limit for the number of interfaces that can be mirrored to one observing port. You need to consider whether actual traffic of the observing port is larger than its forwarding capacity, that is, whether the actual traffic is larger than the maximum bandwidth of the observing port.

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.

Observing port configuration on S series switch
A physical port must be configured as an observing port before the mirroring function is configured. For S series switches (except S1700 switches), you can configure a single observing port or multiple observing ports in a batch. If multiple observing ports are configured in a batch, they are considered an observing port group. The group is bound to a mirrored port when the port is configured. Therefore, batch configuration is often used to simplify the configuration of 1:N mirroring. - Configure a single observing port. Configure a local observing port, which is directly connected to the monitoring device. [HUAWEI] observe-port 1 interface gigabitethernet 1/0/1 Configure a Layer 2 remote observing port, which forwards mirrored packets to the monitoring device across a Layer 2 network. [HUAWEI] observe-port 1 interface gigabitethernet 1/0/1 vlan 10 Configure a Layer 3 remote observing port, which forwards mirrored packets to the monitoring device across a Layer 3 network (supported only by S series modular switches). [HUAWEI] observe-port 1 interface gigabitethernet 1/0/1 destination-ip 10.1.1.1 source-ip 10.2.2.2 - Configure observing ports in a batch (supported by switches running V200R005 or a later version). Configure local observing ports in a batch, which are directly connected to the monitoring device. [HUAWEI] observe-port 1 interface-range gigabitethernet 1/0/1 to gigabitEthernet 1/0/3 Configure Layer 2 remote observing ports in a batch, which forward mirrored packets to the monitoring device across a Layer 2 network. [HUAWEI] observe-port 1 interface-range gigabitethernet 1/0/1 to gigabitEthernet 1/0/3 vlan 10 Layer 3 remote observing ports cannot be configured in a batch.

How to delete SNMP configuration on an AR router
Run an undo command corresponding to the SNMP feature to delete SNMP configuration from an AR router.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top