
xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
416
DGS-3450:admin#config mirror port 1:3 add source ports 1:7-1:12 both
Command: config mirror port 1:3 add source ports 1:7-1:12 both
Success.
DGS-3450:admin#
enable mirror
Purpose
Used to enable mirror globally.
Syntax
enable mirror
Description
This command, combined with the disable mirror command below, allows you to enable or
disable mirror function without having to modify the mirror session configuration.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable mirroring function:
DGS-3450:admin# enable mirror
Command: enable mirror
Success.
DGS-3450:admin#
disable mirror
Purpose
Used to disable mirror globally.
Syntax
disable mirror
Description
This command, combined with the enable mirror command above, allows you to enable or
disable mirror function without having to modify the mirror session configuration.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable mirroring function:
DGS-3450:admin# disable mirror
Command: disable mirror
Success.
DGS-3450:admin#
show mirror
Purpose
Used to show the current ports mirroring configuration on the switch.
Syntax
show mirror {group_id <value 1-4>}