beautypg.com

Configuration restrictions and guidelines, Configuration procedure, Required.) – H3C Technologies H3C MSR 5600 User Manual

Page 184

background image

171

Configuration restrictions and guidelines

When you configure source ports for a local mirroring group, follow these restrictions and guidelines:

A mirroring group can contain multiple source ports.

A port can belong to only one mirroring group.

Configuration procedure

To configure source ports in system view:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure source ports for the
specified local mirroring

group.

mirroring-group group-id
mirroring-port interface-list { both |
inbound | outbound }

By default, no source port is
configured for a local mirroring
group.

To configure source ports in interface view:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

Enter interface view:

interface interface-type
interface-number

Enter CPOS interface view:

controller cpos

interface-number

Use one of the commands.

3.

Configure the port as a source
port for the specified local

mirroring group.

mirroring-group group-id
mirroring-port { both | inbound |
outbound }

By default, a port does not serve as
a source port for any local
mirroring group.

Configuring the monitor port for the local mirroring group

You can configure the monitor port for a mirroring group in system view, or assign a port to a mirroring
group as the monitor port in interface view. The two modes lead to the same result.

Configuration restrictions and guidelines

When you configure the monitor port for the local mirroring group, follow these restrictions and

guidelines:

A mirroring group contains only one monitor port.

Use a monitor port for port mirroring only to make sure that the data monitoring device receives and
analyzes only the mirrored traffic rather than a mix of mirrored traffic and correctly forwarded

traffic.

Configuration procedure

To configure the monitor port in system view:

This manual is related to the following products: