beautypg.com

Network diagram, Configuration procedure, Remote port mirroring configuration example – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 463: Network requirements

background image

50-7

Network diagram

Figure 50-3

Network diagram for local port mirroring configuration

Configuration procedure

Configure AC.

# Create a local port mirroring group.

system-view

[AC] mirroring-group 1 local

# Add port GigabitEthernet 0/0/1 and GigabitEthernet 0/0/2 to the port mirroring group as source ports.
Add port GigabitEthernet 0/0/3 to the port mirroring group as the destination port.

[AC] mirroring-group 1 mirroring-port GigabitEthernet 0/0/1 GigabitEthernet 0/0/2 both

[AC] mirroring-group 1 monitor-port GigabitEthernet 0/0/3

# Display the configuration of all the port mirroring groups.

[AC] display mirroring-group all

mirroring-group 1:

type: local

status: active

mirroring port:

GigabitEthernet0/0/1 both

GigabitEthernet0/0/2 both

monitor port: GigabitEthernet0/0/3

After finishing the configuration, you can monitor all the packets received and sent by R&D department
and Marketing department on the Data monitoring device.

Remote Port Mirroring Configuration Example

Network requirements

The departments of a company connect to each other through Ethernet switches:

z

Department 1 is connected to GigabitEthernet 0/0/1 of AC.

z

Department 2 is connected to GigabitEthernet 0/0/2 of AC.

z

GigabitEthernet 0/0/3 of AC connects to GigabitEthernet 0/0/1 of Switch A.

z

GigabitEthernet 0/0/2 of Switch A connects to GigabitEthernet 0/0/1 of Switch B.

z

The data monitoring device is connected to GigabitEthernet 0/0/2 of Switch B.