DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
542
Chapter 51
Mirror Command List
config mirror
port <port> {[add | delete] source ports <portlist> [rx | tx | both]}
enable mirror
disable mirror
show mirror
config mirror
51-1
Description
This command is used to configure a mirror port − source port pair on the Switch. Traffic from any
source port to a target port can be mirrored for real-time analysis. A logic analyzer or an RMON
probe then can be attached to study the traffic crossing the source port in a completely unobtrusive
manner. If the target port is operating at a lower speed, the source port will be forced to drop its
operating speed to match that of the target port.
Format
config mirror port <port> {[add | delete] source ports <portlist> [rx | tx | both]}
Parameters
port
- The port that will receive the packets duplicated at the mirror port.
<port>
- Enter the port number to be configured here.
add
- (Optional) The mirror entry to be added.
delete
- (Optional) The mirror entry to be deleted.
source ports
- (Optional) The port that will be mirrored. All packets entering and leaving the
source port can be duplicated in the mirror port.
<portlist>
- Enter the list of port to be configured here.
rx
- (Optional) Allows the mirroring packets received (flowing into) the port or ports in the port list.
tx
- (Optional) Allows the mirroring packets sent (flowing out of) the port or ports in the port list.
both
- (Optional) Mirrors all the packets received or sent by the port or ports in the port list.
Restrictions
Only Administrators and Operators can issue this command.
Example
To add the mirroring ports:
DGS-3000-26TC:admin#config mirror port 3 add source ports 7-12 both
Command: config mirror port 3 add source ports 7-12 both
Success.
DGS-3000-26TC:admin#
Summary of Contents for DGS-3000 series
Page 1: ......