Configuration procedure, Network requirements – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 101

Advertising
background image

93

Configuration procedure

# Create remote source mirroring group 1.

<DeviceA> system-view

[DeviceA] mirroring-group 1 remote-source

# Configure GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 as source ports of remote source
mirroring group 1.

[DeviceA] mirroring-group 1 mirroring-port gigabitethernet 1/0/1 to gigabitethernet 1/0/3

both

# Configure an unused port (GigabitEthernet 1/0/5, for example) of Device A as the reflector port of
remote source mirroring group 1.

[DeviceA] mirroring-group 1 reflector-port gigabitethernet 1/0/5

# Create VLAN 10 and assign the three ports (GigabitEthernet 1/0/11 through GigabitEthernet 1/0/13)
connecting the three data monitoring devices to VLAN 10.

[DeviceA] vlan 10

[DeviceA-vlan10] port gigabitethernet 1/0/11 to gigabitethernet 1/0/13

[DeviceA-vlan10] quit

# Configure VLAN 10 as the remote probe VLAN of remote source mirroring group 1.

[DeviceA] mirroring-group 1 remote-probe vlan 10

Layer 2 remote port mirroring configuration example

Network requirements

As shown in

Figure 35

, configure Layer 2 remote port mirroring to enable the server to monitor the

bidirectional traffic of the marketing department.

Figure 35 Network diagram

Configuration procedure

1.

Configure Device A (the source device):
# Create a remote source group.

<DeviceA> system-view

[DeviceA] mirroring-group 1 remote-source

# Create VLAN 2.

Advertising