Create switch mirror – Allied Telesis AT-S39 User Manual
Page 84

Chapter 10: Port Mirroring Commands
84
CREATE SWITCH MIRROR
Syntax
create switch mirror destport=destinationport
srcport=sourceport
Parameters
destport
Specifies the destination port where the data will be
copied to and where the network analyzer will be
connected. You can specify only one port.
srcport
Specifies the port whose traffic is to be mirrored.
You can specify more that one port. The ports can be
specified individually (e.g., 1,4,6), as a range (e.g., 11-
14), or both (1,4,7-9).
Description
This command creates a port mirror.
Note
To view whether the switch already has a port mirror, use the SHOW
CONFIG command.
Examples
The following command creates a port mirror where the traffic on Port
12 (source port) is copied to Port 11 (destination port):
create switch mirror destport=11 srcport=12
The following command creates a port mirror where the traffic on Ports
1 to 3 (source ports) is copied to Port 4 (destination port):
create switch mirror destport=4 srcport=1-3