beautypg.com

Delete switch mirror – Allied Telesis AT-S39 User Manual

Page 86

background image

Chapter 10: Port Mirroring Commands

86

DELETE SWITCH MIRROR

Syntax

delete switch mirror srcport=port

Parameters

srcports

Specifies the 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 were 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.

Note

To view the ports of a port mirror, use the SHOW CONFIG command.

Note

If you want to change the destination port (that is, the port where
the traffic is being copied to), use the SET SWITCH MIRROR
command.

Example

The following command removes Port 9 from a port mirror:

delete switch mirror port=9