R21xx-HP FlexFabric 11900 Network Management and Monitoring Command Reference

188
Parameters
group-id: Specifies the mirroring group ID in the range of 1 to 4. The mirroring group specified by
group-id must already exist.
interface-type interface-number: Specifies a port to be configured as the egress port by its type and
number.
Usage guidelines
You can configure an egress port only for a remote source group, but not for a local mirroring group or
remote destination group.
To make sure port mirroring works properly, disable the following functions on the egress port: the
spanning tree feature, IGMP snooping, static ARP, and MAC address learning.
Do not configure a port of an existing mirroring group as an egress port.
Examples
# Create remote source group 1, and configure port Ten-GigabitEthernet 1/0/1 as its egress port in
system view.
<Sysname> system-view
[Sysname] mirroring-group 1 remote-source
[Sysname] mirroring-group 1 monitor-egress ten-gigabitethernet 1/0/1
# Create remote source group 2, and configure port Ten-GigabitEthernet 1/0/2 as its egress port in
interface view.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-source
[Sysname] interface ten-gigabitethernet 1/0/2
[Sysname-Ten-GigabitEthernet1/0/2] mirroring-group 2 monitor-egress
Related commands
mirroring-group
mirroring-group monitor-port (interface view)
Use mirroring-group monitor-port to configure the port as the monitor port for a mirroring group.
Use undo mirroring-group monitor-port to remove the monitor port of a mirroring group.
Syntax
mirroring-group group-id monitor-port
undo mirroring-group group-id monitor-port
Default
No monitor port is configured for a mirroring group.
Views
Interface view
Predefined user roles
network-admin