No monitor port is configured for a mirroring group.
Predefined user roles
group-id: Specifies the number of a mirroring group, in the range of 1 to 64. The mirroring group
specified by group-id must already exist.
You can configure the monitor port only for a local mirroring group or remote destination group but not
for a remote source group.
Do not assign the monitor port to a source VLAN, or enable the spanning tree feature on the monitor
When a Layer 2 aggregate interface is configured as the monitor port, do not configure its member ports
as source ports or assign them to source VLANs.
Use a monitor port only for port mirroring to make sure 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 a monitor port.
# Create local mirroring group 1 and configure port GigabitEthernet 3/0/1 as its monitor port.
[Sysname] mirroring-group 1 local
[Sysname] interface GigabitEthernet 3/0/1
[Sysname-GigabitEthernet3/0/1] mirroring-group 1 monitor-port
# Create remote destination group 2 and configure port GigabitEthernet 3/0/2 as its monitor port.
[Sysname] mirroring-group 2 remote-destination
[Sysname] interface GigabitEthernet 3/0/2
[Sysname-GigabitEthernet3/0/2] mirroring-group 2 monitor-port
mirroring-group monitor-port (system view)
Use mirroring-group monitor-port to configure a port as the monitor port for a mirroring group.
Use undo mirroring-group monitor-port to remove the monitor port from a mirroring group.
mirroring-group group-id monitor-port interface-type interface-number
undo mirroring-group group-id monitor-port interface-type interface-number