Mirror – Allied Telesis AT-DC2552XS User Manual
Page 247

AT-DC2552SX Switch Command Line Interface User’s Guide
247
MIRROR
Syntax
mirror [interface
port_ids
direction both|receive|transmit]
Parameters
port_ids
Specifies a port ID or multiple port IDs of source ports. Use a
comma (,) to separate port IDs and a hyphen (-) to indicate a range
of port IDs.
both
Specifies both receiving and transmitting frames of source ports.
The specified mirror port receives the copies of these frames.
receive
Specifies receiving frames of source ports. The specified mirror
port receives the copies of these frames.
transmit
Specifies transmitting frames of source ports. The specified mirror
port receives the copies of these frames.
Mode
Port Interface mode
Description
Use this command to specify a port as the mirror port. In addition, you can
specify the direction of frames that the mirror port receives from the source
port: receive, transmit, or both. The mirror port receive copies of receiving
frames without VLAN tags and transmitting frames with VLAN tags. The
switch does not copy and send PAUSE frames and broadcast packets that
the switch generates.
When you specify the port as the mirror port for the copy-to-mirror action of
hardware access control lists (ACLs) or policy maps, enter this command
without any parameters. For information about ACLs, see Chapter 20,
“ACL Commands” on page 443.
You can specify only one port as a mirror port for the switch. Once the port
becomes a mirror port, the port does not belong to any VLAN.
To cancel the port as a mirror port, use the NO MIRROR command. The
port restores the membership of the VLAN before the port was designated
as a mirror port.