Mirror interface direction – Allied Telesis AT-S100 User Manual
Page 176

Chapter 5: Interface Configuration Mode Commands
176
Section I: Command Modes
MIRROR INTERFACE DIRECTION
Syntax
mirror interface ge<1-28> direction
both|receive|transmit
no mirror interface ge<1-28> direction
both|receive|transmit
Parameters
interface
Specifies the port-mirroring-destination port on the switch.
direction
Specifies the interface is forced to MDIX mode. Choose from
the following options:
both
Mirror traffic in both directions.
receive
Mirror received traffic.
transmit
Mirror transmitted traffic.
Description
Use the MIRROR INTERFACE DIRECTION command to create a port
mirror and specify the direction of the port mirroring. You can only specify
one active port at a time.
To turn off port mirroring, use the no command.
Command Mode
Interface mode
Examples
The following commands set port 19 to receive port mirroring traffic from
port 20:
switch#configure terminal
switch(config)#interface ge20
switch(config-if)#mirror interface ge19 direction
receive