EasyManua.ls Logo

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

HP 5820X Switch
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
182
Configuration procedure
1. Create a local mirroring group.
# 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
2. Verify the configurations.
# 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 both
GigabitEthernet1/0/2 both
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 Figure 68,
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.

Table of Contents

Related product manuals