Configuring Layer 2 Remote Port Mirroring Example - HP 5820X Switch Configuration Manual

Network management and monitoring
Hide thumbs Also See for 5820X Switch:
Table of Contents

Advertisement

Configuration procedure
Create a local mirroring group.
1.
# Create local mirroring group 1.
<DeviceA> system-view
[DeviceA] mirroring-group 1 local
# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as mirroring ports and port
GigabitEthernet 1/0/3 as the monitor port.
[DeviceA] mirroring-group 1 mirroring-port gigabitethernet 1/0/1 gigabitethernet 1/0/2
both
[DeviceA] mirroring-group 1 monitor-port gigabitethernet 1/0/3
# Disable Spanning Tree Protocol (STP) in the monitor port GigabitEthernet1/0/3.
[DeviceA] interface gigabitethernet 1/0/3
[DeviceA-GigabitEthernet1/0/3] undo stp enable
[DeviceA-GigabitEthernet1/0/3] quit
Verify the configurations.
2.
# Display the configuration of all port mirroring groups.
[DeviceA] display mirroring-group all
mirroring-group 1:
type: local
status: active
mirroring port:
GigabitEthernet1/0/1
GigabitEthernet1/0/2
mirroring CPU:
monitor port: GigabitEthernet1/0/3
After the configurations are completed, you can monitor all packets received and sent by the marketing
department and the technical department on the server.

Configuring Layer 2 remote port mirroring example

Network requirements
On the Layer 2 network shown in
Device A connects to the marketing department through GigabitEthernet 1/0/1, and to the trunk
port GigabitEthernet 1/0/1 of Device B through the trunk port GigabitEthernet 1/0/2; Device C
connects to the server through GigabitEthernet 1/0/2, and to the trunk port GigabitEthernet 1/0/2
of Device B through the trunk port GigabitEthernet 1/0/1.
Configure Layer 2 remote port mirroring to enable the server to monitor the bidirectional traffic of
the marketing department.
both
both
Figure
68,
182

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 switch

Table of Contents