beautypg.com

Configuring the egress port for the remote source, Mirroring group – H3C Technologies H3C S7500E Series Switches User Manual

Page 156

background image

9-9

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.

z

A mirroring group can contain multiple mirroring ports.

z

To ensure that the port mirroring function works properly, do not assign a mirroring port to the

remote probe VLAN.

Configuring the egress port for the remote source mirroring group

You can configure the egress port for a mirroring group in system view, or assign the current port to it

as the egress port in interface view. The two configuration modes lead to the same result.

z

Configuring the egress port in system view

Follow these steps to configure the egress port for the remote source mirroring group in system view:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the egress port for the

remote source mirroring group

mirroring-group group-id

monitor-egress

monitor-egress-port

Required

By default, no egress port is

configured for a mirroring group.

z

Configuring the egress port in interface view

Follow these steps to configure the egress port for the remote source 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 the

egress port

mirroring-group group-id

monitor-egress

Required

By default, a port does not serve

as the egress port for any mirroring

group.