Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* ?SQE needed on a DEQNA
@ 1993-05-03 21:05 Michael F. Santangelo
  1993-05-04 17:35 ` oberman
  0 siblings, 1 reply; 2+ messages in thread
From: Michael F. Santangelo @ 1993-05-03 21:05 UTC (permalink / raw)


Subject says it all.  For a tranceiver connected to a DEQNA, should
I have SQE enabled or disabled?
--
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Mike F. Santangelo                    + Internet: mike@cbl.umd.edu      [work]
Dept. Head-Computer & Network Systems +           mike@kavishar.umd.edu [home]
UMCEES / CBL (Solomons Island)        + BITNET:   MIKE@UMUC  [fwd to mike@cbl]


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: ?SQE needed on a DEQNA
  1993-05-03 21:05 ?SQE needed on a DEQNA Michael F. Santangelo
@ 1993-05-04 17:35 ` oberman
  0 siblings, 0 replies; 2+ messages in thread
From: oberman @ 1993-05-04 17:35 UTC (permalink / raw)


In Article <1s41fcINNe8e@cbl.umd.edu>
mike@starburst.umd.edu (Michael F. Santangelo) writes:
>Subject says it all.  For a tranceiver connected to a DEQNA, should
>I have SQE enabled or disabled?

ENABLED ON ALL TERMINAL EQUIPMENT! This is especially important because DEC
drivers actually work. Since most Ethernet drivers simply ignore SQE, it'ss not
too important, but DEC does their driver correctly and things will work poorly
to not at all (with lots of errors logged) if SQE is off.

802.3 mandates SQE for all devices except repeaters (where it is prohibited).

Here is the SQE section of the BIG-LAN FAQ. Pleae feel free to send me any
coments on it.

                         SQE, CPT, and Ethernet
                    (Or, Why does everyone look confused?)

This is a very brief discussion of SQE and CPT (both commonly referred to as
"heartbeat") for IEEE 802.3 and  Ethernet. For really gory details, see the
appropriate documents, IEEE standard 802.3, ISO standard 8802-3, and the DIX
Ethernet V2 Standard. (The first 2 references are identical.) Ethernet V1 is a
very different beast and is not covered here in any way. (Besides, it did not
have the concept of heartbeat, but used the term for something entirely
different.)

First, SQE and CPT are not quite the same thing. CPT is a part of DIX Ethernet
Version 2 and is simply a test of collision detection functionality in the MAU
(that's the correct name for a transceiver, Media Access Unit). It is ALWAYS
present in Ethernet V2 MAUs and can't ever be disabled (without modifying the
hardware). It is required for correct operation of ALL Ethernet V2 equipment.

SQE, on the other hand, is part of the 802.3 specification and performs a
number of MAU tests and "reports" to the controller if all is well. The
"report" is in the form of a pulse nearly identical to the V2 CPT pulse, but
with slightly differing timing and electical specifications. It should be
switchable, as 802.3 requires SQE for all terminal equipment, but prohibits it
for repeaters.

SQE and CPT both appear as a signal in the collision lines from the MAU to the
controller after every write. This is why MAUs with SQE enabled and with
display LEDs show a collision every time they show a write. THIS IS NORMAL!

Quick digression: What is a collision? Of course, we all know that a collision
is when two controllers start to transmit at the same time (more of less) and
that when this happens both will stop and wait for a sort of random interval
and then retransmit if carrier is not present. This function is critical to
proper network operation. A MAU which can't detect a collision can mess up a
network badly. This makes it critical to be able to quickly isolate "broken"
MAUs. If you don't understand this, read any of the old papers on multiple
access nets, especially the old Aloha Net.

In practice, MAUs hardly ever fail. BUT IF ONE DOES, YOU MAY HAVE A BIG
PROBLEM!

While SQE indicates a bit more than heartbeat did and is slightly different in
both timing and electrical characteristics, they are essentially the same from
the perspective of most terminal equipment and you can replace an Ethernet V2
MAU with an 802.3 MAU with SQE enabled most of the time. (A notable exception
is an Ethernet repeater which really requires an Ethernet V2 MAU. There may be
others.) You can even replace an 802.3 MAU with an Ethernet V2 one most of the
time. In fact, there are "fixes" for some Ethernet V2 MAUs to disable heartbeat
and make them into something like an 802.3 MAU with SQE disabled. This also
seems to work almost all the time.

Anyone still with me? OK

RULE FOR SQE. Always turn it on except for repeaters. There should be no
exceptions to this rule, but there are. Some manufacturers can't seem to read
standards (or just don't care). As a result there are some terminal devices
that get upset when they see SQE. I have been told that this is true of the
cisco AGS, but not the IGS. Not that there is any documentation on this.
Several email exchanges with cisco folks have not clarified this.

There is one BIG special case, the Ethernet fan-out box, most commonly a DEC
DELNI. This box has only one MAU, so it repeats the CPT (it's a V2 device) that
it sees from the MAU on the "master" port. If the master port is disabled, CPT
is generated internally to keep things happy.

But what if you plug a repeater into a DELNI? You can disable CPT by using an
802.3 MAU with SQE disabled. or, if you don't use the master port, turn it on
and plug an Ethernet loopback connector into the master port. In either case,
CPT is disabled to ALL PORTS! No way to enable it on only certain ports.

DELNIs produce other oddities. They shorten the total maximum length of the AUI
cable used between the system and the MAU to 35 meters. (And don't forget to
include the length of the cable between the interface and the connector on the
rear of the cabinet.) This number is the sum of the cable from the host to the
DELNI and from the DELNI to the MAU. Two 20 meter cables and you are over the
limit! Because of these and other oddities, I try to avoid DELNIs. And I NEVER
EVER plug a repeater of any type into one.

Other companies make 802.3 equivalents to the DELNI on which SQE may be
switched on each port. While this fixes one problem, the timing concerns of
fan-out boxes remains. Buyer beware! Neither 802.3 nor Ethernet V2 standards
cover fan-out boxes in any way, so there is no way to really claim that they
meet standards (or don't).

We've now covered the basics. So what happens when a MAU fails? In theory,
every time it transmits a packet, an error is logged. This happens on some
equipment. But most software I've dealt with simply ignores the error flag and
does nothing. So SQE makes absolutely no difference to these systems. THIS IS
BAD SOFTWARE DESIGN.

Once in a while a MAU does fail. If it is on some device that does not log SQE
failures or has a MAU with SQE turned off, you don't know what is happening.
If you are on 10baseT, it can be isolated to a hub pretty quickly, but on coax
you are reduced to segmenting the cable (physically disconnecting it) until you
have isolated the problem. This is NOT fun and makes the network manager very
unpopular since the network tends to be down for a LONG time. It took about 4
hours last time I had this problem and could have taken longer.

What's a network manager supposed to do? Complain vigorously to vendors of
equipment that don't adhere to the standard. Complain equally to vendors of
software that doesn't bother to log the failures. SNMP is no good if the agents
don't have any information to send out.

If anyone is not confused by now, congratulations. I think I may even have
confused myself.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-05-04 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-05-03 21:05 ?SQE needed on a DEQNA Michael F. Santangelo
1993-05-04 17:35 ` oberman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox