R211x-HP Flexfabric 11900 Network Management and Monitoring Configuration Guide

166
Ten-GigabitEthernet1/0/1 Both
Ten-GigabitEthernet1/0/2 Both
Monitor port: Ten-GigabitEthernet1/0/3
Local port mirroring configuration example (in source CPU
mode)
Network requirements
As shown in Figure 57, Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 are located on the
card in slot 1.
Configure local port mirroring in source CPU mode to enable the server to monitor all packets received
and sent by the marketing department and the technical department and processed by the CPU of the
card in slot 1 of the device.
Figure 57 Network diagram
Configuration procedure
# Create local mirroring group 1.
<Device> system-view
[Device] mirroring-group 1 local
# Configure the CPU of the card in slot 1 of Device A as a source CPU and Ten-GigabitEthernet 1/0/3
as the monitor port for local mirroring group 1.
[Device] mirroring-group 1 mirroring-cpu slot 1 both
[Device] mirroring-group 1 monitor-port ten-gigabitethernet 1/0/3
# Disable the spanning tree feature on the monitor port Ten-GigabitEthernet 1/0/3.
[Device] interface ten-gigabitethernet 1/0/3
[Device-Ten-GigabitEthernet1/0/3] undo stp enable
[Device-Ten-GigabitEthernet1/0/3] quit
Verifying the configuration
# Display information about all mirroring groups.
[Device] display mirroring-group all
Device
XGE10/1
XGE1/0/2
XGE1/0/3
Server
Marketing Dept.
Technical Dept.
Source port
Monitor port