Troubleshooting Inter-PLC Communication Latency Problem and Understanding Allen-Bradley Producer- Consumer Model Preliminary Report Johnny Tang 2/7/2005.

Slides:



Advertisements
Similar presentations
Ethernet Switch Features Important to EtherNet/IP
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Inter- VLAN Routing LAN Switching and Wireless – Chapter 6.
Virtual LANs.
,< 資 管 Lee 附錄 A0 IGMP vs Multicast Listener Discovery.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
Chapter 9: Access Control Lists
Implementing Inter-VLAN Routing
1 Semester 2 Module 4 Learning about Other Devices Yuda college of business James Chen
Switching Topic 4 Inter-VLAN routing. Agenda Routing process Routing VLANs – Traditional model – Router-on-a-stick – Multilayer switches EtherChannel.
Copyright 2008 Kenneth M. Chipps Ph.D. Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts Chapter 4 Distance Vector Routing Protocols.
Cisco 3 - Switch Perrine. J Page 15/8/2015 Chapter 8 What happens to the member ports of a VLAN when the VLAN is deleted? 1.They become inactive. 2.They.
Multi-Layer Switching Layers 1, 2, and 3. Cisco Hierarchical Model Access Layer –Workgroup –Access layer aggregation and L3/L4 services Distribution Layer.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Inter-VLAN Routing Routing & Switching.
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—6-1 Implementing Layer 3 High Availability Configuring Layer 3 Redundancy with HSRP.
Part IV: Multilayer Switching
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 2 1 IP Multicasting: IGMP and Layer 2 Issues.
Larger Site Networks Part2. 2 Ethernet Virtual LANs Hubs versus Switches –Hubs broadcast bits out all ports –Switches usually send a frame out a one port.
© 2002, Cisco Systems, Inc. All rights reserved..
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Inter-VLAN Routing Routing And Switching.
Speaker 2006/XX/XX Speaker 2007/XX/XX IGMP Snooping CK NG Technical Marketing.
Chapter 4: Managing LAN Traffic
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Implementing VLAN Security Routing And Switching.
Page 19/13/2015 Chapter 8 Some conditions that must be met for host to host communication over an internetwork: a default gateway must be properly configured.
© 2006 Cisco Systems, Inc. All rights reserved.1 Microsoft Network Load Balancing Support Vivek V
– Chapter 5 – Secure LAN Switching
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Connecting to the Network Networking for Home and Small Businesses.
Network Security1 – Chapter 5 – Secure LAN Switching Layer 2 security –Port security –IP permit lists –Protocol filtering –Controlling LAN floods (using.
Example STP runs on bridges and switches that are 802.1D-compliant. There are different flavors of STP, but 802.1D is the most popular and widely implemented.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 9 Internet Group Management Protocol (IGMP)
© 2002, Cisco Systems, Inc. All rights reserved..
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
Ethernet Basics - 5 IGMP. The Internet Group Management Protocol (IGMP) is an Internet protocol that provides a way for an Internet computer to report.
IP Multicast COSC Addressing Class D address Ethernet broadcast address (all 1’s) IP multicast using –Link-layer (Ethernet) broadcast –Link-layer.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 1: Introduction to Scaling Networks Scaling Networks.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 8 Virtual LANs.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
Routing and Routing Protocols
1 © 2005 Cisco Systems, Inc. All rights reserved. 111 © 2004, Cisco Systems, Inc. All rights reserved. CNIT 221 Security 2 ver.2 Module 8 City College.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Static Routing Routing Protocols and Concepts – Chapter 2.
W&L Page 1 CCNA CCNA Training 2.7 Configure and verify trunking on Cisco switches Jose Luis Flores / Amel Walkinshaw Aug, 2015.
Cisco 2 - Routers Perrine. J Page 112/19/2015 Chapter 8 TCP/IP Error Message Some of the conditions that must be met in order for host to host communication.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
Cisco Confidential © 2010 Cisco and/or its affiliates. All rights reserved. 1 Multicasting within UCS Qiese Dides.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
Unnecessary Multicast Flooding Problem Statement
VTP VLAN Trunking Protocol Create once and send to the other switches. VTP is a messaging protocol that uses Layer 2 trunk frames to manage the addition,
+ Lecture#8: VLAN Asma AlOsaimi Topics VLAN Segmentation VLAN Implementation VLAN Security and Design 3.0.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Ethernet Packet Filtering - Part1 Øyvind Holmeide Jean-Frédéric Gauvin 05/06/2014 by.
InterVLAN Routing 1. InterVLAN Routing 2. Multilayer Switching.
Layer 3 Redundancy 1. Hot Standby Router Protocol (HSRP)
© 2002, Cisco Systems, Inc. All rights reserved.
Network Environment Management
Instructor Materials Chapter 6: VLANs
© 2002, Cisco Systems, Inc. All rights reserved.
Managing IP Traffic with ACLs
– Chapter 5 – Secure LAN Switching
Chapter 5: Inter-VLAN Routing
© 2002, Cisco Systems, Inc. All rights reserved.
Network Environment Management
Routing and Switching Essentials v6.0
© 2002, Cisco Systems, Inc. All rights reserved.
© 2002, Cisco Systems, Inc. All rights reserved.
Chapter 10 IGMP Prof. Choong Seon HONG.
IP Multicast COSC /5/2019.
Sécurisation au niveau 2 pour certains matériels Cisco
© 2002, Cisco Systems, Inc. All rights reserved.
Presentation transcript:

Troubleshooting Inter-PLC Communication Latency Problem and Understanding Allen-Bradley Producer- Consumer Model Preliminary Report Johnny Tang 2/7/2005

Problem Description DTL_Vac:PLC3DTL_Vac:PLC4DTL_Vac:PLC5DTL_Vac:PLC6 Lin_Ics:NetSw1c1 Lin_Ics:NetSw1d1 Lin_Ics:NetSw1b1 Fa0/17 Fa0/34 Fa0/23 Lin_Ics:NetSw11 Gio/5 Gio/6 Gio/7 Tank 3Tank 4Tank 5 SGV4 SGV5 Tank 6 SGV6 Ics:CoreSw1 Ics:CoreSw2 The SGV4 and SGV6 will be closed with no vacuum pressure trip indication, reported by operation In SNS DTL vacuum control system, each Tank vacuum system is controlled by one Allen-Bradley PLC; the producer-consumer real-time IO tags are utilized to pass up- stream/down-stream tank vacuum pressure status in between the PLCs. Based on the vacuum pressure status, PLC determines if its SGV should be in closed position for its tank vacuum protection. For fail-safe reason, PLC will assume the worst case if it senses that its producer- consumer tag for real-time IO is not connected with the remote tag -> close the valve Initial Diagnosis: Is this latency only occurring in between two PLCs that are not on the same edge switches Catalyst2950 Catalyst3550 Catalyst6500

Initial Diagnosis DTL_Vac:PLC3DTL_Vac:PLC4DTL_Vac:PLC5DTL_Vac:PLC6 Lin_Ics:NetSw1c1 Lin_Ics:NetSw1d1 Lin_Ics:NetSw1b1 Fa0/17 Fa0/34 Fa0/23 Lin_Ics:NetSw11 Gio/5 Gio/6 Gio/7 Tank 3Tank 4Tank 5 SGV4 SGV5 Tank 6 SGV6 Ics:CoreSw1 Ics:CoreSw2 Moved PLC4 onto PLC3’s edge switch; verified that the latency in between PLC3 and PLC4 disappeared, but is occurring in between PLC4 and PLC5 instead SOME BACKGROUND INFO On Ethernet, producer-consumer model is accomplished using multicast. Multicast will flood all ports on a switch unless it has the IGMP (Internet Group Management Protocol) snooping feature. This feature enables a switch to forward multicast packets to only the ports where they will be consumed. Ethernet modules that are not a member of a specific multicast group can avoid processing packets that it does not need to process Further Diagnosis: Is the multicasting delay ?

Further Diagnosis Setup DTL_Vac:PLC3DTL_Vac:PLC4DTL_Vac:PLC5DTL_Vac:PLC6 Lin_Ics:NetSw1c1 Lin_Ics:NetSw1d1 Lin_Ics:NetSw1b1 Fa0/17 Fa0/34 Fa0/23 Lin_Ics:NetSw11 Gio/5 Gio/6 Gio/7 Tank 3Tank 4Tank 5 SGV4 SGV5 Tank 6 SGV6 Ics:CoreSw1 Ics:CoreSw2 Objectives of Further Diagnosis Understand the inter-PLC communication patterns and timing in data packet level Gathering information for Allen-Bradley and Cisco tech support Two network analyzers are configured: Producer-sniffer and Consumer-sniffer Three Cisco switch debug setup during the event periods Acknowledgement: Susan Hicks and Jimie Duncun of ORNL Network Group – Great deal of experience on network sniffering, data frame analysis; knowledge of Network Switch configuration on multicast forwarding, IGMP snooping setup Hub1 Hub2 Producer -sniffer Consumer- sniffer

Consumer-sniffer sees PLC3 (.18) or the producer sending its multicasting data to (.65) and (.64) each every 100ms until the IP Data Frame, 0x8C01 After 500ms delay from the IP Data Frame, 0x8C01, PLC4 (.19) sends to PLC3 (.18) a Data Request via EIP/CIP unicast (because PLC4 didn’t see PLC3 producing) IS PLC3 multicasting blocked or is it stopping producing ??? Observation 1: From Consumer- sniffer Point of View

Oberservation 2: From Producer-sniffer Point of View Producer-sniffer sees PLC3 (.18) or the producer continuing sending its multicasting data to (.65) and (.64) another 5 frames each every 100ms after the IP Data Frame, 0x8C01 After that, it sees that PLC4 (.19) sends to PLC3 (.18) a Data Request via EIP/CIP unicast The consumer (PLC4) didn’t see its producer’s (PLC3’s) multicasting for 10 data frames before the delay event; Multicasting was blocked !

Observation 3: From Consumer- sniffer Point of View A different MAC address (00-0B D-84) for the querier (the router ) when it sends IGMP membership QUERY to the PLC4 multicast address ( and.64) – this only happens when this delay event happens.

Observation 4: From Switch Debug Monitoring Point of View The multicast routers will query specific multicast addresses before they are dropped from the cache or they are “pruned” to keep multicast traffic to a minimum – validation from Cisco

Should use f/w for 1756-ENBT for IGMP v2 support Multicast for EtherNet/IP includes a parameter in the IP layer which is currently set to a hard value of 1 in the firmware. When a router processes a packet with a TTL=1, it will decrement the TTL value and then, because it is 0, will drop the packet. This means a TTL of 1 will restrict I/O or produce tag to a single subnet (VLAN) Allen-Bradley uses 2950 switch as mid-layer and could not reproduce our problem; 3550 is layer 2/3 switch; please verify the configuration of that switch with Cisco If consumer doesn’t see its producer’s multicast for 4 time of the defined RPI (Requested Packet Interval), it will drop its multicast connection and re-initiate its DATA request -> Lesson learned on fail safe consideration: what is the worst cast for 100ms RPI tag ? Allen-Bradley EtherNet/IP module has its potential problem if there are more than one queriers in the subnet Recommendations from Rockwell Software Problem still exists even after upgrading the 1756-ENBT new firmware; we therefore move our focus on 3550 multilayer switch

Remove multicast routing from the core switches to simplify the environment unless it is necessary Configuration of IGMP querier function on core switch Use Cisco IOS Release 12.2 (25) SEA for the Catalyst 3550 Multilayer Switch (see release note for detail –Release Notes for the Catalyst 3550 Multilayer Switch, Cisco IOS Release 12.2(25)SEA –Documentation Updates for the Catalyst 3550 Switches, Cisco IOS Release 12.2 (25) SEA Recommendations from Cisco The problem has been resolved after the Cisco recommendation has been applied

If there is a mix of fast and slow consumers to scan one produce tag, the fastest consume rate dictates the rate for the producer – keep them all the same rate TTL (Time-to-Live) is hard coded with 1; no multicast routing for now – keep application in one subnet for time critical interlock 5000 is the current max pps (packets per second) for each interface (1756-ENBT or 1794-AENT) The producer generates a multicast packet once every RPI; each consumer generates a unicast packet every RPI For each producer, an entire block of 32 addresses is reserved whether all the addresses are used or not One multicast address for all discrete modules; one multicast address for each of the 2 analog modules The consumer will be timeout after 4 times of RPI of its produce tag if the connection is lost – Fail Safe Consideration ! Recap – Lessons Learned on understanding Allen-Bradley Producer- Consumer and Multicast

Testing Single IGMP querier configuration in redundant router environment Upgrading all 3550 F/W where the multicast applications are applied A proposed Lessons Learned Workshop –Core, Closet and Edge Switch Configurations on multicast, IGMP and QoS in support applications for Real-Time IO via Ethernet (by Susan Hicks) –Network Analysis and Filtering Techniques – What to look for among over millions of data packets (by Jimie Duncan) Follow-up Work