Command Manual (For Soliton) – Mirroring
H3C S3100 Series Ethernet Switches
Chapter 1 Mirroring Commands
1-8
outbound
: Specifies to mirror the packets sent from the port.
Description
Use the
mirroring-port
command to configure the source port in Ethernet port view.
Use the
undo mirroring-port
command to remove the configuration of the source port
in Ethernet port view.
Related commands:
display mirroring-group
.
Note:
When you configure mirroring source port on an Ethernet port of an S3100 series
Ethernet switch, if mirroring group 1 does not exist, the switch will automatically create
local mirroring group 1 and add the source port to the group; if mirroring group 1 already
exists, but is not a local mirroring group, your configuration of the source port will fail.
Examples
# In Ethernet port view, configure Ethernet 1/0/1 as the source port, and mirror all
packets received on and sent from this port.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] mirroring-port both
1.1.8 monitor-port
Syntax
monitor-port
undo monitor-port
View
Ethernet port view
Parameters
None
Description
Use the
monitor-port
command to configure the destination port in Ethernet port view.
Use the
undo monitor-port
command to remove the configuration of the destination
port in Ethernet port view.