Configuring a remote source group on the source device

Creating a remote source group

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a remote source group.

mirroring-group group-id remote-source

By default, no remote source groups exist.

Configuring source ports for a remote source group

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

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

Configuring source ports for a remote source group in system view

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure source ports for a remote source group.

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

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

Configuring a source port for a remote source group in interface view

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure the port as a source port for a remote source group.

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

By default, a port does not act as a source port for any remote source groups.

Configuring source CPUs for a remote source group

A mirroring group can contain multiple source CPUs.

The device supports mirroring only inbound traffic of a source CPU.

To configure source CPUs for a remote source group:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure source CPUs for a remote source group.

mirroring-group group-id mirroring-cpu slot slot-number-list inbound

By default, no source CPU is configured for a remote source group.

Configuring the reflector port for a remote source group

To configure the reflector port for a remote source group, use one of the following methods:

When you configure the reflector port for a remote source group, follow these restrictions and guidelines:

Configuring the reflector port for a remote source group in system view

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure the reflector port for a remote source group.

mirroring-group group-id reflector-port interface-type interface-number

By default, no reflector port is configured for a remote source group.

Configuring the reflector port for a remote source group in interface view

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure the port as the reflector port for a remote source group.

mirroring-group group-id reflector-port

By default, a port does not act as the reflector port for any remote source groups.

Configuring the egress port for a remote source group

To configure the egress port for a remote source group, use one of the following methods:

When you configure the egress port for a remote source group, follow these restrictions and guidelines:

Configuring the egress port for a remote source group in system view

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure the egress port for a remote source group.

mirroring-group group-id monitor-egress interface-type interface-number

By default, no egress port is configured for a remote source group.

Configuring the egress port for a remote source group in interface view

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure the port as the egress port for a remote source group.

mirroring-group group-id monitor-egress

By default, a port does not act as the egress port for any remote source groups.

Configuring the remote probe VLAN for a remote source group

When you configure the remote probe VLAN for a remote source group, follow these restrictions and guidelines:

To configure the remote probe VLAN for a remote source group:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure the remote probe VLAN for a remote source group.

mirroring-group group-id remote-probe vlan vlan-id

By default, no remote probe VLAN is configured for a remote source group.