332
Command Reference for IE200 Series Industrial Managed PoE+ Switches
C613-50066-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
S
WITCHING
C
OMMANDS
MIRROR
INTERFACE
mirror interface
Overview
Use this command to define a mirror port and mirrored (monitored) ports and
direction of traffic to be mirrored. The port for which you enter interface mode will
be the mirror port.
The destination port is removed from all VLANs, and no longer participates in other
switching.
Use the
no
variant of this command to disable port mirroring by the destination
port on the specified source port.
Syntax
mirror interface
<source-port-list>
direction
{both|receive|transmit}
no mirror interface
<source-port-list>
Mode
Interface Configuration
Usage
Use this command to send traffic to another device connected to the mirror port
for monitoring.
See the “Port Mirroring” section in the
Switching Feature Overview and
Configuration Guide
for more information.
A mirror port cannot be associated with a VLAN. If a switch port is configured to be
a mirror port, it is automatically removed from any VLAN it was associated with.
This command can only be applied to a single mirror (destination) port, not to a
range of ports, nor to a static or dynamic channel group. Do not apply multiple
interfaces with an interface command before issuing the mirror interface
command. One interface may have multiple mirror interfaces.
Parameter
Description
<source-port-list>
The source switch ports to mirror. A port-list can be:
•
a port (e.g.
port1.0.2
)
•
a continuous range of ports separated by a hyphen, e.g.
port1.0.1-1.0.2
•
a comma-separated list of ports and port ranges, e.g.
port1.0.1,port1.0.4-1.0.6
The source port list cannot include dynamic or static
channel groups (link aggregators).
direction
Specifies whether to mirror traffic that the source port
receives, transmits, or both.
both
Mirroring traffic both received and transmitted by the
source port.
receive
Mirroring traffic received by the source port.
transmit
Mirroring traffic transmitted by the source port.