R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)
168
Configuring the monitor port for the local mirroring group
CAUTION:
Do not enable the spanning tree feature on the monitor port.
Either you can configure the monitor port for a mirroring group in system view, or you can assign the
current port to a mirroring group as the monitor port in interface view. The two methods lead to the same
result.
Configuration restrictions and guidelines
When you configure the monitor port for a local mirroring group, follow these restrictions and guidelines:
• A mirroring group contains only one monitor port.
• HP recommends that you use a monitor port for port mirroring only. This is to make sure that the
data monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored
traffic and other traffic.
• For Layer 3 port mirroring, the device can only mirror information about Layer 3 and upper layers
of packets but cannot mirror Layer 2 information, with the source MAC address as local device
MAC address, and the destination MAC address 00-0F-E2-41-5E-5B.
Configuring the monitor port
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the monitor port.
• (Method 1) In system view:
mirroring-group group-id
monitor-port monitor-port-id
• (Method 2) In interface view:
a. interface interface-type
interface-number
b. [ mirroring-group
group-id ] monitor-port
Use either method.
By default, no monitor port is
configured for a local mirroring
group.
By default, a port is not the monitor
port of any local mirroring group.
Configuring local port mirroring by using the mirror command
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Mirror the traffic on the
interface to another local
interface.
mirror number number { all | in | out } to
local-interface interface-type
interface-number [ mac H-H-H ]
By default, the traffic on
an interface is not
mirrored.










