xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
DGS-3400:4# config mirror port 1 add source ports 2-7 both
Command: config mirror port 1 add source ports 2-7 both
Success.
DGS-3400:4#
Example usage:
Command: config mirror 1 delete source 2-4
To delete the mirroring ports:
DGS-3400:4#config mirror port 1 delete source port 2-4
Success.
DGS-3400:4#
enable mirror
Used to enable a previously entered port mirroring configuration.
Syntax
enable mirror
Description This command, combined with the disable mirror command below,
allows you 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-level users can issue this command.
Purpose
Example usage:
To enable mirroring configurations:
DGS-3400:4#enable mirror
Command: enable mirror
Success.
DGS-3400:4#
disable mirror
Used to disable a previously entered port mirroring configuration.
Syntax
disable mirror
Description This command, combined with the enable mirror command above,
allows you 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-level users can issue this command.
Purpose
Example usage:
To disable mirroring configurations:
101