beautypg.com

Configuration procedure, Verifying the configuration – H3C Technologies H3C MSR 5600 User Manual

Page 186

background image

173

Figure 50 Network diagram

Configuration procedure

# Create local mirroring group 1.

system-view

[Device] mirroring-group 1 local

# Configure Ethernet 1/1 and Ethernet 1/2 as source ports and port Ethernet 1/3 as the monitor port
for local mirroring group 1.

[Device] mirroring-group 1 mirroring-port ethernet 1/1 ethernet 1/2 both

[Device] mirroring-group 1 monitor-port ethernet 1/3

# Disable the spanning tree feature on the monitor port Ethernet 1/3.

[Device] interface ethernet 1/3

[Device-Ethernet1/3] undo stp enable

[Device-Ethernet1/3] quit

Verifying the configuration

# Display information about all mirroring groups.

[Device] display mirroring-group all

Mirroring group 1:

Type: Local

Status: Active

Mirroring port:

Ethernet1/1 Both

Ethernet1/2 Both

Monitor port: Ethernet1/3

After the configurations are completed, you can monitor all packets received and sent by the marketing
department and the technical department on the server.

This manual is related to the following products: