11-18To do… Use the command… RemarksConfigure 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 can work properly, do not enable STP, MSTP, or RSTPon the 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.Displaying and Maintaining Port MirroringTo do… Use the command… RemarksDisplay the configuration of portmirroring groupsdisplay mirroring-group { group-id | all |local | remote-destination | remote-source } Available in any viewPort Mirroring Configuration ExamplesLocal Port Mirroring Configuration Example (in Mirroring Port Mode)Network requirementsOn a network shown in Figure 11-4:z Device A connects to the marketing department through GigabitEthernet 1/0/1 and to thetechnical department through GigabitEthernet 1/0/2, and connects to the server throughGigabitEthernet 1/0/3.z Configure local port mirroring in mirroring port mode to enable the server to monitor thebidirectional traffic of the marketing department and the technical department.