![D-Link xStack DGS-3612G series Cli Manual Download Page 130](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854130.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
127
config mirror port
rx
−
Allows the mirroring of only packets received by (flowing into)
the port or ports in the port list.
tx
−
Allows the mirroring of only packets sent to (flowing out of) the
port or ports in the port list.
both
−
Mirrors all the packets received or sent by the port or ports in
the port list.
Restrictions
The Target port cannot be listed as a source port. Only
Administrator and Operator-level users can issue this command.
Example usage:
To add the mirroring ports:
DGS-3627:5#config mirror port 1:1 add source ports 1:2-1:7 both
Command: config mirror port 1:1 add source ports 1:2-1:7 both
Success.
DGS-3627:5#
Example usage:
To delete the mirroring ports:
DGS-3627:5#config mirror port 1 delete source ports 1:2-1:4 both
Command: config mirror port 1 delete source ports 1:2-1:4 both
Success.
DGS-3627:5#
enable mirror
Purpose
Used to enable a previously entered port mirroring configuration.
Syntax
enable mirror
Description
This command, combined with the
disable mirror
command below,
allows users 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.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this
command.