User guide

AT-S63 Management Software Command Line User’s Guide
Section I: Basic Operations 239
SET SWITCH PORT MIRROR
Syntax
set switch port=
port
mirror=none|rx|tx|both
Parameters
port Specifies a source port of a port mirror. You can specify
more than one port. For instructions, refer to “Port
Numbers in Commands” on page 48.
mirror Specifies the traffic on the source ports 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 238.
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
The following command removes ports 5, 7, and 10 as source ports of a
port mirror:
set switch port=5,7,10 mirror=none
Command
Available
AlliedWare Plus