Config Mirror Target - D-Link DGS-1100-06/ME Cli Reference Manual

Metro ethernet managed switch
Hide thumbs Also See for DGS-1100-06/ME:
Table of Contents

Advertisement

Restrictions
Example usage:
To disable mirroring configurations:

config mirror target

Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To add the mirroring ports:
DGS-1100-06/ME:5#config mirror target 4 add source ports 1-3 both
Command: config mirror target 4 add source ports 1-3 both
Success
DGS-1100-06/ME:5#
DGS-1100-06/ME Metro Ethernet Managed Switch CLI Reference Guide
Only Administrator or operator-level users can issue this command.
DGS-1100-06/ME:5#disable mirror
Command: disable mirror
Success
DGS-1100-06/ME:5#
To configure a mirror port − source port pair on the Switch.
config mirror target <short 1-28> [add | delete] source ports
<portlist> [both | rx | tx]
The config mirror target command allows a port to have all of its
traffic also sent to a designated port, where a network sniffer or
other device can monitor the network traffic. In addition, one can
specify that only traffic received by or sent by one or both is mirrored
to the target port.
target <short 1-28> − Specifies the port that mirrors traffic
forwarding.
[add | delete] − Specifies to add or delete the target port.
source ports <portlist> – Specifies the port or ports being mirrored.
This cannot include the target port.
rx – Allows mirroring of packets received by (flowing into) the source
port.
tx – Allows mirroring of packets sent to (flowing out of) the source
port.
both – Allows mirroring of all the packets received or sent by the
source port.
Comment: The user can define up to 8 source ports and one
destination port. One source port can be configured each time using
one CLI command, So in order to configure multiple source ports,
multiple CLI commands should be used.
A target port cannot be listed as a source port. Only Administrator or
operator-level users can issue this command.
122

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents