H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 395

Advertising
background image

39-13

<device> system-view

[device] vlan 10

[device-vlan10] remote-probe vlan enable

[device-vlan10] quit

# Configure GigabitEthernet 1/0/1 as the trunk port, allowing packets of VLAN 10 to pass.

[device] interface GigabitEthernet 1/0/1

[device-GigabitEthernet1/0/1] port link-type trunk

[device-GigabitEthernet1/0/1] port trunk permit vlan 10

[device-GigabitEthernet1/0/1] quit

# Configure GigabitEthernet 1/0/2 as the trunk port, allowing packets of VLAN 10 to pass.

[device] interface GigabitEthernet 1/0/2

[device-GigabitEthernet1/0/2] port link-type trunk

[device-GigabitEthernet1/0/2] port trunk permit vlan 10

3) Configure the destination switch (Switch C)

# Create remote destination mirroring group 1.

<device> system-view

[device] mirroring-group 1 remote-destination

# Configure VLAN 10 as the remote-probe VLAN.

[device] vlan 10

[device-vlan10] remote-probe vlan enable

[device-vlan10] quit

# Configure the destination port and remote-probe VLAN for the remote destination mirroring group.

[device] mirroring-group 1 monitor-port GigabitEthernet 1/0/2

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

# Configure GigabitEthernet 1/0/1 as the trunk port, allowing packets of VLAN 10 to pass.

[device] interface GigabitEthernet 1/0/1

[device-GigabitEthernet1/0/1] port link-type trunk

[device-GigabitEthernet1/0/1] port trunk permit vlan 10

[device-GigabitEthernet1/0/1] quit

# Display configuration information about remote destination mirroring group 1.

[device] display mirroring-group 1

mirroring-group 1:

type: remote-destination

status: active

monitor port: GigabitEthernet1/0/2

remote-probe vlan: 10

After the configurations, you can monitor all packets sent from Department 1 and 2 on the data
detection device.

Advertising