xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
457
DGS-3627:admin# disable mirror
Command: disable mirror
Success.
DGS-3627:admin#
show mirror
Purpose
Used to show the current ports mirroring configuration on the switch.
Syntax
show mirror {group_id <value 1-4>}
Description
The show mirror command displays the current mirror function state and mirror session
configuration on the switch. If don’t specify the “group_id” parameter, display the all mirror
settings.
Parameters
group_id
- The mirror group identify.
value
- The mirror group identify value.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To display mirroring configuration:
DGS-3627:admin# show mirror
Command: show mirror
Mirror Global State: Enabled
Group
State
Target Port
Source Ports
-----------------------------------------------------
1
Enabled
2:1
RX: 1:1
TX: 1:1
3
Enabled
3:5
RX: 1:24
TX: 1:24
DGS-3627:admin#
create mirror group_id
Purpose
Used to create a mirror group on the switch.
Syntax
create mirror group_id <value 1-4>
Description
This command used to create a mirror group. If the mirror group has existed, do nothing and
return success.
Parameters
group_id
- The mirror groups identify.
value
- The mirror groups identify value.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
Create mirror group 3: