Chapter 18: Port Mirror Commands
306 Section II: Basic Operations
MIRROR INTERFACE
Syntax
mirror interface
source_ports
direction
receive|transmit|both
Parameters
source_ports Specifies a source port for the port mirror. You can
specify more than one source port.
direction Specifies the traffic to be mirrored from a source port to
the destination port. The options are:
receive Copies the ingress packets on a source port.
transmit Copies the egress packets on a source port.
both Copies both the ingress and egress packets
on a source port.
Mode
Port Interface mode
Description
Use this command to create the port mirror or to add ports to the port
mirror. You must issue this command from the Port Interface mode of the
destination port of the port mirror. The switch can have only one
destination port.
Confirmation Command
“SHOW MIRROR” on page 308
Example
This example configures the port mirror to copy the ingress traffic on ports
3 and 4, the source ports, to port 5, the destination port. If port 5 is already
acting as the destination port of the port mirror, the commands add ports 3
and 4 to the port mirror:
awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.5
awplus(config-if)# mirror interface port1.0.3,port1.0.4
direction receive