Config Mirror - D-Link DGS-1100-16/ME Reference Manual

Dgs-1100/me series metro ethernet managed switch
Table of Contents

Advertisement

Parameters
Restrictions
Example usage:
To disable mirroring configurations:

config mirror

Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To set the mirroring ports:
DGS-1100-24P/ME:admin#config mirror target 4 source ports 1-3 both
Command: config mirror target 4 source ports 1-3 both
Success.
DGS-1100/ME Metro Ethernet Managed Switch CLI Reference Guide
off without having to modify the port mirroring configuration.
None.
Only administrator-level users can issue this command.
DGS-1100-24P/ME:admin#disable mirror
Command : disable mirror
Success.
DGS-1100-24P/ME:admin#
To configure a mirror port − source port pair on the Switch.
config mirror target <port> 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 <port> − Specifies the port that mirrors traffic forwarding.
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-
level users can issue this command.
76

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents