D-Link xStack DGS-3420 Series Reference Manual page 643

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
Format
config mirror group_id <value 1-4> {target_port <port> | [add | delete] source ports <portlist>
[rx | tx | both] | state [enable | disable]}
Parameters
<value 1-4> - Enter the mirror group ID used here. This value must be between 1 and 4.
target_port - (Optional) Specifies the port that will receive the packets duplicated at the mirror
port.
<port> - Enter the target port number used here.
add - (Optional) Specifies the mirror source ports to be add.
delete - (Optional) Specifies the mirror source ports to be delete
source - (Optional) Specifies the source ports used.
ports - (Optional) Specifies the list of ports used as source ports.
<portlist> - Enter the list of ports to be used as the source ports here.
rx - (Optional) Specifies that only the received packets on the mirror group source ports will be
mirrored to the mirror group target port.
tx - (Optional) Specifies that only the sent packets on the mirror group source ports will be
mirrored to the mirror group target port.
both - (Optional) Specifies that both the received and sent packets on the mirror group source
ports will be mirrored to the mirror group target port.
state - (Optional) Specifies the mirror group state to enable or disable the mirror group function.
enable - Specifies that the mirror group state will be enabled.
disable - Specifies that the mirror group state will be disabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
Configure mirror group 2 with state enable and add source ports 4-9:
DGS-3420-28SC:admin# config mirror group_id 2 state enable add source ports 4-9
both
Command: config mirror group_id 2 state enable add source ports 4-9 both
Success.
DGS-3420-28SC:admin#
56-4
delete mirror group_id
Description
This command is used to delete a mirror group on the Switch.
Format
delete mirror group_id <value 1-4>
638

Advertisement

Table of Contents
loading

Table of Contents