Mirroring Configuration Examples; Local Port Mirroring Configuration Example - H3C S5600 SERIES Operation Manual

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

Mirroring Configuration Examples

Local Port Mirroring Configuration Example

Network requirements
The departments of a company connect to each other through S5600 Ethernet switches:
Research and Development (R&D) department is connected to Switch C through
GigabitEthernet 1/0/1.
Marketing department is connected to Switch C through GigabitEthernet 1/0/2.
Data detection device is connected to Switch C through GigabitEthernet 1/0/3
The administrator wants to monitor the packets received on and sent from the R&D
department and the marketing department through the data detection device.
Use the local port mirroring function to meet the requirement. Perform the following
configurations on Switch C.
Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as mirroring source ports.
Configure GigabitEthernet 1/0/3 as the mirroring destination port.
Network diagram
Figure 1-3 Network diagram for local port mirroring
Configuration procedure
Configure Switch C:
# Create a local mirroring group.
<Sysname> system-view
[Sysname] mirroring-group 1 local
# Configure the source ports and destination port for the local mirroring group.
[Sysname] mirroring-group 1 mirroring-port GigabitEthernet 1/0/1 GigabitEthernet
1/0/2 both
1-9

Advertisement

Table of Contents
loading

Table of Contents