123Examples# Create remote source group 1, and configure port Ten-GigabitEthernet 1/0/1 as its egress port insystem view. 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 ininterface view. system-view[Sysname] mirroring-group 2 remote-source[Sysname] interface ten-gigabitethernet 1/0/2[Sysname-Ten-GigabitEthernet1/0/2] mirroring-group 2 monitor-egressRelated commandsmirroring-groupmirroring-group monitor-port (interface view)Use the mirroring-group monitor-port command to configure the port as the monitor port for a mirroringgroup.Use the undo mirroring-group monitor-port command to remove the monitor port of a mirroring group.Syntaxmirroring-group group-id monitor-portundo mirroring-group group-id monitor-portDefaultNo monitor port is configured for a mirroring group.ViewsInterface viewPredefined user rolesnetwork-adminParametersgroup-id: Number of the mirroring group. The mirroring group specified by group-id must already exist.The value ranges from 1 to 4.Usage guidelinesYou can configure the monitor port only for a local mirroring group or remote destination group but notfor a remote source group.Do not enable the spanning tree feature on the monitor port.When a Layer 2 aggregate interface is configured as the monitor port, do not configure its member portsas source ports.Use a monitor port only for port mirroring to make sure that the data monitoring device receives andanalyzes only the mirrored traffic rather than a mix of mirrored traffic and normally forwarded traffic.Do not configure a port of an existing mirroring group as a monitor port.