beautypg.com

Create switch mirror – Allied Telesis AT-S60 User Manual

Page 116

background image

Chapter 10: Port Mirroring Commands

114

CREATE SWITCH MIRROR

Syntax

create switch mirror=destinationport
port=sourceport

Parameters

mirror Specifies

the

destination port where the data is

copied to and where the network analyzer is
connected. You can specify only one destination
port. (For information on how to specify ports, refer
to Specifying Ports on page 17.)

port

Specifies the source port whose traffic is to be
mirrored. You can specify more than one port, but
there can only be one source port per line card.

Description

This command creates a port mirror.

Note

To view existing port mirrors, use the command SHOW SWITCH
MIRROR
on page 120.

Examples

The following command creates a port mirror where the destination
port is Port 4 on the line card in Slot 4 and the source port is Port 6 on the
same line card:

create switch mirror=4.4 port=4.6

The following command creates a port mirror where the destination
port is Port 6 on the line card in Slot 12 and the source port is Port 8 on
the line card in Slot 11:

create switch mirror=12.6 port=11.8

The following command creates a port mirror where the destination
port is Port 8 on the line card in Slot 12 and the source ports are Port 8 on
the line card in Slot 11 and Port 1 on the line card in Slot 9:

create switch mirror=12.8 port=11.8,9.1