Iii. configuring port mirroring in system view – H3C Technologies H3C S3100 Series Switches User Manual

Page 414

Advertising
background image

Operation Manual – Mirroring

H3C S3100-52P Ethernet Switch

Chapter 1 Mirroring Configuration

1-5

Table 1-3

Configure port mirroring in Ethernet port view (2)

Operation

Command

Description

Enter system view

system-view

Create a port mirroring

group

mirroring-group group-id
local

Required

Enter Ethernet port

view of the determined

destination port

interface

interface-type

interface-number

Define the current port

as the destination port

mirroring-group group-id
monitor-port

Required
LACP and TCP must be

disabled on the destination

port

Exit current view

quit

Enter Ethernet port

view of the determined

source port

interface

interface-type

interface-number

Define the current port

as the source port and

specify the direction of

the packets to be

mirrored

mirroring-group group-id
mirroring-port

{ both |

inbound

| outbound }

Required

Display the mirroring

parameter settings

display mirroring-group

{ all | local }

Required
This command can be

executed in any view.

III. Configuring port mirroring in system view

Table 1-4

Configure port mirroring in system view

Operation

Command

Description

Enter system view

system-view

Create a port mirroring

group

mirroring-group

group-id

local

Required

Define the determined

destination port

mirroring-group group-id
monitor-port monitor-port

Required
LACP and TCP must be

disabled on the

destination port.

Define the determined

source port and

specify the direction of

the packets to be

mirrored

mirroring-group group-id
mirroring-port
mirroring-port-list

{ both |

inbound

| outbound }

Required

Advertising