beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 623

background image

1-6

z

Layer 2 connectivity is ensured between the source and destination switches over the

remote-probe VLAN.

2) Configuration

procedure

Table 1-5 Configuration on the intermediate switch

Operation

Command

Description

Enter system view

system-view

Create a VLAN and enter
VLAN view

vlan vlan-id

vlan-id is the ID of the
remote-probe VLAN.

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 connecting to the source
switch, destination switch or
other intermediate 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

Configuration on a switch acting as a destination switch

1) Configuration

prerequisites

z

The destination port and the remote-probe VLAN are determined.

z

Layer 2 connectivity is ensured between the source and destination switches over the

remote-probe VLAN.

2) Configuration

procedure

Table 1-6 Configure remote port mirroring on the destination switch

Operation

Command

Description

Enter system view

system-view

Create a VLAN and enter
VLAN view

vlan vlan-id

vlan-id is the ID of the
remote-probe VLAN.

Configure the current VLAN
as a remote-probe VLAN

remote-probe vlan enable

Required

Return to system view

quit

Enter the view of the Ethernet
port connecting to the source
switch or an intermediate
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.