xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
417
show mirror
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-3450: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-3450: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:
To create mirror group 3:
DGS-3450:admin# create mirror group_id 3
Command: create mirror group_id 3
Success.
DGS-3450:admin#
delete mirror group_id
Purpose
Used to delete a mirror group on the switch.
Syntax
delete mirror group_id <value 1-4>
Description
This command used to delete a mirror group.