H3C S5500-EI series Manual Download Page 5

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

Chapter 1  Port Mirroring Configuration

 

1-4 

 

  Note: 

z

 

A local mirroring group is effective only when it has both source ports and the 

destination port configured.  

z

 

It is not recommended to enable STP, RSTP or MSTP on the destination port; 

otherwise, the mirroring function may be affected. 

z

 

Do not use the destination mirroring port for any purpose other than port mirroring.  

z

 

The source ports and the destination port cannot be the member ports of the current 

mirroring group. 

z

 

Before adding the destination port for a port mirroring group, make sure the port 

mirroring group exists. A mirroring group can have only one destination port. 

 

1.3  Configuring Remote Port Mirroring 

1.3.1  Configuring a Remote Source Mirroring Group 

Follow these 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 

In system 
view 

mirroring-group group-id 
mirroring-port 
mirroring-port-list

 

both 

inbound 

|

 outbound

 }

 

interface

 

interface-type 

interface-number

 

mirroring-group group-id 

]

 

mirroring-port

 { 

both 

|

 inbound

 

outbound

 } 

Add ports 
to the 
mirroring 
group as 
source 
ports 

In 
interface 
view 

quit

 

Use either approach. 

You can add ports to 
a source port 
mirroring group in 
either system view or 
interface view. They 
achieve the same 
purpose. 

In system 
view 

mirroring-group group-id  
monitor-egress 
monitor-egress-port-id

 

interface

 

interface-type 

interface-number

 

mirroring-group group-id 
monitor-egress

 

Add a 
port to 
the 
mirroring 
group as 
the 
outbound 
mirroring 
port  

In 
interface 
view 

quit 

Use either approach. 

You can add ports to 
a source mirroring 
group in either system 
view or interface view. 
They achieve the 
same purpose. 

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: