11-7Configuring the Monitor Port for the Local Mirroring GroupYou can configure the monitor port for a mirroring group in system view, or assign the current port to amirroring group as the monitor port in interface view. The two methods produce the same result.Configuring the monitor port in system viewFollow these steps to configure the monitor port of a local mirroring group in system view:To do… Use the command… RemarksEnter system view system-view —Configure the monitor port mirroring-group group-idmonitor-port monitor-port-idRequiredBy default, no monitor port isconfigured for a mirroring group.Configuring the monitor port in interface viewFollow these steps to configure the monitor port of a local mirroring group in interface view:To do… Use the command… RemarksEnter system view system-view —Enter interface view interface interface-typeinterface-number —Configure the current port as themonitor port[ mirroring-group group-id ]monitor-portRequiredBy default, a port does not serveas the monitor port for anymirroring group.z A mirroring group contains only one monitor port.z To ensure that the port mirroring function works properly, do not enable STP, MSTP, or RSTP onthe monitor port.z It is recommended that you use a monitor port only for port mirroring. This is to ensure that thedata monitoring device receives and analyzes only the mirrored traffic rather than a mix ofmirrored traffic and normally forwarded traffic.z A port connected to an RRPP ring cannot be configured as the monitor port of a port mirroringgroup.