beautypg.com

Delete switch mirror – Allied Telesis AT-S39 User Manual

Page 90

background image

Chapter 10: Port Mirroring Commands

90

DELETE SWITCH MIRROR

Syntax

delete switch mirror srcport=port

Parameters

srcports

Specifies the source port(s) to be removed from an
existing port mirror. The ports can be specified
individually (e.g., 1,2), a range (e.g., 2-3), or both (1,4,7-
9).

Description

This command removes a source port(s) from a port mirror. For example,
if you are mirroring the traffic on Ports 1 to 4 and you no longer wanted
to mirror the traffic on Port 4, you could use this command to remove
the port from the mirror.

To view the ports of a port mirror, use the SHOW SWITCH command. To
change the destination port (that is, the port where the traffic is being
copied to), use the SET SWITCH MIRROR command. To completely delete
a port mirror, refer to the DESTROY MIRROR command.

Example

The following command removes Port 9 from a port mirror:

delete switch mirror port=9