130
DCS-3950 series Ethernet switch manual
source port ;both refers to the flow both into and out from the mirror source
Command mode: Global Mode
Usage Guide:This command is for configuring the source port of the mirror. There is no
limitation on the DCS-3950 to the mirror source port, which can be one port or many ports,
and not only can the bilateral flow be sent out from or received into the mirror source port,
but also the sent and received flows are available on single mirror source port. While
mirroring several ports, their direction can vary but have to be configured by several times.
The speed rate of the mirror source port and the destination port should be the same or
else the packet may be lost. If the keyword [rx | tx | both] is not specified, then both is
chosen by the system by default.
Notice: Session number of source and destination port in pairs should be the same.
Example: Configure the sent flow of the 1/1-4 mirror source port and the receiving flow of
the 1/5 mirror port
Switch(Config)#monitor session 1 source interface ethernet 0/0/1-4 tx
7.2.3.3.2 monitor session destination interface
Command: monitor session <session> destination interface <interface-number>
no monitor session <session> destination interface <interface-number>
Function: None
Parameters: <session> is the session number for the mirror destination, which is limited
between 1 and 100. However, according to the number of stacking, only one session can
be supported in local mode. It can not be determined whether the session is in global
mode or in local mode. For both mode, there will be a unique session number for each
session. <interface-number> is the port number for the mirror destination.
Command mode: Global Mode.
Usage Guide: DCS-3950 only supports one destination mirror port by the time the
document is written. To be mentioned, the destination mirror port should not be the
member of port aggregations. And it is recommended that the throughput of a port should
be no less than the sum total of throughput of individual ports.
Notice: Session numbers for source and destination ports should be the same.
Example: Configure the destination of mirror ports to be 0/0/7.
Switch(Config)#monitor session 1 destination interface ethernet 0/0/7
7.2.3.4 Port Mirroring Example
Please refer to the Port Configuration Example section.
7.2.3.5 Port Mirroring Troubleshooting.