User`s guide

DGS-3100 Gigabit Ethernet Switch Manual
86
13
PORT MIRRORING COMMANDS
The Port Mirroring commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the fo
llowing table.
Command Parameter
config mirror ress | egress | both] target <port> source <port> direction [ing
delete mirror ce <port> target <port> sour
show mirror
Each command is listed in de
tail, as follows:
config mirror
Purpose To configure a mirror port source port pair on the Switch.
Syntax
r target <port> source <port> direction [ingress |
config mirro
egress | both]
Description The config mirror command allows a port to have all of its traffic
to a designated port, where a network sniffer or other
n monitor the network traffic. In addition, you can specify
that only traffic received by or sent by one or both is mirrored to the
target port.
also sent
device ca
Parameters target <port> Specifies the port that mirrors traffic forwarding.
ort or ports being mirrored. This
to) the
f) the
kets received or sent by the
source <port> – Specifies the p
cannot include the target port.
ingress – Allows mirroring of packets received by (flowing in
source port.
egress – Allows mirroring of packets sent to (flowing out o
source port.
both – Allows mirroring of all the pac
source port.
Restrictions
nd.
A target port cannot be listed as a source port. Only administrator-
level users can issue this comma
Example usage:
To add the mirroring ports:
DGS3100 ort 2 direction ingress
Success.
DGS3100
# config mirror source 1 target p
#