beautypg.com

Mirror interface – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 382

background image

Switching Commands

Software Reference for x310 Series Switches

15.20

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

mirror interface

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.

Use the none variant of this command when using copy-to-mirror ACL and QoS
commands.

Syntax

mirror interface direction {both|receive|transmit}

mirror interface none

no mirror interface

no mirror interface none

Mode

Interface Configuration

Usage

Use this command to send traffic to another device connected to the mirror port for
monitoring.

See

“Port Mirroring” on page 14.17

.

Parameter

Description

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.

none

Specify this parameter for use with the ACL (Access Control
List) access-list and QoS (Quality of Service) default action
commands when used with the copy-to-mirror parameter
option, so you can specify the destination port (the
analyzer port) for the traffic without specifying a source
mirror port. See the ACL commands

access-list (hardware

IP numbered)

and

access-list (hardware MAC

numbered)

, and the QoS command

default-action

for

further information.