1 7/25/2016 23:34 Rivier College CS575: Advanced LANs Chapter 8: Token Ring LANs, FDDI and MANs Chapter 8 Token Ring LANs, FDDI & MANs 1 2 7/25/2016 23:34 Part 1: IEEE 802.5 Token Ring Medium Access Control 0 0 0 0 0 0 0 Chapter 8 MAC Protocol MAC Frame Token Ring Prority Token Maintenance Early Token Release Dedicated Token Ring IEEE 802.5 Physical Layer Token Ring LANs, FDDI & MANs 2 3 7/25/2016 23:34 Scope of LAN Protocols Chapter 8 Token Ring LANs, FDDI & MANs 3 4 7/25/2016 23:34 Token Ring Operation Chapter 8 Token Ring LANs, FDDI & MANs 4 5 7/25/2016 23:34 IEEE 802.5 Frame Format Chapter 8 Token Ring LANs, FDDI & MANs 5 6 7/25/2016 23:34 IEEE 802.5 MAC Frame Control Bits Chapter 8 Token Ring LANs, FDDI & MANs 6 7 7/25/2016 23:34 Token Ring Priority Eight levels of priority supported by TWO (3-bit) FIELDS in each data frame and token: a priority field and a reservation field 0 Pf = priority of frame to be transmitted by station 0 Ps = service priority: priority of current token 0 Pr = value of Ps as contained in the last token received by this station 0 Rs = reservation value in current token 0 Rr = highest reservation value in the frames received by this station during the last token rotation Two stacks are maintained by each station, one for reservation and one for priorities: 0 Sx = stack used to store new values of token priority 0 Sr = stack used to store old values of token priority Chapter 8 Token Ring LANs, FDDI & MANs 7 8 7/25/2016 23:34 Token Ring Priority Algorithm ALGORITHM: 1. A Station wishing to transmit must wait for a token with Ps < Pf . 2. While waiting, a Station may reserve a future token at Pf . If a data frame goes by, and if Rs < Pf , then the Station may set the reservation field of the frame to its priority (Rs Pf ). If a token frame goes by, and if (Rs < Pf AND Pf < Ps), then the Station sets (Rs Pf ). This has the effect of preempting and lower-priority reservation. 3. When a Station seized a token, it sets the token bit to 1 to start a data frame, sets the reservation field of the data frame to 0, and leaves the priority field unchanged (the same as that of the incoming token frame). 4. Following transmission of one or more data frames, a Station issues a new token with the priority and reservation fields set as indicated in Table 8.2. Chapter 8 Token Ring LANs, FDDI & MANs 8 9 7/25/2016 23:34 Table 8.2 Actions Performed by the Token Holder to Implement the Priority Scheme [VALE92] Chapter 8 Token Ring LANs, FDDI & MANs 9 10 7/25/2016 23:34 IEEE 802.5 Token Ring Priority Scheme Chapter 8 Token Ring LANs, FDDI & MANs 10 11 7/25/2016 23:34 Dedicated Token Ring 0 New Access Control Technique: Dedicated Token Ring (DTR), 1998 0 A Ring can be configured in a star topology by use of a hub, or 0 0 0 0 concentrator. The token-passing algorithm can be used so that the ring capacity is still shared and access control is determined by the token. It is also possible to have the central hub function as a switch with the connection between each station as a full-duplex point-to-point link. The DTR specification defines the use of stations and concentrators in the switched mode. The DTR concentrator acts as a frame-level relay rather than a bitlevel repeater: each link from concentrator to station is a dedicated full-duplex link with immediate access possible (token is not used). Chapter 8 Token Ring LANs, FDDI & MANs 11 12 7/25/2016 23:34 Dedicated Token Ring Configuration Chapter 8 Token Ring LANs, FDDI & MANs 12 13 7/25/2016 23:34 IEEE 802.5 Physical Layer Medium Alternatives Chapter 8 Token Ring LANs, FDDI & MANs 13 14 7/25/2016 23:34 Part 2: FDDI & MANs 0 0 0 0 0 FDDI Technology MAC Frame MAC Protocol Capacity Allocation FDDI Physical Layer Specification Chapter 8 Token Ring LANs, FDDI & MANs 14 15 7/25/2016 23:34 Fiber Distributed Data Interface (FDDI) Standards 0 0 0 0 0 0 ANSI ASC X3T9.5 Standard Committee ISO 9314 Standard Series FDDI serves both LAN and MAN FDDI – a token ring scheme, similar to the IEEE 802.5 specification FDDI was designed to accommodate better the rate of 100 Mpbs Some differences are at the MAC layer and at the physical layer. Chapter 8 Token Ring LANs, FDDI & MANs 15 16 7/25/2016 23:34 Comparison of FDDI and IEEE 802.5 Token Ring Chapter 8 Token Ring LANs, FDDI & MANs 16 17 7/25/2016 23:34 FDDI Frame Formats Chapter 8 Token Ring LANs, FDDI & MANs 17 18 7/25/2016 23:34 FDDI Frame Control Fields Chapter 8 Token Ring LANs, FDDI & MANs 18 19 7/25/2016 23:34 FDDI MAC Protocol 0 The same as IEEE 802.5 Token Ring MAC Protocol 0 First Difference: in FDDI, a Station waiting for a token seizes the token by aborting (failing to repeat) the token transmission as soon as the token frame is recognized. The station begins transmitting one or more data frames. No flipping a bit to convert a token [high data rate]. 0 Second Difference: a Station that has been transmitting data frames releases a new token as soon as it completes data frame transmission, even if it has not begun to receive its own transmission. Chapter 8 Token Ring LANs, FDDI & MANs 19 20 7/25/2016 23:34 FDDI Token Ring Operation Chapter 8 Token Ring LANs, FDDI & MANs 20 21 7/25/2016 23:34 FDDI Physical Layer Medium Alternatives Chapter 8 Token Ring LANs, FDDI & MANs 21