Displaying and
Maintaining Port
Mirroring
Examples of Typical
Port Mirroring
Configuration
Local Port Mirroring
Configuration Example
group. In this case, you need to remove the port mirroring group and then
create another one.
Only Layer 2 ports support port mirroring.
■
Follow these steps to display and maintain port mirroring:
To do...
Display the configuration of a
port mirroring group
Network requirements
The user's network is described as follows:
Department 1 is connected to port Ethernet 1/1 of Device C through Device A.
■
Department 2 is connected to port Ethernet 1/2 of Device C through Device B.
■
The Server is connected to port Ethernet 1/3 of Device C.
■
It is desired to monitor the packets sent and received by Department 1 and
Department 2 on the Server.
This can be achieved by configuring a local port mirroring group. Perform the
following configuration on Device C.
Configure port Ethernet 1/1 and Ethernet 1/2 as source mirroring ports.
■
Configure port Ethernet 1/3 as the destination mirroring port.
■
Network diagram
Figure 90 Network diagram for local port mirroring configuration
Department 1
Device A
Department 2
Device B
Configuration procedure
# Enter system view.
Displaying and Maintaining Port Mirroring
Use the command...
display mirroring-group
{ groupid | local }
Eth1/1
Eth1/3
Eth1/2
Device C
Remarks
Available in any view
Server
361