beautypg.com

Add switch mirror – Allied Telesis AT-S39 User Manual

Page 88

background image

Chapter 10: Port Mirroring Commands

88

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.

To view the ports of a port mirror, use the SHOW SWITCH command. To
initially create a port mirror, refer to the CREATE SWITCH MIRROR
command. 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