H3C S5500-EI series Manual Download Page 10

Operation Manual – Port Mirroring 
H3C S5500-EI Series Ethernet Switches 

Chapter 1  Port Mirroring Configuration

 

1-9 

z

 

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. Configure 

port GigabitEthernet 1/0/3 as the outbound mirroring port. 

z

 

Configure port GigabitEthernet 1/0/3 of Switch A, port GigabitEthernet 1/0/1 and 

GigabitEthernet 1/0/2 of Switch B, and port GigabitEthernet 1/0/1 of Switch C as 

trunk ports and configure them to permit packets of VLAN 2. 

z

 

Create a remote destination mirroring group on Switch C. Configure VLAN 2 as 

the remote port mirroring VLAN and port GigabitEthernet 1/0/2, to which the data 

monitoring device is connected, as the destination port. 

II. Network diagram 

 

Figure 1-4 

Network diagram for remote port mirroring configuration 

III. Configuration procedure 

1) Configure 

Switch 

A (the source device). 

# Create a remote source port mirroring group. 

<SwitchA> system-view 

[SwitchA] mirroring-group 1 remote-source 

# Create VLAN 2. 

[SwitchA] vlan 2 

[SwitchA-vlan2] quit 

# Configure VLAN 2 as the remote port mirroring VLAN of the remote port mirroring 

group. Add port GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the remote port 

mirroring group as source ports. Configure port GigabitEthernet 1/0/3 as the outbound 

mirroring port. 

[SwitchA] mirroring-group 1 remote-probe vlan 2 

[SwitchA] mirroring-group 1 mirroring-port GigabitEthernet 1/0/1 

GigabitEthernet 1/0/2 inbound 

[SwitchA] mirroring-group 1 monitor-egress GigabitEthernet 1/0/3 

Summary of Contents for S5500-EI series

Page 1: ...ng 1 2 1 1 3 Other Functions Supported by Port Mirroring 1 3 1 2 Configuring Local Port Mirroring 1 3 1 3 Configuring Remote Port Mirroring 1 4 1 3 1 Configuring a Remote Source Mirroring Group 1 4 1...

Page 2: ...packets duplicated to the destination mirroring port on these devices so as to monitor and troubleshoot the network Host Data monitoring device Network Source mirroring port Destination mirroring por...

Page 3: ...mirroring group and remote destination port mirroring group Figure 1 2 illustrates a remote port mirroring implementation Figure 1 2 A remote mirroring implementation The devices in Figure 1 2 functio...

Page 4: ...o Use the command Remarks Enter system view system view Create a local mirroring group mirroring group group id local Required In system view mirroring group group id mirroring port mirroring port lis...

Page 5: ...se steps to configure a remote port mirroring group To do Use the command Remarks Enter system view system view Create a remote source mirroring group mirroring group group id remote source Required I...

Page 6: ...the outbound mirroring port otherwise the mirroring function may be affected z Only existing static VLANs can be configured as remote port mirroring VLANs To remove a VLAN operating as a remote port m...

Page 7: ...vlan rprobe vlan id tagged untagged Perform one of these three operations according to the port type Note z The remote destination mirroring port cannot be a member port of the current mirroring group...

Page 8: ...ough GigabitEthernet 1 0 1 z Marketing department is connected to Switch C through GigabitEthernet 1 0 2 z Data monitoring device is connected to Switch C through GigabitEthernet 1 0 3 The administrat...

Page 9: ...rnet1 0 3 After finishing the configuration you can monitor all the packets received and sent by R D department and Marketing department on the Data monitoring device 1 5 2 Remote Port Mirroring Confi...

Page 10: ...the remote port mirroring VLAN and port GigabitEthernet 1 0 2 to which the data monitoring device is connected as the destination port II Network diagram Figure 1 4 Network diagram for remote port mir...

Page 11: ...tchB interface GigabitEthernet 1 0 2 SwitchB GigabitEthernet1 0 2 port link type trunk SwitchB GigabitEthernet1 0 2 port trunk permit vlan 2 3 Configure Switch C the destination device Configure port...

Page 12: ...rroring H3C S5500 EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration 1 11 After finishing the configuration you can monitor all the packets sent by Department 1 and Department 2 on the...

Reviews: