R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

118
Configuring source ports for the remote source group
CAUTION:
A mirroring group can contain multiple source ports.
Do not assign a source port to the remote probe VLAN.
Either you can configure a list of source ports for a mirroring group in system view, or you can assign only
the current port as a source port in interface view. The two configuration modes lead to the same result.
To configure source ports for the remote source group in system view:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure source ports for the
remote source group.
mirroring-group group-id
mirroring-port mirroring-port-list
{ both | inbound | outbound }
By default, no source port is
configured for a remote source
group.
To configure a source port for the remote source group 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 current port as
a source port.
[ mirroring-group group-id ]
mirroring-port { both | inbound |
outbound }
By default, a port does not serve as
a source port for any remote
source group.
Configuring the egress port for the remote source group
Either you can configure the egress port for a mirroring group in system view, or you can assign the
current port to the mirroring group as the egress port in interface view. The two configuration modes lead
to the same result.
When you configure the egress port for the remote source group, follow these guidelines:
Disable these functions on the egress port: the spanning tree feature, 802.1X, IGMP snooping,
static ARP, and MAC address learning.
A mirroring group contains only one egress port.
A port of an existing mirroring group cannot be configured as an egress port.
To configure the egress port for the remote source group in system view:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the egress port for
the remote source group.
mirroring-group group-id
monitor-egress monitor-egress-port
By default, no egress port is
configured for a remote source
group.
To configure the egress port for the remote source group in interface view: