1-4
Description
Use the mirroring-group mirroring-port command to configure the source ports for a local mirroring
group or a remote source mirroring group.
Use the undo mirroring-group mirroring-port command to remove the source ports of a local
mirroring group or a remote source mirroring group.
Note that:
z The S3100-SI series do not support the both keyword in the source port configuration for a remote
source mirroring group.
z You cannot configure a member port of an existing mirroring group as a source port for port
mirroring.
z Before configuring a mirroring source port, make sure that the corresponding mirroring group has
already been created.
z A copy of each packet passing through a source port will be sent to the corresponding destination
port.
Related commands: display mirroring-group.
Examples
# Configure Ethernet 1/0/1 as the source port of local mirroring group 1, and mirror all packets received
on this port.
<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
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: