Remote Port Mirroring Configuration Example - H3C S5500-EI Series Manual

Hide thumbs Also See for S5500-EI Series:
Table of Contents

Advertisement

Operation Manual – Port Mirroring
H3C S5500-EI Series Ethernet Switches
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. Add port GigabitEthernet 1/0/3 to the port mirroring group as the
destination port.
[SwitchC]
GigabitEthernet 1/0/2 both
[SwitchC] mirroring-group 1 monitor-port GigabitEthernet 1/0/3
# Display the configuration of all the port mirroring groups.
[SwitchC] display mirroring-group all
mirroring-group 1:
type: local
status: active
mirroring port:
monitor port: GigabitEthernet1/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 Configuration Example

I. Network requirements
The departments of a company connect to each other through Ethernet switches:
Department 1 is connected to GigabitEthernet 1/0/1 of Switch A.
Department 2 is connected to GigabitEthernet 1/0/2 of Switch A.
GigabitEthernet 1/0/3 of Switch A connects to GigabitEthernet 1/0/1 of Switch B.
GigabitEthernet 1/0/2 of Switch B connects to GigabitEthernet 1/0/1 of Switch C.
The data monitoring device is connected to GigabitEthernet 1/0/2 of Switch C.
The administrator wants to monitor the packets sent from Department 1 and 2 through
the data monitoring device.
Use the remote port mirroring function to meet the requirement. Perform the following
configurations:
Use Switch A as the source device, Switch B as the intermediate device, and
Switch C as the destination device.
mirroring-group
GigabitEthernet1/0/1
GigabitEthernet1/0/2
Chapter 1 Port Mirroring Configuration
1
mirroring-port
both
both
1-8
GigabitEthernet
1/0/1

Advertisement

Table of Contents
loading

Table of Contents