beautypg.com

Add switch mirror – Allied Telesis AT-S39 User Manual

Page 85

background image

AT-S39 Command Line Interface User’s Guide

85

ADD SWITCH MIRROR

Syntax

add switch mirror srcport=port

Parameter

srcports

Specifies the port(s) whose data are to the copied to
the destination port. You can specify more than one
port. The ports can be specified individually (e.g., 1,2),
as a range (e.g., 2-3), or both (1,4,7-9).

Description

This command adds source ports to an existing port mirror. For example,
if you were mirroring the traffic on Ports 1 to 4 and you wanted to add
port 11 as another source port, you could use this command to add the
port to the mirror.

Note
To view the ports of a port mirror, use the SHOW CONFIG command.

Note
If you want to change the destination port (that is, the port where
the traffic is being copied to), use the SET SWITCH MIRROR
command.

Example

The following command adds Port 3 and 4 as additional source ports to
an existing port mirror:

add switch mirror srcport=3-4