H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Mirroring
H3C S7500 Series Ethernet Switches Chapter 1
Mirroring Commands
1-9
z LACP and STP must be disabled on the destination port.
z The destination port for remote mirroring must be an Access port.
z After a port is configured as a reflector port, the switch does not allow you to
change the port type and its default VLAN ID.
Examples
# Configure GigabitEthernet 2/0/4 as the source port and monitor all packets received
through this port.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] mirroring-group 1 monitor-port Gigabitethernet2/0/4
1.1.8 mirroring-group reflector-port
Syntax
mirroring-group group-id reflector-port reflector-port
undo mirroring-group group-id reflector-port reflector-port
View
System view, Ethernet port view
Parameters
group-id: Group number of a port mirroring group, in the range of 1 to 20.
reflector-port reflector-port: Specifies the reflector port. reflector-port is available in
system view only.
Description
Use the mirroring-group reflector-port command to specify the reflector port.
Use the undo mirroring-group reflector-port command to remove the configuration
of the reflector port.
Note the following when you configure the reflector port:
z The reflector port must be an Access port.
z LACP and STP must be disabled on the reflector port.
z After a port is configured as a reflector port, the switch does not allow you to
change the port type and its default VLAN ID, or to add it to another VLAN.
z To mirror tagged packets, you need to configure VLAN VPN on the reflector port.
Examples
# Configure GigabitEthernet 2/0/2 as the reflector port.
<H3C> system-view
System View: return to User View with Ctrl+Z.