DGS-3100 Gigabit Ethernet Switch Manual
86
13
P
ORT
M
IRRORING
C
OMMANDS
The Port Mirroring commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following 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
#
Summary of Contents for DGS-3100 SERIES
Page 1: ...D Link DGS 3100 Series Gigabit Stackable Managed Switch CLI Manual V1 00...
Page 77: ...69 DGS3100 Success...
Page 83: ...75 show fdb aging_time C Address Aging Time 5 DGS3100 DGS3100 Unicast MA...
Page 143: ...135 DGS3100 Delete ssh crypto bob Success DGS3100...
Page 178: ...DGS 3100 Gigabit Ethernet Switch Manual 170 Ports 2 2 Total Entries 2 DGS3100...
Page 188: ......
Page 199: ...D Link D Link D Link D Link 495 744 00 99 http www dlink ru email support dlink ru...