Monitor-Port - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

inbound: Specifies to mirror the packets received on the port.
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.
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

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.
Note that:
You cannot configure a member port of an aggregation group, or a port enabled with LACP and
STP as the mirroring destination port.
1-7

Advertisement

Table of Contents
loading

Table of Contents