Remote Port Mirroring Configuration Example - H3C S9500 Series Operation Manual

Port mirroring
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – Port Mirroring
H3C S9500 Series Routing Switches
# Create a local port mirroring group.
[Sysname] mirroring-group 1 local
# Assign port Ethernet 1/1/1 and Ethernet 1/1/2 to the port mirroring group as mirroring
ports. Assign port Ethernet 1/1/3 to the port mirroring group as the monitor port.
[Sysname] mirroring-group 1 mirroring-port ethernet 1/1/1 ethernet 1/1/2 both
[Sysname] mirroring-group 1 monitor-port ethernet 1/1/3
# Display the configuration of all the port mirroring groups.
[Sysname] display mirroring-group all
mirroring-group 1:
type: local
status: active
mirroring port:
monitor port: Ethernet1/1/3
After finishing the configuration, you can monitor all the packets received and sent by
Host A and Host B on the server.

1.5.2 Remote Port Mirroring Configuration Example

I. Network requirements
On a network shown in
Host A is connected to port Ethernet 1/1/1 of Switch A.
Host B is connected to port Ethernet 1/1/2 of Switch A.
Port Ethernet 1/1/3 of Switch A is connected to port Ethernet 1/1/1 of Switch B.
Both ports are trunk ports.
Port Ethernet 1/1/2 of Switch B is connected to port Ethernet 1/1/1 of Switch C.
Both ports are trunk ports.
A server is connected to port Ethernet 1/1/2 of Switch C.
To monitor packets of Host A and Host B on the server, you can configure remote port
mirroring groups on the switches as follows:
On Switch A, create a remote source mirroring group; create VLAN 2 and
configure it as the remote probe VLAN; assign ports Ethernet 1/1/1 and Ethernet
1/1/2 to the port mirroring group as mirroring ports and port Ethernet 1/1/4 as the
reflector port.
Configure port Ethernet 1/1/3 of Switch A, ports Ethernet 1/1/1 and Ethernet 1/1/2
of Switch B, and port Ethernet 1/1/1 of Switch C as trunk ports and configure them
to permit packets of VLAN 2.
Ethernet1/1/1
both
Ethernet1/1/2
both
Figure
Chapter 1 Port Mirroring Configuration
1-5,
1-10

Advertisement

Table of Contents
loading

Table of Contents