Verifying the configuration – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 103

Advertising
background image

95

[DeviceC] vlan 2

# Disable MAC address learning for VLAN 2.

[DeviceC-vlan2] mac-address mac-learning disable

[DeviceC-vlan2] quit

# Configure VLAN 2 as the remote probe VLAN of the mirroring group and GigabitEthernet1/0/2
as the monitor port of the mirroring group, disable the spanning tree feature on

GigabitEthernet1/0/2, and assign the port to VLAN 2.

[DeviceC] mirroring-group 1 remote-probe vlan 2

[DeviceC] interface gigabitethernet 1/0/2

[DeviceC-GigabitEthernet1/0/2] mirroring-group 1 monitor-port

[DeviceC-GigabitEthernet1/0/2] undo stp enable

[DeviceC-GigabitEthernet1/0/2] port access vlan 2

[DeviceC-GigabitEthernet1/0/2] quit

Verifying the configuration

After the configurations are completed, you can monitor all packets received and sent by the marketing

department on the server.

Advertising