Set switch port mirror, Syntax, Parameters – Allied Telesis AT-S63 User Manual

Page 149: Description, Examples

Advertising
background image

AT-S63 Management Software Command Line Interface User’s Guide

149

SET SWITCH PORT MIRROR

Syntax

set switch port=

port

mirror=none|rx|tx|both

Parameters

port

Specifies the source port of a port mirror. You can
specify more than one port. You can specify the ports
individually (for example, 5, 7, 22), as a range (for
example, 18-23), or both (for example, 1, 5, 14-22).

mirror

Specifies which traffic on the source ports is to be
mirrored to the destination port. The options are:

rx

Specifies ingress mirroring.

tx

Specifies egress mirroring.

both

Specifies both ingress and egress mirroring.

none

Removes a port as a source port.

Description

This command specifies the source ports of a port mirror. If the port mirror
already has source ports, the new source ports are added to the existing
ports. You can also use the command to remove source ports.

You must set the destination port before you can select the source ports.
To set the destination port, refer to “SET SWITCH MIRROR” on page 148.

Note

When a transceiver is inserted into an uplink slot and a link is
established, that slot becomes a primary uplink port and the
corresponding backup port, 23R or 24R, automatically transitions to
redundant uplink status. Any settings for port mirroring remain intact
when the backup port makes the transition to a redundant uplink
state.

Examples

The following command specifies ports 16 and 17 as new source ports for
the port mirror. Only the ingress traffic is mirrored:

set switch port=16-17 mirror=rx

Advertising