beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 622

background image

1-5

Operation

Command

Description

Configure the current VLAN
as the remote-probe VLAN

remote-probe vlan enable

Required

Return to system view

quit

Enter the view of the Ethernet
port that connects to the
intermediate switch or
destination switch

interface interface-type
interface-number

Configure the current port as
trunk port

port link-type trunk

Required

By default, the port type is
Access.

Configure the trunk port to
permit packets from the
remote-probe VLAN

port trunk permit vlan
remote-probe-vlan-id

Required

Return to system view

quit

Create a remote source
mirroring group

mirroring-group group-id
remote-source

Required

Configure source port(s) for
the remote source mirroring
group

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

Required

Configure the reflector port for
the remote source mirroring
group

mirroring-group group-id
reflector-port reflector-port

Required

Configure the remote-probe
VLAN for the remote source
mirroring group

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

Required

When configuring the source switch, note that:

z

The S3100-SI series do not support the both keyword in the source port configuration for a remote

source mirroring group.

z

All ports of a remote source mirroring group are on the same device. Each remote source mirroring

group can be configured with only one reflector port.

z

The reflector port cannot be a member port of an aggregation group, or a port enabled with LACP

or STP. It must be an access port and cannot be configured with the functions like VLAN-VPN, port

loopback detection, packet filtering, QoS, port security, and so on.

z

It is recommended not to configure the VLAN mapping and the selective QinQ function on the

reflector port; otherwise, port mirroring may not function properly.

z

You cannot modify the duplex mode, port rate, and MDI attribute of a reflector port.

z

Only an existing static VLAN can be configured as the remote-probe VLAN. To remove a

remote-probe VLAN, you need to restore it to a normal VLAN first. A remote port mirroring group

gets invalid if the corresponding remote port mirroring VLAN is removed.

z

Do not configure a port connecting the intermediate switch or destination switch as the mirroring

source port. Otherwise, traffic disorder may occur in the network.

Configuration on a switch acting as an intermediate switch

1) Configuration

prerequisites

z

The trunk ports and the remote-probe VLAN are determined.