205Configuring the monitor port for the local mirroring groupTo configure the monitor port for a mirroring group, use one of the following methods:• Configure the monitor port for the mirroring group in system view.• Assign a port to the mirroring group as the monitor port in interface view.Configuration restrictions and guidelinesWhen you configure the monitor port for a local mirroring group, follow these restrictions and guidelines:• A mirroring group contains only one monitor port.• Use a monitor port only for port mirroring, so the data monitoring device receives only the mirroredtraffic.Configuring the monitor port in system viewStep Command Remarks1. Enter system view. system-view N/A2. Configure the monitor port fora local mirroring group.mirroring-group group-idmonitor-port interface-typeinterface-numberBy default, no monitor port isconfigured for a local mirroringgroup.Configuring the monitor port in interface viewStep Command Remarks1. Enter system view. system-view N/A2. Enter interface view. interface interface-typeinterface-number N/A3. Configure the port as themonitor port for a mirroringgroup.mirroring-group group-idmonitor-portBy default, a port does not act asthe monitor port for any localmirroring groups.Displaying and maintaining port mirroringExecute display commands in any view.Task CommandDisplay mirroring group information. display mirroring-group { group-id | all | local }