Configuring local port mirroring, Local port mirroring configuration task list, Creating a local mirroring group – H3C Technologies H3C S6300 Series Switches User Manual

Page 181: Configuration restrictions and guidelines, Configuring source ports in system view, Configuring source ports in interface view

Advertising
background image

168

Configuring local port mirroring

A local mirroring group takes effect only when you configure the source ports and the monitor port for it.

Local port mirroring configuration task list

Tasks at a glance

1.

(Required.)

Creating a local mirroring group

2.

(Required.)

Configuring source ports for the local mirroring group

3.

(Required.)

Configuring the monitor port for the local mirroring group

Creating a local mirroring group

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a local mirroring

group.

mirroring-group group-id local

By default, no local mirroring
group exists.

Configuring source ports for the local mirroring group

To configure source ports for a local mirroring group, use one of the following methods:

Assign a list of source ports to the mirroring group in system view.

Assign a port to the mirroring group as a source port in interface view.
To assign multiple ports to the mirroring group as source ports in interface view, repeat the
operation.

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 act as a source port for multiple mirroring groups.

A source port cannot be configured as a reflector port, egress port, or monitor port.

Configuring 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.

Configuring source ports in interface view

Advertising