The Port Mirroring commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
enable mirror
disable mirror
config mirror target
delete mirror
show mirror
Each command is listed in detail, as follows:
enable mirror
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To enable the mirroring feature:
DGS-1210-28MP/ME:5# enable mirror
Command: enable mirror
Success.
DGS-1210-28MP/ME:5#
disable mirror
Purpose
Syntax
Description
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
PORT MIRRORING COMMANDS
Parameter
<port 1-28> [add | delete] source ports <portlist> [both | rx | tx]
target <port> source <port>
Used to enable a previously entered port mirroring configuration.
enable mirror
The enable mirror command, combined with the disable mirror
command below, allows the user to enter a port mirroring
configuration into the Switch, and then turn the port mirroring on and
off without having to modify the port mirroring configuration.
None.
Only Administrator or operator-level users can issue this command.
Used to disable a previously entered port mirroring configuration.
disable mirror
The disable mirror command, combined with the enable mirror
command above, allows the user to enter a port mirroring
configuration into the Switch, and then turn the port mirroring on and
off without having to modify the port mirroring configuration.
231
30