RuggedCom RS400 manual Problem Two, Problem Three, Problem Four

Page 91

Serial Protocols

2.4 Troubleshooting

Problem One

I configured a Serial IP to use TCP transport ( in or out connection request direction) but nothing seems to be happening. What is going on?

Ensure that an Ethernet port link is up.

The peer may not be requesting (accepting) connections. The Connection Statistics Table will display whether the connection is active or not.

The peer may not be sending data. The Connection statistics Table will display the counts of transmitted and received data packets via IP network.

Watch the connection activity. For a detailed description of the TCP connection activity, turn on tracing at the TRANSPORT level.

Problem Two

My connections (as shown in the Connection Statistics Table) go up and then immediately go down again. What is going on?

If two ports (on the same or different RuggedServers) are configured to call the same IP/TCP port in the network, only the first one to call will be successful. All other ports will fail, displaying the attempts as brief periods of connection in the Connection Statistics Table.

Problem Three

My Modbus polling is not working. I am sure that a connection is occurring but my Master reports an error connecting to the device. What is happening?

Are framing, parity or overrun errors reported at either the client or server?

Is the Server Gateway set up for the correct baud, parity and stop bits? Is the RTU online?

Is an adequate response timer configured at the server? Is the Master’s time-out long enough? Is the Master pausing in the middle of transmitting the request? Some versions of the Windows OS have been observed to display this behavior as load is increased.

Could the IP network be splitting the Modbus message into two TCP segments?

Ultimately, it may be necessary to view the contents of messages transmitted over TCP (by activating tracing at the IP level) or by viewing messages at the serial port level (See the section on tracing at the SERIAL level.) Start by tracing at the client, ensuring that it is receiving and forwarding the request over IP. Then, if needs be, trace at the server to ensure that it is receiving the request and forwarding to the RTU. Verify that the RTU is responding properly.

Problem Four

How do I get figures (like those presented earlier in the chapter) for my own analysis?

Activating tracing at the IP level and serial port level. The trace package displays timestamps, packet sizes, message directions and timeout events occurrences.

RS400

91

ROS™ v3.5

Image 91
Contents Rugged Operating System ROS V3.5 User Guide Registered Trademarks WarrantyCopyright Disclaimer of liabilityTable Of Contents DNP 109 Igmp 221 Page Table Of Figures WIN and TIN Form 160 Port Lldp Parameters Form 216 Document Conventions Supported PlatformsWho Should Use This User Guide How Chapters are organizedFirmware/User Guide Version Numbering System Applicable Firmware RevisionAdministration Using the RS232 Port to Access the User InterfaceROS User Interface Structure of the User Interface Making Configuration ChangesROS Secure Shell Server ROS Web Server Interface Using a Web Browser to Access the Web InterfaceLog in to The Device with a Web Browser ROS RS400 Main Menu via Web Server Interface Structure of the Web InterfaceParameters Form Example Updating Statistics DisplaysAdministration Menu Administration Menu IP Interfaces Table IP InterfacesMgmt TypeIP Address Type IP Address Synopsis ###.###.###.### where ### ranges from 0 to DefaultSubnet Destination IP GatewaysGateway Web Server Users Allowed IP ServicesInactivity Timeout Telnet Sessions AllowedSSH Sessions Allowed Synopsis 1 to 254 or Disabled Default DisabledSynopsis Disabled, Enabled Default Enabled ModBus AddressLocation Login BannerSystem Identification System NameSynopsis Local, Radius Default Local PasswordsAuth Type Admin Username Administration Guest UsernameGuest Password Operator PasswordTime Zone Time and DateTime DateNTP Server Address Default UTC-000 Lisbon, LondonNTP Update Period Synopsis 1 to Default 60 minSnmp Users Snmp ManagementAuth Key NameAuth Protocol Priv ProtocolSecurityModel Administration Priv KeySynopsis snmpV1, snmpV2c, snmpV3 Default snmpV3 Snmp Security to Group MapsSynopsis Any 32 characters Default Snmp AccessGroup WriteViewName Synopsis noView, V1Mib, allOfMib Default noViewSecurityLevel ReadViewNameAdministration NotifyViewName Radius overview User Login Authentication and AuthorizationVendor Server Radius Server ConfigurationDefault Primary Synopsis ###.###.###.### where ### ranges from 0 toAuth UDP Port TACACS+ TACACS+ Server ConfigurationTACACS+ Server Form Auth TCP PortDhcp Server Address Dhcp Relay Agent N/A for RMC30Syslog Configuring Local SyslogAdministration Dhcp Client Ports Default DebuggingUDP Port Configuring Remote Syslog ClientConfiguring Remote Syslog Server Synopsis 1025 to 65535 or DefaultSeverity FacilityProblem One TroubleshootingSerial Protocols 1 ‘Raw Socket’ protocol features2 ‘Preemptive Raw Socket’ protocol features Serial Protocols Overview6 ‘WIN’ protocol features 3 ‘Modbus’ protocol features4 ‘DNP’ protocol features 5 ‘Microlok’ protocol featuresRTU Polling Serial Protocols OperationBroadcast RTU Polling Broadcast RTU PollingPermanent and Dynamic Master Connection Support Preemptive Raw SocketMessage Packetization Use of Port RedirectorsTCPModbus Performance Determinants Modbus Server and Client ApplicationsRTU Worked Example Use of Turnaround DelayConcept of Links DNP 3.0, Microlok, TIN and WIN ApplicationsAddress Learning for DNP Address Learning Address Learning for TINTIN Broadcast Messages Broadcast Messages DNP Broadcast MessagesTransport for Protocols with Defined Links Use of Differentiated Services Code Point DscpTransport Protocols Transport for Raw SocketOptical loop topology Force Half Duplex Mode of OperationSerial Protocols Menu Serial Protocol Configuration and StatisticsSerial Ports Table Serial PortsForceHD Pack TimerSerial Protocols Port ProtocolRaw Socket Default 0 msFlow Control Pack CharTransport Rem Port Call DirMax Conns Loc PortPreemptive Raw Socket Table Preemptive Raw SocketDyn Pack Timer Synopsis 3 to Default 10 msDyn Pack Char Synopsis 1 to maximum port number Serial Protocols TimeoutSynopsis 10 to Default 10 s Modbus ServerSend Exceptions Response TimerModbus Client Auxiliary TCP PortSerial Protocols Forward Exceptions WIN and TINTIN Transport Serial Protocols TIN ModeMessage Aging Timer Address Aging TimerWIN Dscp MicroLok8 DNP Synopsis TCP, UDP Default TCPLearning Mirrored Bits Serial Protocols Aging TimerMirrored Bits Form Device Address Table Device AddressesSynopsis 1 to maximum port number or Unknown Synopsis Any 31 characters DefaultAddress Remote IP AddrSynopsis Any 16 characters Default Default UnknownDynamic Device Addresses Aging Time Links StatisticsConnection Statistics Serial Port Statistics Overrun Errors Packet ErrorsParity Errors Framing ErrorsClearing Serial Port Statistics Resetting Serial PortsProblem Three Problem TwoProblem Four Page Ethernet Ports Controller Protection Through Link-Fault-Indication LFIEthernet Ports Ethernet Ports Menu Ethernet Ports Configuration and StatusPort Parameters Table Port ParametersSpeed MediaState AutoNLFI Link AlarmsPort Rate Limiting Table Port Rate LimitingIngress Frames Port MirroringPort Mirroring Limitations Ingress LimitTarget Port Synopsis Disabled, Enabled Default DisabledPort Mirroring Source PortLink Detection Options Synopsis Off, On, OnwithPortGuard Default OnwithPortGuardFast Link Detection Negative impact on overall system responsiveness PoE Parameters when applicablePwr Limit AdminPowered ClassEthernet Ports Current EoVDSL Parameters when applicableROS 106 RS400 Set Rate DS/US ModeSNR Mrgn Port StatusLink Link Rate DS/USEthernet Ports Name Resetting PortsDuplex Page Ethernet Statistics Ethernet StatisticsOutOctets Viewing Ethernet StatisticsSynopsis ----, Down, Up InOctetsEthernet Statistics InPkts ErrorPktsOutPkts Ethernet Port Statistics Table Viewing Ethernet Port StatisticsEthernet Port Statistics Form TotalInPkts CRCAlignErrorsEthernet Statistics InOctets TotalInOctetsPkt64Octets JabbersCollisions LateCollisionsOutUcastPkts Ethernet Statistics OutMulticastsOutBroadcasts UndersizePktsClear Ethernet Port Statistics Form Clearing Ethernet Port StatisticsRmon History Controls Remote Monitoring RmonInterval IndexRequested Buckets Granted BucketsRmon History Samples Synopsis Any 127 characters Default MonitorEthernet Statistics Owner StartTime SampleSynopsis Dddd days, Hhmmss Number of good Broadcast packets received Utilization Rmon AlarmsROS 126 RS400 Rising Thr VariableRising Event Startup AlarmFalling Thr ValueRmon Events Table Rmon EventsLast Time Sent Synopsis none, log, snmpTrap, logAndTrap Default logAndTrapSynopsis Any 31 characters Default public CommunityRmon Event Log Table Rmon Event LogSynopsis Any 49 characters LogLogTime LogDescriptionSpanning Tree Rstp OperationState Rstp States and RolesBridge and Port Roles RoleHow Port Costs Are Generated Edge PortsPoint-to-Point and Multipoint Links Path and Port CostsBridge Diameter STP vs. Rstp CostsMST Regions and Interoperability Mstp OperationMsti Regional Root Mstp Bridge and Port Roles 5.2.2.1 Bridge RolesCist Root Cist Regional RootBoundary Ports Port RolesCist Port Roles Msti Port RolesMstp versus Pvst Isolation of Spanning Tree ReconfigurationBenefits of Mstp Load BalancingImplementing Mstp on a Bridged Network Identify required legacy support Rstp in Structured Wiring ConfigurationsRstp Applications Select the design parameters for the networkDecide upon port cost calculation strategy Rstp in Ring Backbone ConfigurationsChoose the root bridge and backup root bridge carefully Identify desired steady state topologyAssign bridge priorities to the ring Rstp Port RedundancyIdentify edge ports Choose the root bridgeSpanning Tree Menu Spanning Tree ConfigurationERSTP Enhancements Synopsis STP, RSTP, Mstp Default RstpBridge Rstp Parameters Version SupportMax Age Time Forward DelayBridge Priority Hello TimeBpdu Guard Timeout Synopsis STP 16 bit, Rstp 32 bit Default STP 16 bitCost Style Ports Port Rstp ParametersRstp Cost Spanning Tree EnabledPriority STP CostSpanning Tree Digest Synopsis Any 32 characters Default 00-0A-DC-00-41-74MST Region Identifier Revision LevelInstance ID Bridge Msti ParametersPort Msti Parameter Table Port Msti ParametersPorts Bridge ID Spanning Tree StatisticsBridge Rstp Statistics Bridge StatusConfigured Max Age Configured Hello TimeConfigured Forward Delay Learned Forward DelayPort Rstp Statistics Table Port Rstp StatisticsRole StatusRX RSTs RX ConfigsTX Configs CostBridge Msti Statistics Table Bridge Msti StatisticsPort Msti Statistics Table Port Msti StatisticsPort Msti Statistics Form Spanning Tree Role Troubleshooting Problem Six Problem FiveProblem Seven Problem Nine Problem EightNative Vlan Vlan OperationVLANs and Tags Tagged vs. Untagged FramesVlan Ingress and Egress Rules Edge and Trunk Port TypesEdge Type Trunk TypeForbidden Ports List Egress RulesVLAN-aware and VLAN-unaware operation modes Gvrp Generic Vlan Registration Protocol QinQ not supported in RS400 and RS8000/RS1600 families Edge SwitchROS 174 RS400 Traffic Domain Isolation Vlan ApplicationsReduced Hardware Administrative ConvenienceVLAN-aware Vlan ConfigurationSynopsis No, Yes Default Yes Global Vlan ParametersVID Static VLANsVlan Name Synopsis Any 19 characters DefaultForbidden Ports Port Vlan Parameters Table Port Vlan ParametersVLANs Ports Synopsis Edge, Trunk Default EdgeSynopsis Untagged, Tagged Default Untagged Synopsis Adv&Learn, Adv Only, Disabled Default DisabledDynamic Vlan SummaryExplicit ImplicitDon’t need VLANs at all. How do I turn them off? Page Classes of Service Inspection PhaseCoS Operation Determining The CoS Of a Received Frame Forwarding PhaseGlobal CoS Parameters CoS ConfigurationCoS Weighting Synopsis 8421, Strict DefaultPort CoS Parameter Table Port CoS ParametersInspect TOS Default CoSSynopsis Normal, Medium, High, Crit Default Normal Priority to CoS MappingPriority to CoS Mapping Form CoSTOS Dscp to CoS Mapping Table Dscp to CoS MappingCoS Access Priorities Table CoS Access Priorities RS8000 and RS1600 families onlyCrit Access Priority Normal Access PriorityPage Router and Host Igmp Operation IgmpMulticast Filtering Active Mode Switch Igmp OperationIgmp Snooping Rules Passive ModeIgmp and Rstp Processing Joins Combined Router and Switch Igmp OperationProcessing Leaves Configuring Igmp Parameters Multicast Filtering Configuration and StatusRouter Forwarding Multicast Filtering ModeQuery Interval Router PortsSynopsis ##-##-##-##-##-## where ## ranges 0 to FF Default Configuring Static Multicast GroupsMAC Address Viewing IP Multicast Groups Synopsis ##-##-##-##-##-## where ## ranges 0 to FFJoined Ports Troubleshooting Problem Six Page MAC Address Tables MAC Address TablesSynopsis Normal, Medium, High, Crit Viewing MAC AddressesSynopsis 0 to 65535 or Multi, Local Synopsis Static, DynamicAge Upon Link Loss Configuring MAC Address Learning OptionsConfiguring Static MAC Address Table Synopsis 15 to Default 300 sMAC address that is to be statically configured Purging MAC Address Table Page Network Discovery Lldp OperationNetwork Discovery Menu Network Discovery MenuTx Interval Reinit DelayTx Delay Global Lldp ParametersPort Lldp Parameters Table Port Lldp ParametersLldp Global Remote Statistics Lldp Neighbor Information Lldp Statistics Page Remote Dial-in For Monitoring PPP over Modem OperationPPP over Modem Router Concentration Router ConcentrationAssigning IP Addresses For PPP 11.1.4 PAP/CHAP Authentication 11.1.4.1 Users ProfilesUsing PAP Using ChapStatic Routes PPP Configuration Menu PPP ConfigurationCountry Code Modem SettingsAT Commands Synopsis Any 48 characters DefaultRemote IP Address PPP ControlPPP Status Local IP AddressPPP over Modem Server Name Synopsis Any 15 characters Default ServerOutgoing PAP Password Synopsis Any 15 characters DefaultUser Name PPP UsersRemote Subnet PPP over Modem PasswordSynopsis Any 9 characters Default Remote NetSynopsis 0 to 2147483647 bps or Offline PPP StatisticsCurrent Status Modem SpeedPPP over Modem Tx LCP Packets AuthenticationConnected User Clearing PPP Statistics Resetting PPPCan connect to the server, but I can’t ping or telnet to it Am having performance problems Page Diagnostics Using the Alarm SystemViewing and Clearing Alarms Active AlarmsPassive Alarms Alarms and the Critical Failure RelaySynopsis Any 127 characters Viewing CPU DiagnosticsTotal Powered Time Synopsis MMM DD HhmmRAM Available Diagnostics CPU UsageTemperature RAM TotalViewing the System Log Viewing and Clearing the System LogViewing Product Information Resetting the Device Loading Factory Default ConfigurationRS900 v2, 40-00-0066, RS900 v2 ROS 244 RS400 Using the CLI Shell Summary Of CLI Commands available in ROSEntering and Leaving the Shell Viewing Files Getting Help for a CommandListing files Pinging a Remote Device Viewing and Clearing Log FilesTracing Events Enabling Trace Displaying Trace settingsStarting Trace Executing Commands Remotely Through RSHViewing Dhcp Learned Information Resetting the Device Upgrading Firmware and Managing Configurations Upgrading Firmware using XModemUpgrading Firmware Checking Status of Download Upgrading Firmware Using a Tftp Client on Your WorkstationExample of an Upgrade using ROS Tftp Client Upgrading Firmware Using ROS Tftp ClientCapturing Configurations with XModem Capturing ConfigurationsCapturing Configurations with Tftp Getting Started Using SQL CommandsFinding the Correct Table Retrieving Parameter from a Table Retrieving a Table with Where ClauseChanging Values in a Table Setting Default Values in a TableUsing RSH and SQL Using RSH and SQLModule Name Standard MIBsGroups Supported Proprietary MIB Module Name RuggedCom proprietary MIBsAppendix B Snmp Trap Summary IfInUcastPkts IfInErrorsTcpInSegs IfInOctetsUdpNoPorts UdpInErrorsTcpRetransSegs UdpInDatagramsEtherStatsOversizePkts EtherStatsCRCAlignErrorsEtherStatsMulticastPkts EtherStatsUndersizePktsDot1dTpPortOutFrames Dot1dBasePortDelayExceededDiscardsDot1dBasePortMtuExceededDiscards Dot1dTpPortInFramesIfHCOutBroadcastPkts RcDeviceStsTemperature0x10 Request0x040x03 ResponseModbus Memory Map AlarmsPage Serial Uint32 TextCmd Uint16PSStatusCmd AlarmRead Data from device using PortCmd Performing write actions on the device using PortCmdSee ROS Read Power Supply Status from device using PSStatusCmdSee Lldp MstiTagging 169
Related manuals
Manual 8 pages 2.5 Kb