1-6Configuring 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 modes lead to 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 mirroringgroup.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 asthe monitor port[ mirroring-group group-id ]monitor-portRequiredBy default, a port does notserve as the monitor port forany mirroring 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 You are recommended to use a monitor port only for port mirroring. This is to ensure that the datamonitoring device receives and analyzes only the mirrored traffic rather than a mix of mirroredtraffic and normally forwarded traffic.z A port connected to an RRPP ring cannot be configured as the monitor port of a port mirroringgroup.