DGS-1100/ME Metro Ethernet Managed Switch CLI Reference Guide
off without having to modify the port mirroring configuration.
Parameters
None.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To disable mirroring configurations:
DGS-1100-24P/ME:admin#disable mirror
Command : disable mirror
Success.
DGS-1100-24P/ME:admin#
config mirror
Purpose
To configure a mirror port − source port pair on the Switch.
Syntax
config mirror target <port> source ports <portlist> [both | rx |
tx]
Description
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.
Parameters
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.
Restrictions
A target port cannot be listed as a source port. Only administrator-
level users can issue this command.
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.
76