C613-50631-01 Rev A Command Reference for IE340 Series 518
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
PORT MIRRORING AND REMOTE MIRRORING COMMANDS
MIRROR
INTERFACE
Usage notes 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
Guide.
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.1 to destination port1.0.2, use
the commands:
awplus# configure terminal
awplus(config)# interface port1.0.2
awplus(config-if)# mirror interface port1.0.1 direction both
To enable use with the access-list (numbered hardware ACL for IP packets) ACL and
default-action QoS commands to destination port1.0.1 without specifying a source
port, use the commands:
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# mirror interface none
To mirror all received or transmitted TCP traffic to analyzer port1.0.1, use the
sample configuration snippet below:
Related
commands
access-list (numbered hardware ACL for IP packets)
access-list (numbered hardware ACL for MAC addresses)
default-action
ipv6 access-list (named IPv6 hardware ACL)
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