R21xx-HP FlexFabric 11900 Network Management and Monitoring Configuration Guide

121
Do not assign the monitor port to a source VLAN, or enable the spanning tree feature on the
monitor port.
HP recommends that you use a monitor port only for port mirroring. This is to make sure the data
monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored
traffic and normally forwarded traffic.
Configuration procedure
To configure the monitor port in system view:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the monitor port for
the specified local mirroring
group.
mirroring-group group-id
monitor-port interface-type
interface-number
By default, no monitor port is
configured for a local mirroring
group.
To configure the monitor port in interface view:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure the port as the
monitor port for the specified
local mirroring group.
mirroring-group group-id
monitor-port
By default, a port does not serve as
the monitor port for any local
mirroring group.
Displaying and maintaining port mirroring
Execute display commands in any view.
Task Command
Display mirroring group information.
display mirroring-group { group-id | all | local |
remote-destination | remote-source }
Local port mirroring configuration example (in
source port mode)
Network requirements
As shown in Figure 39, 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.