Port Mirroring Configuration Examples; Local Port Mirroring Configuration Example - H3C S3100V2-52TP Configuration Manual

Network management and monitoring
Hide thumbs Also See for S3100V2-52TP:
Table of Contents

Advertisement

Port mirroring configuration examples

Local port mirroring configuration example

Network requirements
On the network shown in
Device A connects to the marketing department through Ethernet 1/0/1 and to the technical
department through Ethernet 1/0/2. It connects to the server through Ethernet 1/0/3.
Configure local port mirroring in source port mode to enable the server to monitor the bidirectional
traffic of the marketing department and the technical department.
Figure 35 Network diagram
Configuration procedure
Create a local mirroring group.
1.
# Create local mirroring group 1.
<DeviceA> system-view
[DeviceA] mirroring-group 1 local
# Configure Ethernet 1/0/1 and Ethernet 1/0/2 as source ports and port Ethernet 1/0/3 as the
monitor port.
[DeviceA] mirroring-group 1 mirroring-port Ethernet 1/0/1 Ethernet 1/0/2 both
[DeviceA] mirroring-group 1 monitor-port Ethernet 1/0/3
# Disable the spanning tree feature on the monitor port Ethernet 1/0/3.
[DeviceA] interface Ethernet 1/0/3
[DeviceA-Ethernet1/0/3] undo stp enable
[DeviceA-Ethernet1/0/3] quit
Verify the configurations.
2.
# Display the configuration of all mirroring groups.
[DeviceA] display mirroring-group all
mirroring-group 1:
type: local
Figure
35:
100

Advertisement

Table of Contents
loading

Table of Contents