R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference
232
In interface view:
mirroring-group group-id monitor-egress
undo mirroring-group group-id monitor-egress
Default
No egress port is configured for a mirroring group.
Views
System view, interface view
Predefined user roles
network-admin
mdc-admin
Parameters
group-id: Specifies the number of a mirroring group, 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 correctly, disable the following functions on the egress port: the
spanning tree feature, 802.1X, 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.










