C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
373
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
S
WITCHING
C
OMMANDS
MIRROR
INTERFACE
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.
Example
To mirror traffic received and transmitted on
port1.0.4
and
port1.0.5
to
destination
port1.0.3
, use the commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.3
awplus(config-if)#
mirror interface port1.0.4,port1.0.5
direction both
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:
awplus#
configure terminal
awplus(config)#
interface port1.0.3
awplus(config-if)#
mirror interface none
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#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
!