beautypg.com

Set switch mirror – Allied Telesis AT-S60 User Manual

Page 121

background image

AT-S60 Command Line User’s Guide

119

SET SWITCH MIRROR

Syntax

set switch mirror=destinationport port=sourceport

Parameters

mirror Specifies

the

destination port of the port mirror to

which you want to add new source ports. This port
must already be functioning as a destination port of a
port mirror. (For information on how to specify ports,
refer to Specifying Ports on page 17.)

port

Specifies the new source port(s) for an existing port
mirror. You can specify more than one port, but there
can be only one source port per line card.

Description

This command specifies new source ports for an existing port mirror. It is
similar to the ADD SWITCH MIRROR command. They both add new
source ports to a port mirror. Where they differ is that with this
command the new source ports replace the existing source ports. With
the ADD SWITCH MIRROR command, the new source ports are added to
the existing source ports.

Example

The following command specifies Port 4 on the line card in Slot 6 as the
new source port for a port mirror. The destination port is Port 4 on the
line card in Slot 1:

set switch mirror=1.4 port=6.4