Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Table of Contents Table of Contents Chapter 1 Port Mirroring Configuration ..................1-1 1.1 Introduction to Port Mirroring ..................... 1-1 1.1.1 Classification of Port Mirroring ................1-1 1.1.2 Implementing Port Mirroring..................1-2 1.1.3 Other Functions Supported by Port Mirroring ............
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration Chapter 1 Port Mirroring Configuration When configuring port mirroring, go to these sections for information you are interested Introduction to Port Mirroring Configuring Local Port Mirroring...
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration 1.1.2 Implementing Port Mirroring Port mirroring is implemented through port mirroring groups, which fall into these three categories: local port mirroring group, remote source port mirroring group, and remote destination port mirroring group.
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration Destination device Destination device contains destination mirroring port, and remote destination port mirroring groups are created on destination devices. Upon receiving a mirrored packet, the destination device checks to see if the VLAN ID of the received packet is the same as that of the remote mirroring VLAN of the remote destination port mirroring group.
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration Note: A local mirroring group is effective only when it has both source ports and the destination port configured. It is not recommended to enable STP, RSTP or MSTP on the destination port;...
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration To do… Use the command… Remarks Configure the remote mirroring-group group-id port mirroring VLAN for Required remote-probe vlan the mirroring group rprobe-vlan-id Note: All ports in a remote mirroring group belong to the same device. A remote source mirroring group can have only one outbound mirroring port.
Page 7
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration To do… Use the command… Remarks In system mirroring-group group-id Use either view approach. monitor-port monitor-port-id You can add a Add a port interface interface-type...
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration 1.4 Displaying and Maintaining Port Mirroring To do… Use the command… Remarks display mirroring-group Display the configuration { group-id | all | local | Available in any view...
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration III. Configuration procedure Configure Switch C. # Create a local port mirroring group. <SwitchC> system-view [SwitchC] mirroring-group 1 local # Add port GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the port mirroring group as source ports.
Page 10
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration On Switch A, create a remote source mirroring group; create VLAN 2 and configure it as the remote port mirroring VLAN; add port GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the port mirroring group as two source ports.
Page 11
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration # Configure port GigabitEthernet 1/0/3 as a trunk port and configure the port to permit the packets of VLAN 2. [SwitchA] interface GigabitEthernet 1/0/3 [SwitchA-GigabitEthernet1/0/3] port link-type trunk [SwitchA-GigabitEthernet1/0/3] port trunk permit vlan 2 Configure Switch B (the intermediate device).
Page 12
Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration After finishing the configuration, you can monitor all the packets sent by Department 1 and Department 2 on the Data monitoring device. 1-11...