xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
418
delete mirror group_id
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 delete mirror group 3:
DGS-3450:admin# delete mirror group_id 3
Command: delete mirror group_id 3
Success.
DGS-3450: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.
Example usage:
To configure mirror group 2 with state enable and add source ports 1:4-1:9:
DGS-3450:admin# config mirror group_id 2 state enable add source ports 1:4-1:9 both
Command: config mirror group_id 2 state enable add source ports 1:4-1:9 both
Success.
DGS-3450:admin#