1-13Generally, a port can belong to only one mirroring group. On an SD or EB series LPU, however, a portcan be assigned to two mirroring groups as a mirroring port.Configuration PrerequisitesBefore configuring Layer 3 remote port mirroring, make sure that you have created a GRE tunnel thatconnects the source and destination devices.Configuring Local Mirroring GroupsConfigure a local mirroring group on the source device and on the destination device separately.Follow these steps to create a local mirroring group (on the source or destination device):To do… Use the command… RemarksEnter system view system-view —Create a local mirroring group mirroring-group group-idlocalRequiredBy default, no mirroring groupexists on a device.Configuring Mirroring Ports for a Local Mirroring GroupOn the source device, configure the ports you want to monitor as the mirroring ports; on the destinationdevice, configure the physical port corresponding to the tunnel interface as the mirroring port.You can configure a list of mirroring ports for a mirroring group at a time in system view, or assign onlythe current port to it as a mirroring port in interface view. To assign multiple ports to the mirroring groupas mirroring ports in interface view, repeat the step.Configuring mirroring ports in system viewFollow these steps to configure mirroring ports for a local mirroring group in system view:To do… Use the command… RemarksEnter system view system-view —Configure mirroring ports for alocal mirroring groupmirroring-group group-idmirroring-portmirroring-port-list { both |inbound | outbound }RequiredBy default, no mirroring port isconfigured for a mirroringgroup.Configuring a mirroring port in interface viewFollow these steps to configure a mirroring port for a local mirroring group in interface view:To do… Use the command… RemarksEnter system view system-view —