Displaying and maintaining port mirroring, Port mirroring configuration examples, Local port mirroring configuration example – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 99: Network requirements, Configuration procedure

Advertising
background image

91

Displaying and maintaining port mirroring

Task Command

Remarks

Display mirroring group
information.

display mirroring-group { group-id | all |
local | remote-destination | remote-source }

[ | { begin | exclude | include }

regular-expression ]

Available in any view.

Port mirroring configuration examples

This section provides port mirroring configuration examples.

Local port mirroring configuration example

Network requirements

On the network shown in

Figure 33

:

Device A connects to the marketing department through GigabitEthernet 1/0/1 and to the
technical department through GigabitEthernet 1/0/2. It connects to the server through

GigabitEthernet 1/0/3.

Configure local port mirroring in source port mode to enable the server to monitor the bidirectional
traffic of the marketing department and the technical department.

Figure 33 Network diagram

Configuration procedure

# Create local mirroring group 1.

<DeviceA> system-view

[DeviceA] mirroring-group 1 local

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as source ports, and configure port
GigabitEthernet 1/0/3 as the monitor port.

Advertising