Configuring Local Port Mirroring - H3C S5100-SI Series Operation Manual

Hide thumbs Also See for S5100-SI Series:
Table of Contents

Advertisement

Operation Manual – Mirroring
H3C S5100-SI/EI Series Ethernet Switches

1.2.1 Configuring Local Port Mirroring

I. Configuration prerequisites
The source port is determined and the direction in which the packets are to be
mirrored is determined.
The destination port is determined.
II. Configuration procedure
Table 1-2 Follow these steps to configure port mirroring:
Enter system view
Create a port mirroring
group
Configure
the source
port for the
port
mirroring
group
Configure
the
destination
port for the
port
mirroring
group
When configuring local port mirroring, note that:
You need to configure the source and destination ports for the local port mirroring
to take effect.
The source port and the destination port cannot be a member port of an existing
mirroring group; besides, the destination port cannot be a member port of an
aggregation group or a port enabled with LACP or STP.
To do...
Use the command...
system-view
mirroring-group group-id
local
mirroring-group group-id
In system
mirroring-port
view
mirroring-port-list { both |
inbound | outbound }
interface interface-type
interface-number
In port
mirroring-group group-id
view
mirroring-port { both |
inbound | outbound }
quit
mirroring-group group-id
In system
monitor-port
view
monitor-port-id
interface interface-type
interface-number
In port
view
mirroring-group group-id
monitor-port
Chapter 1 Mirroring Configuration
1-5
Remarks
Required
Use either approach
You can configure multiple
source ports at a time in
system view, or you can
configure the source port in
specific port view. The
configurations in the two
views have the same
effect.
Use either approach
The configurations in the
two views have the same
effect.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents