beautypg.com

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

Page 383

background image

Switching Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

15.21

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.

Example

To mirror traffic received and transmitted on port1.0.4 and port1.0.5 to destination
port1.0.3

, use the commands:

To enable use with the

access-list (hardware IP numbered)

ACL and

default-action

QoS

commands to destination port1.0.3 without specifying a source port, use the
commands:

To mirror all TCP traffic, received or transmitted to analyzer port1.0.1, see the sample
config below:

Related Commands

access-list (hardware IP numbered)
access-list (hardware MAC numbered)
default-action

awplus#

configure terminal

awplus(config)#

interface port1.0.3

awplus(config-if)#

mirror interface port1.0.4,port1.0.5
direction both

awplus#

configure terminal

awplus(config)#

interface port1.0.3

awplus(config-if)#

mirror interface none

awplus#show running-config

!
mls qos enable
access-list 3000 copy-to-mirror tcp any any
access-group 3000
!
interface port1.0.1
mirror interface none
switchport
!