Command Manual (For Soliton) – Mirroring
H3C S3100 Series Ethernet Switches
Chapter 1 Mirroring Commands
1-5
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 mirroring-port Ethernet 1/0/1 inbound
1.1.4 mirroring-group monitor-port
Syntax
mirroring-group group-id monitor-port monitor-port
undo mirroring-group group-id monitor-port monitor-port
View
System view, Ethernet port view
Parameters
group-id
: Number of a port mirroring group, the value of which can only be 1.
monitor-port monitor-port
: Specifies the destination port for port mirroring.
monitor-port
is available in system view only, and there is no such argument in Ethernet
port view.
Description
Use the
mirroring-group monitor-port
command to configure the destination port for
a local mirroring group or a remote destination mirroring group.
Use the
undo mirroring-group monitor-port
to remove the destination port of a local
mirroring group or a remote destination mirroring group.
Note that:
z
You cannot configure a member port of an aggregation group, or a port enabled
with LACP or STP as the destination port.
z
Before configuring a source mirroring port, make sure that the corresponding
mirroring group has already been created.
z
It is recommended that you use a destination port for port mirroring purpose only.
Do not use a destination port to transmit other service packets.
Related commands:
display mirroring-group
.
Examples
# Configure Ethernet 1/0/4 as the destination port of local mirroring group 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 monitor-port Ethernet 1/0/4