C613-50170-01 Rev B
Command Reference for x510 Series
484
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
P
ORT
M
IRRORING
AND
R
EMOTE
M
IRRORING
C
OMMANDS
MIRROR
INTERFACE
Mode
Interface Configuration
Usage
Use this command to send traffic to another device connected to the mirror port
for monitoring.
For more information, see the
Mirroring Feature Overview and Configuration
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.
Access control lists can be used to mirror a subset of traffic from the mirrored port
by using the copy-to-mirror parameter in hardware ACL commands.
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
access-list (numbered hardware ACL for IP packets)
ACL and
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 TCP traffic to analyzer port1.0.1 if it is received or transmitted on port
1.0.2, use the sample configuration snippet below:
Related
Commands
access-list (numbered hardware ACL for IP packets)
access-list (numbered hardware ACL for MAC addresses)
awplus#show running-config
mls qos enable
access-list 3000 copy-to-mirror tcp any any
!
interface port1.0.1
mirror interface none
!
interface port1.0.2
access-group 3000