Last month, we looked at basic DLSw. This month, let's look into some of the other tricks DLSw can do.
In DLSw, the WAN peer routers normally run a TCP/IP application to pass data back and forth. TCP transport provides reliability and flow control. Running on top of IP allows for dynamic rerouting around outages. Normally, DLSw provides local termination, where the Source Route Bridging (SRB) Routing Information Fields (RIF's) are added or removed by the DLSw routers.
FST uses IP with sequence numbers added to the IP headers. It is routable but not reliable. It is suggested for use across backbones, e.g. to carry LLC2 Token Ring traffic across a FDDI or ATM backbone (without using the newer code to do SRB onto FDDI, for which there is no standard). The other choice is to use 11.2 code and do DLSw right onto FDDI (same source-bridge statement as for Token Ring).
TCP/IP or Frame Relay direct transport is required if you want local acknowledgement. In the other cases, the acknowledgements are carried end-to-end.
To configure Frame Relay with no local acknowledgements, set up the Frame Relay serial port with commands such as the following:
interface serial 0To instead configure to allow local acknowledgements over Frame Relay, change that last line to:
encapsulation frame-relay
frame-relay map dlsw 123
frame-relay map llc2 123Of course, in both cases you'll also have a line somewhere that references the remote peer by DLCI (123 in this example):
dlsw remote-peer 0 frame-relay interface serial 0 123Warning: Direct and FST transports are Cisco-only, proprietary mechanisms.
DLSw can load balance if there are multiple paths to a destination MAC address or NetBIOS name. The default is to just use the first path chosen, or lowest configured cost (another option on the remote-peer statement). This is referred to as fault tolerance mode. But if you configure
then DLSw will load balance sessions across the duplicate paths instead.dlsw duplicate-path-bias load-balance
All that's required to configure this is to set up transparent bridging on one or more Ethernet segments. Say you've set up transparent bridging using bridge-group 1. Then add the following to your DLSw configuration:
If you contrast the syntax for the "dreaded" source-bridge transparent command you'll see just how much easier this is!dlsw bridge-group 1
Oh, and if you hadn't noticed, this sort of behavior is the sort of thing you'd like for Dial-On-Demand SNA!
The configuration options go on the tcp remote-peer statement. They are:
dlsw remote-peer 0 tcp 10.5.5.5 dynamic no-llc 10 inactivity 20Warning: dynamic peers are a Cisco-only DLSw feature.
The other thing needed is to use the keepalive and timeout options, so that the dial-up line can be de-activated when not needed. Set keepalive to 0 so the TCP connection stays alive even when the line is down, and so that TCP keepalives don't keep bringing the dial-up line back up. Optionally set timeout (the TCP retransmit limit) to something lower than its default 90 seconds, since you're probably dealing with a link with lowered reliability.
All this ends up looking like the following configuration command:
dlsw remote-peer 0 tcp 10.5.5.5 dynamic no-llc 10 inactivity 20 keepalive 0 timeout 5That's just a remote-peer statement with a lot of options at the end of the line.
Another option that fits right in with this is promiscuous . This goes on the local-peer statement, and tells the router to accept DLSw connections from non-configured peers.
dlsw local-peer peer-id 10.1.1.1 promiscuousPromiscuous peering can make large-scale DLSw easier to configure (and perhaps less secure?). It might be handy in DLSw Frame Relay networks, configured on the hub router in a star topology.
By the way, configuring all these options for many remote peers might get tedious. That's why Cisco added the dlsw peer-on-demand-defaults tcp (or fst ) commands. Sample use:
dlsw peer-on-demand-defaults tcp inactivity 20 keepalive 0 local-ackThe dynamic and no-llc options do not apply to this command.
A DLSw port list is a list of Token Ring,
Ethernet, or Serial interfaces. It is more complex than a
ring list but behaves similarly.
Corrected 1/15/01: port lists cannot include Ethernet interfaces. Ring lists can include the virtual ring number for the Ethernet bridge group. However, in DLSw you don't explicitly assign Ethernet a virtual ring number, so using a dlsw bridge group is the way to go to control Ethernet ports.
Example of a ring-list:
dlsw ring-list 50 rings 1024 1025 1026or a port-list:
dlsw remote-peer 50 tcp 10.5.5.5
dlsw port-list 50 serial 0
dlsw port-list 50 token 0
dlsw port-list 50 ethernet 2
dlsw remote-peer 50 tcp 10.5.5.5
dlsw bgroup-list 50 bgroups 1 3 5
dlsw remote-peer 50 tcp 10.5.5.5
Dr. Peter J. Welcher (CCIE #1773, CCSI #94014) is a Senior Consultant with Chesapeake NetCraftsmen. NetCraftsmen is a high-end consulting firm and Cisco Premier Partner dedicated to quality consulting and knowledge transfer. NetCraftsmen has nine CCIE's, with expertise including large network high-availability routing/switching and design, VoIP, QoS, MPLS, network management, security, IP multicast, and other areas. See http://www.netcraftsmen.net for more information about NetCraftsmen. Pete's links start at http://www.netcraftsmen.net/welcher . New articles will be posted under the Articles link. Questions, suggestions for articles, etc. can be sent to pjw@netcraftsmen.net .