beautypg.com

Configuring mirroring ports in system view, Configuring a mirroring port in interface view, Configuring mirroring ports for a local mirroring – H3C Technologies H3C S7500E Series Switches User Manual

Page 161: Group

background image

9-14

To do…

Use the command…

Remarks

Enter system view

system-view

Create a local mirroring group

mirroring-group group-id local

Required

By default, no mirroring group

exists on a device.

Configuring Mirroring Ports for a Local Mirroring Group

On the source device, configure the ports you want to monitor as the mirroring ports; on the

destination device, 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 only

the current port to it as a mirroring port in interface view. To assign multiple ports to the mirroring group

as mirroring ports in interface view, repeat the step.

Configuring mirroring ports in system view

Follow these steps to configure mirroring ports for a local mirroring group in system view:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure mirroring ports for a

local mirroring group

mirroring-group group-id

mirroring-port mirroring-port-list

{ both | inbound | outbound }

Required

By default, no mirroring port is

configured for a mirroring group.

Configuring a mirroring port in interface view

Follow these steps to configure a mirroring port for a local mirroring group in interface view:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type

interface-number

Configure the current port as a

mirroring port

[ mirroring-group group-id ]

mirroring-port { both | inbound |

outbound }

Required

By default, a port does not serve

as a mirroring port for any

mirroring group.

A mirroring group can contain multiple mirroring ports.