3com WX3000 Benutzerhandbuch
1-4
Mirroring Configuration
Complete the following tasks to configure mirroring:
Task
Remarks
Optional
Optional
Optional
Optional
Configuring Local Port Mirroring
Configuration prerequisites
z
The source port is determined and the direction in which the packets are to be mirrored is
determined.
z
The destination port is determined.
Configuration procedure
Follow these steps to configure local port mirroring:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a port mirroring group mirroring-group group-id local
Required
In system
view
view
mirroring-group group-id
mirroring-port mirroring-port-list
{ both | inbound | outbound }
mirroring-port mirroring-port-list
{ both | inbound | outbound }
interface interface-type
interface-number
interface-number
mirroring-group group-id
mirroring-port { both | inbound |
outbound }
mirroring-port { both | inbound |
outbound }
Configure the
source port
for the port
mirroring
group
source port
for the port
mirroring
group
In port view
quit
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.
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.
In system
view
view
mirroring-group group-id
monitor-port monitor-port-id
monitor-port monitor-port-id
interface interface-type
interface-number
interface-number
Configure the
destination
port for the
port mirroring
group
destination
port for the
port mirroring
group
In port view
mirroring-group group-id
monitor-port
monitor-port
Use either approach
The configurations in the two
views have the same effect.
views have the same effect.
When configuring local port mirroring, note that:
z
You need to configure the source and destination ports for the local port mirroring to take effect.
z
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.