beautypg.com

Create switch mirror – Allied Telesis AT-S39 User Manual

Page 89

background image

AT-S39 Command Line Interface User’s Guide

89

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 destination
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. To view whether the switch already
has a port mirror, use the SHOW SWITCH 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