MSAN-210
MVTX260x Port Mirroring
Application Note
Contents
1.0 Purpose
2.0 Scope
3.0 Features
3.1 Unmanaged mode
3.2 Managed Mode
4.0 Flexible Port Mirroring Support
Issue 1
October 2002
3.1
Unmanaged mode
1.0
Purpose
This application note describes the port mirroring
usage on the MVTX260x chipsets.
The port mirroring functionality may be set by external
pins on the MVTX260x. If this option is selected, then
there can only be one mirroring pair, and the
destination port must be port 23. There are 6 pins
(PM_CT[5:0]). The first 5 bits select the port to be
mirrored. The last bit selects either ingress or egress
data. Again the unmanaged mode port mirroring
function does not apply to port 7 and 15. The port
mirroring control via external pins can be applied to the
managed mode as well.
2.0
Scope
This document will cover Port Mirroring for the
MVTX260x device. The reader should be familiar with
the MVTX260x data sheet before reading this
application note
3.2
Managed Mode
In management mode, the port mirroring is set via four
registers:
鈥?/div>
MIRROR1_SRC: Sets the source port for the first
port mirroring pair. Bits [4:0] select the source port
to be mirrored. An illegal port number is used to
disable mirroring (which is the default setting). Bit
[5] is used to select between ingress (Rx) or
egress (Tx) data. Bit [7] is used to select between
external pin controls and register control for port
mirroring.
MIRROR1_DEST: Sets the destination port for the
first port mirroring pair. Bits [4:0] select the
destination port to be mirrored. The default is port
23.
MIRROR2_SRC: Sets the source port for the
second port mirroring pair. Bits [4:0] select the
source port to be mirrored. An illegal port number
is used to disable mirroring (which is the default
setting). Bit [5] is used to select between ingress
(Rx) or egress (Tx) data.
MIRROR2_DEST: Sets the destination port for the
second port mirroring pair. Bits [4:0] select the
destination port to be mirrored. The default is port
0.
3.0
Features
This application note describes the port mirroring
usage on the MVTX260x chipsets. The MVTX260x
chips provide port-mirroring function on the 10/100M
ports. The traffic can be mirrored from either receive or
transmit stream except on ports 7 (8th), 15 (16th), and
23 (24th). Ports 7, 15, and 23 take advantage of the
Zarlink security mirroring feature which allows the
mirrored data to be viewed by the CPU through the
software steps outlined in this application note. For the
unmanaged switches, port 23 is the designated mirror-
to port. The MVTX260x supports two such mirrored
source-destination pairs. A mirror port cannot also
serve as a data port.
鈥?/div>
鈥?/div>
鈥?/div>
Zarlink products and associated documents marked "Eng" ("ENGineering Samples") are or relate to products in development and not released to production. All
ENGineering Samples are supplied only for testing and on the express understanding that (i) they have not been fully tested or characterized under intended modes
of operation and may contain defects; (ii) Zarlink makes no representation or warranty regarding them; and (iii) Zarlink disclaims any liability for claims, demands and
damages, including without limitation special, indirect and consequential damages, resulting from any loss arising out of the application, use or performance of them.
ENGineering Samples may be changed or discontinued by Zarlink at any time without notice.
1
next