Configuration prerequisites

z

z

The MAC address to be matched is determined. The destination port is determined.

Configuration procedure

Follow these steps to configure MAC-based mirroring:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Create a local or remote source

mirroring-group group-id

Required

mirroring group

{ local remote-source }

 

 

 

 

Configuring MAC-Based

mirroring-group group-id

 

mirroring-mac mac vlan

Required

Mirroring

vlan-id

 

 

 

 

 

 

 

 

Required

Configure the destination port

mirroring-group group-id

Note that you need not

configure the destination port

for the mirroring group

monitor-portmonitor-port-id

on the source switch when

 

 

configuring MAC-based remote

 

 

mirroring.

 

 

 

Configuration example

Configure MAC-based mirroring to mirror packets whose source/destination MAC addresses match 000f-e20f-0101 to port GigabitEthernet 1/0/2 on the local device.

Configuration procedure:

<device> system-view

[device] mac-address static 000f-e20f-0101 interface Gigabitethernet 1/0/1 vlan 2

[device] mirroring-group 1 local

[device] mirroring-group 1 mirroring-mac 000f-e20f-0101 vlan 2

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

Configuring VLAN-Based Mirroring

You can configure VLAN-based mirroring for a remote source mirroring group to implement the VLAN-based remote mirroring function.

Configuration prerequisites

z

z

The VLAN to be monitored is determined. The destination port is determined.

1-8

Page 409
Image 409
3Com WX3000 Configuring VLAN-Based Mirroring, Local remote-source, Mirroring-group group-id Mirroring-mac mac vlan