Configuring Vlan-Based Mirroring - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

The MAC address specified for MAC-based mirroring must be a static MAC address
existing in the MAC address table.
You can configure MAC-based mirroring for a remote source mirroring group to
implement the MAC-based remote mirroring function.
Configuration prerequisites
The MAC address to be matched is determined.
The destination port is determined.
Configuration procedure
Table 1-6 Follow these steps to configure MAC-Based mirroring:
To do...
Enter system view
Create a local or remote
source mirroring group
Configuring
MAC-Based Mirroring
Configure the
destination port for the
mirroring group
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:
<Sysname> system-view
[Sysname] mac-address static 000f-e20f-0101 interface Gigabitethernet 1/0/1 vlan
2
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 mirroring-mac 000f-e20f-0101 vlan 2
[Sysname] mirroring-group 1 monitor-port GigabitEthernet 1/0/2

Configuring VLAN-Based Mirroring

Use the command...
system-view
mirroring-group group-id { local
| remote-source }
mirroring-group group-id
mirroring-mac mac vlan vlan-id
mirroring-group group-id
monitor-port monitor-port-id
1-9
Remarks
Required
Required
Required
Note that you need not
configure the destination
port on the source switch
when configuring
MAC-based remote
mirroring.

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents