R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference

234
Default
No monitor port is configured for a mirroring group.
Views
System 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 monitor port by its type and
number.
Usage guidelines
You can configure a monitor port only for a local mirroring group or remote destination group, but not
for a remote source group.
Use a monitor port only for port mirroring to make sure that the data monitoring device receives and
analyzes only the mirrored traffic rather than a mix of mirrored traffic and correctly forwarded traffic.
Do not configure a port of an existing mirroring group as the monitor port.
Examples
# Create local mirroring group 1, and configure port Ten-GigabitEthernet 1/0/1 as its monitor port.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 monitor-port ten-gigabitethernet 1/0/1
# Create remote destination group 2, and configure port Ten-GigabitEthernet 1/0/2 as its monitor port.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-destination
[Sysname] mirroring-group 2 monitor-port ten-gigabitethernet 1/0/2
Related commands
mirroring-group
mirroring-group reflector-port
Use mirroring-group reflector-port to configure the reflector port for a remote source group.
Use undo mirroring-group reflector-port to remove the reflector port of a remote source group.
Syntax
In system view:
mirroring-group group-id reflector-port interface-type interface-number
undo mirroring-group group-id reflector-port interface-type interface-number
In interface view:
mirroring-group group-id reflector-port