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, in the range 1 to 20.
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:
You cannot configure a member port of an existing mirroring group, a member port of an
aggregation group, a fabric port or a port enabled with LACP or STP as the destination port.
Before configuring a destination port for a local mirroring group, make sure that the corresponding
mirroring group has already been created.
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.
This command is only available for S3600-EI series Ethernet switches.
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
1-6