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

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
56-2
config mirror port
Description
This command is used to allow a range of ports to have all of their traffic also sent to a designated port
− where a network sniffer or other device can monitor the network traffic. In addition, you can specify
that only traffic received by, sent by or both is mirrored to the target port.
Format
config mirror port <port> {[add |delete] source ports <portlist> [rx | tx | both]}
Parameters
<port> - Specify the port that will receive the packets duplicated at the mirror port.
add - (Optional) Specify the mirror entry to be added.
delete - (Optional) Specify the mirror entry to be deleted.
source ports - (Optional) Specify the ports that will be mirrored. All packets entering and leaving the
source port can be duplicated in the mirror port.
<portlist> - Specify a range of ports to be configured.
rx - (Optional) Allow the mirroring of only packets received (flowing into) the port or ports in the port
list.
tx - (Optional) Allow the mirroring of only packets sent (flowing out of) the port or ports in the port list.
both - (Optional) Mirror all the packets received or sent by the port or ports in the port list.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To add mirroring target port 6 and the source ports 1 to 5 rx and tx packets:
DGS-3420-28SC:admin#config mirror port 6 add source ports 1-5 both
Command: config mirror port 6 add source ports 1-5 both
Success.
DGS-3420-28SC:admin#
56-3
config mirror group_id
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.
637

Advertisement

Table of Contents
loading

Table of Contents