Bomara Associates Logo

GarrettCom Fiber and Copper Hardened Ethernet Products - Presented by Bomara Associates

GarrettCom Hardened Industrial Ethernet Networking Products - By Bomara

Link-Loss-Learn on Magnum mP62 Ethernet Switches... a Technical Brief

Introduction

GarrettCom’s Link-Loss-LearnTM feature, designed to simplify and speed up recovery for Ethernet switches used in redundant LAN topologies, is implemented in the MagnumTM mP62 Ethernet Switch. It addresses the time delay associated with changing the network addresses that are normally stored in a switch’s memory. With Link-Loss-Learn (patent pending), Magnum mP62s are better able to handle some fault recovery situations, and they may improve network reliability and provide faster fault recovery accordingly. Without a redundant network topology application, the Link-Loss-Learn feature has no significant benefit and should be turned off via the applicable MNS-mP software command.

The managed Magnum mP62 Hardened Ethernet Switch, designed for “edge” applications where data devices connect into the LAN, is the first Magnum product to offer the Link-Loss-Learn feature.

The Link-Loss-Learn feature is placed into operation in an mP62 Switch under the users control. It is not “automatic,” but instead it is turned on with software commands by the user at initial set-up of the mP62’s management software, MNS-mP. If Link-Loss-Learn is not turned on, the mP62 Switch operates and functions the same as an ordinary Ethernet Switch, learning the MAC addresses of attached nodes and retaining those addresses in memory until they eventually age out or power is turned off. The Link-Loss-Learn feature will improve fault recovery in ring topologies, but it can never hurt by going into operation unexpectedly.

The user enables Link-Loss-Learn on a port-by-port basis using commands in the MNS-mP management software. A typical selection of ports would enable Link-Loss-Learn on the two fiber ports since these ports are normally used to connect the mP62 into a redundant ring structure network. However, the Link-Loss-Learn feature may be enabled on any combination of copper and fiber ports - - or it can be totally inactive. The port-enable choices depend upon the desired switch behavior to best serve the application.

How does Link-Loss-Learn assist with Fault Recovery?

When a LAN is functioning normally, the LINK indicator is present for each port in use. A fault (a cable cut, or a unit losing Normal Operationpower, or a unit failing while in operation) will usually cause LINK to be lost on one or more ports. Therefore, the loss of LINK during normal operation is interpreted as a signal that something has gone wrong, and in a redundant LAN, recovery operations must be brought into action to restore Ethernet traffic to its expected performance level.

When LINK fails on a port in a redundant LAN, another back-up port is expected to take over and keep the network packets flowing. The back-up port is connected and ready to provide service. However, a normal Ethernet Switch engine will continue to use its old address table, and will continue to try to forward packets to the failed port. This will go on until the address table aging time expires for the addresses whose connection was lost (which can be as much as 3 to 5 minutes) or until nodes re-announce their presence for service purposes.

When standard 802.1d Spanning Tree Protocol is implemented, once a topology change is detected, the STP aging timer is set A Fault Occursto 15 seconds until the topology is re-computed and / or reconfigured. The process of re-computing as well as reconfiguring the LAN can take equally as long, even in a simple set-up. (Note - complex set-ups such as multi-level meshes take much longer). For some industrial networks, this time of less than a minute for fault recovery is an acceptable delay, and standard Spanning Tree is an acceptable solution. For faster fault recovery and restoration times, Link-Loss-Learn can help.

The Link-Loss-Learn feature improves the recovery time by forcing the mP62 Switch’s address table to be flushed when LINK is lost on any designated port. The effect on the operation of the Switch is the same as upon power up. The first packet is broadcasted and its address is learned. This continues rapidly until all addresses are learned and operation is normal . . . but with new information now in the address table on how to switch packets. Some bandwidth is used unnecessarily during the re-learning, but the recovery process is not delayed. Thus, the immediate re-learning of the addresses of attached devices results in fast re-routing of the network traffic passing through the mP62.

Because the Link-Loss-Learn feature is very fast (it takes just a few milliseconds), the mP62 Switch will not be the gating item for fault recovery in a redundant LAN. Whether the redundant paths upstream are controlled by 802.1d Standard Spanning Tree Protocol (STP), or by 802.1s Tagged VLAN Spanning Tree Protocol, or by 802.1w Rapid Spanning Tree Protocol, or manually such as in a bench-test situation, the mP62 with Link-Loss-Learn can reset its address table and participate in the LAN configuration change and network recovery faster than the other Ethernet elements.

For redundant systems, simplicity is a virtue. Redundant LANs and fail-over scenarios are necessarily complicated, but complexity can also add to the risk that not all will go well when the critical time arrives. It is better to keep things as simple as possible and minimize complexity. The Link-Loss-Learn feature fits in with this philosophy. Typically, the Magnum mP62 is used Switches with Spanning Treeas an edge switch in a redundant LAN configuration. While an mP62 can run Spanning Tree and can participate in failure recovery schemes accordingly, it can also perform its role in a redundant LAN recovery scenario via the Link-Loss-Learn feature simply and independently of other things that are going on. One less thing to go 3 out of 4 wrong. Most applications are better served with the mP62 running with the simple Link- Loss-Learn feature than with the mP62 running the more complex Spanning Tree Protocol. The mP62 product’s capability, with both Spanning Tree and the Link-Loss-Learn feature available via MNS-mP set-up commands, allows the user to choose.

Rings and Strings, and Link-Loss-Learn with Propagation

Frequently, a redundant system design using Magnum mP62 Switches as edge devices has the mP62s deployed over a Blocked Portdistance and interconnected using the fiber ports connected in a string, i.e., daisy chained from one mP62 to the next with fiber media. It is common to continue from the last unit in a string, connecting the 2nd fiber port of the last mP62 in a given Blocked Port string back into a redundant LAN connection, thus forming a “ring” of mP62 units. Such a ring must have a port somewhere in the series operating blocked (i.e., not passing packets) so that a correct Ethernet topology exists. The Spanning Tree or similar logic (such as S-RingTM) controls which port is blocked in order to manage operating the network and to facilitate recovery from faults.


A Magnum mP62 in a string or ring could experience a link lossLink-Loss Propagation #1 on a fiber port, indicating a fault has occurred and the string has been broken. Recovery action needs to take place, and an mP62 with the Link-Loss-Learn feature enabled would immediately dump its address table and be ready to re-learn addresses and operate in a changed network configuration. But, what about the other mP62 units in the string or ring . . . how will they know to do the same thing?

For this reason, the Link-Loss-Learn feature in mP62s includes a “propagation” function that, upon Link loss on one enabled port, temporarily drops Link on any other Link-Loss-Learn enabled ports to propagate the action in the units in the string or ring.



Link-Loss Propagation #2The Propagation function associated with the mP62s Link-Loss-Learn feature is always present, and its operation only affects those mP62 ports that have the Link-Loss-Learn feature enabled. Users have control over the propagation accordingly, and can control their redundant LAN set-up with mP62s to best suit their application.











Summary

Using the Link-Loss-Learn feature with Propagation, the Magnum mP62 Hardened Ethernet Switch with management can simplify and speed up recovery from faults in redundant Ethernet LAN configurations. The Link-Loss-Learn feature is applicable to both mesh and ring or string topologies. Typically, using the simple Link-Loss-Learn feature will be better than running Spanning Tree or Rapid Spanning Tree on every Switch in a redundant LAN, increasing reliability by reducing complexity without compromising fault recovery performance.

2003 GarrettCom, Inc. Printed in United States of America 05/03. GarrettCom, Inc. reserves the right to change specifications, performance characteristics and/or model offerings without notice. GarrettCom, Magnum, Link-Loss-Learn (patent pending), S-Ring (patent pending), and Personal Switch are trademarks and Personal Hub is a registered trademark of GarrettCom, Inc. NEBS is a registered trademark of Telcordia Technologies. UL is a registered trademark of Underwriters Labs.
GarrettCom, Inc.




Bomara Associates Phone: 800.5BOMARA (800.526.6272) Phone: 978.452.2299 Fax: 978.452.1169 3 Courthouse Lane, Chelmsford, MA 01824 USA

Garrett Home Bomara Homepage Request Information


email: bobr@bomara.com      web: www.bomara.com
Serving the marketplace for over 35 years