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