D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
458
DGS-3627:admin# create mirror group_id 3
Command: create mirror group_id 3
Success.
DGS-3627: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.
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 2:
DGS-3627:admin# delete mirror group_id 3
Command: delete mirror group_id 3
Success.
DGS-3627:admin#
config mirror group_id
Purpose Used to configure mirror group on the switch.
Syntax
config mirror group_id <value 1-4> {target_port <port> | [add | delete] source ports
<portlist> [rx | tx | both] | state [enable | disable]}(1)
Description This command used to configure mirror group’s parameters. It can configure mirror group’s
target port, state and source ports. The mirror group target port can’t be a member of all
mirror groups’ source ports. Each mirror group’s target port can be the same port. But each
mirror group’s source ports can’t overlap.
Parameters
group_id - The mirror groups identify.
value - The mirror groups identify value.
target_port - The port that will receive the packets duplicated at the mirror port.
state - The mirror group state to enable or disable the mirror group function
add - The mirror source ports to be add.
delete - The mirror source ports to be delete
portlist - The port list of mirror group source ports
rx - Only the received packets on the mirror group source ports will be mirrored to the mirror
group target port.
tx - Only the sent packets on the mirror group source ports will be mirrored to the mirror
group target port.
both - Both the received and sent packets on the mirror group source ports will be mirrored to
the mirror group target port.
Restrictions Only Administrator and Operator-level users can issue this command.