Compaq Compaq TCP/IP Services for OpenVMS Manual de Serviço

Consulte online ou descarregue Manual de Serviço para Redes Compaq Compaq TCP/IP Services for OpenVMS. Compaq Compaq TCP/IP Services for OpenVMS Technical data Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 0
HP TCP/IP Services for
OpenVMS
TuningandTroubleshooting
Order Number: AA–RN1VB–TE
September 2003
This manual provides information about how to isolate the causes of
network problems and how to tune the TCP/IP Services software for the
best performance.
Revision/Update Information: This manual supersedes the Compaq
TCP/IP Services for OpenVMS Tuning
and Troubleshooting, Version 5.1.
Software Version: HP TCP/IP Services for OpenVMS
Version 5.4
Operating Systems: HP OpenVMS Alpha Versions 7.3-1
and 7.3-2
Hewlett-Packard Company
Palo Alto, California
Vista de página 0
1 2 3 4 5 6 ... 117 118

Resumo do Conteúdo

Página 1 - TuningandTroubleshooting

HP TCP/IP Services forOpenVMSTuningandTroubleshootingOrder Number: AA–RN1VB–TESeptember 2003This manual provides information about how to isolate the

Página 2

ReturnIn examples, a key name enclosed in a box indicates thatyou press a key on the keyboard. (In text, a key name is notenclosed in a box.)In the HT

Página 3 - Contents

sysconfig3.TCPIP> sysconfig -s netnet: loaded and configuredThis example shows how to query the state of a particular subsystem.A–38 Troubleshooting

Página 4 - 2 Tuning Techniques

sysconfigdbsysconfigdbManages the subsystem configuration database.Formatsysconfigdb {-a | -u} [-t target]-ffile subsystem-namesysconfigdb {-m | -r} [-t tar

Página 5

sysconfigdb-lLists the specified subsystem entries in the target file. If you do not specifya subsystem name, all subsystem entries in the target file are

Página 6

sysconfigdb4.TCPIP> sysconfigdb -d table_mgr_1This command deletes thetable_mgr_1entry from the SYSCONFIGTAB.DATfile and updates the in-memory copy o

Página 7 - Document Structure

tcpdumptcpdumpProvides dump analysis and packet capturing.Formattcpdump ["-B" |d|e|f|l|m|n|"-N" | "-O" |q|s|"-S&quo

Página 8 - Related Documents

tcpdump-lBuffers thestdoutline. This is useful if you want to see the data while capturingit.-mEnables multiline output from some protocols. This affe

Página 9 - Conventions

tcpdump-vDisplays verbose output. For example, the time to live and type of serviceinformation in an IP packet is displayed. If-mis also specified, ONC

Página 10

tcpdump7.$ tcpdump tcp[13] & 3 != 0 and not src and dst net localnetThis example shows how to use thetcpdumputility to display the startand end pa

Página 11 - 1.2 Isolating Problems

TCPTRACETCPTRACETraces packets between two hosts.FormatTCPTRACE host [/BUFFERS=n | /FULL | /OUTPUT=file | /PACKETS=n | /PORT=option |/PROTOCOL=option]D

Página 12

TCPTRACEExamplesThe following examples show how to use the TCPTRACE command.1.$ TCPTRACE HOST1 /FULL /PORT=(REMOTE=21)This example shows how to use th

Página 13

1Troubleshooting Techniques and ToolsThis chapter provides information that helps you identify symptoms, isolateproblems, and take steps to resolve yo

Página 14

traceroutetracerouteDisplays the route that packets take to the network host.Formattraceroute [-m max_ttl] [-n] [-p port] [-q nqueries] [-r] [-s src_a

Página 15

traceroute-aIf the destination host has multiple addresses,tracerouteprobes all addresses ifthis option is set. Normally, only the first address as ret

Página 16

traceroute-p portSets the base UDP port number used in probes. (The default value is 33434.) Thetraceroutecommand presumes that nothing is listening o

Página 17

tracerouteExamplesThe following examples show how to use thetraceroutecommand.1.localhost> traceroute nis.nsf.nettraceroute to nis.nsf.net (35.1.1.

Página 19

IndexAANALYZE command, 1–31arpcommand, 1–2, 1–6, A–2Attributes, 2–1configuring, 2–4displaying, 2–1displaying values, 2–3modifying values, 2–4reconfiguri

Página 20

Increasingcontext timeout rate, 2–13maximum number of BG devices, 2–16inetsubsystem, 2–9, 2–18attributes, 2–9inifaddr_hsizeattribute, 2–9, 2–10Interne

Página 21

SHOW SERVICE command, 1–27sobacklog_dropsattribute, 2–15sobacklog_hiwatattribute, 2–15Socketdisplaying statistics, 2–15Socket bufferincreasing maximum

Página 23

Troubleshooting Techniques and Tools1.2 Isolating Problems• Does the problem affect a single user? Multiple users? Your LAN?The following steps can he

Página 24

Troubleshooting Techniques and Tools1.2 Isolating ProblemsTable 1–1 (Cont.) Diagnostic ToolsDiagnostic Tool FunctionTCPTRACETraces packets going in an

Página 25

Troubleshooting Techniques and Tools1.2 Isolating Problems• A definition forlocalhostis missing from the local database.If thepingcommand forlocalhostd

Página 26

Troubleshooting Techniques and Tools1.2 Isolating ProblemsThis command helps you decide whether further testing is required and where.For example, if

Página 27

Troubleshooting Techniques and Tools1.2 Isolating ProblemsYou can also obtain information using the following commands:TCPIP> SHOW INTERFACEPackets

Página 28

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.4 Examining Network StatisticsUse thenetstatutility or the SHOW INTERFACE command to che

Página 29

Troubleshooting Techniques and Tools1.2 Isolating Problems37 mbufs allocated to OpenVMS VCI context block1 mbufs allocated to OpenVMS ACP IPCACHE Stru

Página 30

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.5.1 Using TCPTRACEThe trace utility (TCPTRACE) is a tool you can use to trace packets go

Página 31

© Copyright 2003 Hewlett-Packard Development Company, L.P.UNIX® is a trademark of The Open Group.The information contained herein is subject to change

Página 32

Troubleshooting Techniques and Tools1.2 Isolating ProblemsTable 1–3tcpdumpKeywordsKeyword Definitiontype Defines the object to which the ID name or numb

Página 33

Troubleshooting Techniques and Tools1.2 Isolating ProblemsTable 1–3 (Cont.)tcpdumpKeywordsKeyword Definitionproto Restricts the match to a particular p

Página 34

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.5.2.3 Primitive Keywords Primitive keywords include:•gateway•broadcast•less•greater• Ari

Página 35

Troubleshooting Techniques and Tools1.2 Isolating ProblemsThis expression is equivalent to the following:ether host ehost and not host hostYou can use

Página 36

Troubleshooting Techniques and Tools1.2 Isolating Problemstcp•ether broadcastTrue if the packet is an Ethernet broadcast packet. Theetherkeyword isopt

Página 37

Troubleshooting Techniques and Tools1.2 Isolating ProblemsrarptcpudpicmpThe proto variable indicates the protocol layer for the index operation.• The

Página 38

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.5.3 Analyzing OutputThe output of thetcpdumputility is protocol dependent. The following

Página 39

Troubleshooting Techniques and Tools1.2 Isolating Problems• windowThe number of bytes of receive buffer space available from the other directionon thi

Página 40 - 1.3 Using Online Help

Troubleshooting Techniques and Tools1.2 Isolating Problems• The seventh line indicates that host csam has received data sent by host rtsgup to but not

Página 41

Troubleshooting Techniques and Tools1.2 Isolating ProblemsIn the first example, host helios responds to query ID 3 from host h2opolo with 3answer recor

Página 42

ContentsPreface ... vii1 Troubleshooting Techniques and Tools1.1 Using Symptoms to Identify a

Página 43 - Tuning Techniques

Troubleshooting Techniques and Tools1.2 Isolating ProblemsThe UDP or TCP protocol information is not displayed. This is generally notimportant for UDP

Página 44 - 2.1 Subsystem Attributes

Troubleshooting Techniques and Tools1.2 Isolating ProblemsFor property list calls, you can request the mask value and the number ofproperty list entri

Página 45

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.5.4 RestrictionsThe following restrictions apply to usingtcpdumpon OpenVMS:• Copy-all mo

Página 46 - 2.1.3 Configuring Attributes

Troubleshooting Techniques and Tools1.2 Isolating ProblemsSpecify the name of the log file for storing the tracing information. Forexample:$ DEFINE TCP

Página 47

Troubleshooting Techniques and Tools1.2 Isolating ProblemsState: EnabledTransport:Domain:Retry:Timeout:Servers:Path:Make sure the remote servers are r

Página 48

Troubleshooting Techniques and Tools1.2 Isolating Problems$ SHOW SYSTEM /NETWORKOpenVMS V7.1-1H2 on node RUFUS 27-JUN-2000 16:45:46.84 Uptime 16 01:55

Página 49

Troubleshooting Techniques and Tools1.2 Isolating ProblemsThe following example shows typical output from these two commands:$ TCPIP SHOW ROUTE /PERMA

Página 50

Troubleshooting Techniques and Tools1.2 Isolating Problems1.2.10 Determine Whether Network Services Are AvailableThe auxiliary server functions like t

Página 51

Troubleshooting Techniques and Tools1.2 Isolating Problems& This column lists whether the service is enabled or disabled. The termenabled indicate

Página 52

Troubleshooting Techniques and Tools1.2 Isolating Problems" This section displays the socket options that the service uses. The service’ssocket o

Página 53

1.3 Using Online Help ... 1–301.4 Using OpenVMS ANALYZE Extensions ... 1–312 Tuning Te

Página 54

Troubleshooting Techniques and Tools1.2 Isolating ProblemsUsername: TCPIP$SNMP Owner: TCPIP$SNMPAccount: TCPIP UIC: [3655,13] ([TCPIP$AUX,TCPIP$SNMP])

Página 55

Troubleshooting Techniques and Tools1.3 Using Online HelpFor information about TCP/IP user commands, enter the HELP command at theDCL prompt. For exam

Página 57

2Tuning TechniquesThis chapter describes how to change system operation to solve specificnetworking problems. Once you have diagnosed the cause of the

Página 58 - 2.2.2 Logging IP Addresses

Tuning Techniques2.1 Subsystem Attributes$ TCPIPTCPIP> sysconfig -scm: loaded and configuredinet: loaded and configurediptunnel: loaded and configu

Página 59

Tuning Techniques2.1 Subsystem Attributes2.1.1.2 Displaying the Attribute Values for a SubsystemEach subsystem contains a set of attributes with assoc

Página 60

Tuning Techniques2.1 Subsystem Attributes2.1.2 Modifying Subsystem Attribute ValuesYou can modify the values of subsystem attributes either temporaril

Página 61

Tuning Techniques2.1 Subsystem AttributesTo modify subsystem attributes in the SYSCONFIGTAB.DAT file, follow thesesteps:1. Use thesysconfigdbutility to

Página 62

Tuning Techniques2.1 Subsystem Attributes$To add the contents of this stanza file to the system configuration table, enter thefollowing commands:$ TCPIP

Página 63

Tuning Techniques2.1 Subsystem Attributes2.1.4 Modifying Kernel SubsystemsMost resources used by the network subsystem are allocated and adjusteddynam

Página 64

tcpdump . . . ... A–42TCPTRACE ... A–46traceroute . . ...

Página 65 - Option Description

Tuning Techniques2.1 Subsystem Attributes2.1.5 Modifying Socket Subsystem AttributesThesocketsubsystem attributes control the maximum number of pendin

Página 66

Tuning Techniques2.1 Subsystem Attributes2.1.5.3 Increasing the Maximum Size of a Socket BufferThesocketsubsystem attributesb_maxspecifies the maximum

Página 67

Tuning Techniques2.1 Subsystem AttributesWhen to TuneIncrease the number of hash buckets in the kernel TCP connection table if youhave an Internet ser

Página 68

Tuning Techniques2.1 Subsystem AttributesRecommended ValuesThe default value of theinetsubsystem attributeinifaddr_hsizeis 32; themaximum value is 512

Página 69

Tuning Techniques2.1 Subsystem AttributesWhen to TuneNot every connection needs a long retransmission time. Usually, the defaultvalue is adequate. How

Página 70

Tuning Techniques2.1 Subsystem AttributesTable 2–4 (Cont.) TCP Keepalive OptionsOption Descriptiontcp_keepintvlSpecifies the amount of time, in seconds

Página 71

Tuning Techniques2.1 Subsystem Attributes2.1.6.9 Modifying the Range of Outgoing Connection PortsWhen a TCP or UDP application creates an outgoing con

Página 72

Tuning Techniques2.1 Subsystem Attributes2.1.7 Displaying Socket StatisticsThesocketsubsystem has three attributes that monitor socket listen queueeve

Página 73

Tuning Techniques2.2 Tuning Server ApplicationsThere are no limitations on a server’s ability to handle millions of TCPconnections if memory resources

Página 74

Tuning Techniques2.2 Tuning Server ApplicationsTable 2–5 (Cont.)netSubsystem AttributesAttribute Descriptionovms_unit_createsInformation attribute tha

Página 76

Tuning Techniques2.3 Solving Performance Problems• Apply any patches recommended for your operating system.See the Recommended Patch Table for informa

Página 77

Tuning Techniques2.3 Solving Performance ProblemsRestart TCP/IP Services after you enable jumbo frames dynamically.To verify that TCP/IP Services now

Página 79

ATroubleshooting Utilities ReferenceThis appendix provides more information about the troubleshooting utilitiesdescribed in this manual. It also descr

Página 80

arparpDisplays and controls Address Resolution Protocol (ARP) tables.Formatarp [-u] [-n] hostnamearp -a [-u] [-n] [-i] hostnamearp -d hostnamearp -g h

Página 81

arpOption Descriptionhostname Specifies the remote host identified by the entry.hardware_addr Specifies the hardware address of the remote host. Theaddre

Página 82

arpExamplesThe following examples show how to use thearpcommand.1.TCPIP> arp -aa71kt.lkg.dec.com (10.10.2.1) at aa-00-04-00-71-f8 stalev71kt.lkg.de

Página 83

digdigSends domain name query packets to name servers.Formatdig [@server] domain [query-type][query-class][+query-option][-dig-option][%comment]Descri

Página 84 - Commands

digQueryTypeQueryClass DescriptioninC_IN Internet class domainanyC_ANY All class informationSee RFC 1035 for a complete list of query classes.You can

Página 85

digTable A–1 (Cont.) dig OptionsOption Description"-P"After query returns, executes apingcommand tocompare response times. This option issue

Página 86 - (continued on next page)

PrefaceThe HP TCP/IP Services for OpenVMS product is the HP implementation of theTCP/IP networking protocol suite and internet services for HP OpenVMS

Página 87

digKeyword Abbreviation Default Description[no]stats st stDisplay query statistics.[no]Header H HDisplay basic header.[no]header he heDisplay header fl

Página 88

dig;; ADDITIONAL SECTION:E.ROOT-SERVERS.NET. 2d20h1m11s IN A 192.203.230.10D.ROOT-SERVERS.NET. 2d20h1m11s IN A 128.8.10.90A.ROOT-SERVERS.NET. 2d20h1m1

Página 89

dig;; Total query time: 4019 msec;; FROM: lassie.ucx.lkg.dec.com to SERVER: default -- 16.20.208.53;; WHEN: Wed Aug 9 16:55:42 2000;; MSG SIZE sent: 3

Página 90 - Cautions

ifconfigifconfigAssigns an address to a network interface, and configures and displays networkinterface parameters.Formatifconfig interface_id [address_fa

Página 91

ifconfigFlags-aDisplays information about all interfaces that are configured on a system.-dDisplays information about interfaces that are down.-lDisplay

Página 92

ifconfig-arpDisables the use of the ARP. Use of this parameter is not recommended.broadcast broad_addressSpecifies the address to use to represent broad

Página 93

ifconfigThemaskvariable includes both the network part of the local address and thesubnet part, which is taken from the host field of the address. The m

Página 94 - Modifiers

ifconfig8.TCPIP> ifconfig we0 down delete abort145.92.16.1: aborting 7 tcp connection(s)This example shows how to stop Ethernet interface we0, delet

Página 95

ndcndcManages the BIND server.Formatndc directive [directive ... ]DescriptionThis command allows the name server administrator to send various message

Página 96

ndcExamplesThe following examples show how to use thendccommand.1.$ ndc statusBIND Server process information:Process ID: 44C0021CProcess name: TCPIP$

Página 97

Related DocumentsTable 1 lists the documents available with this version of TCP/IP Services.Table 1 TCP/IP Services DocumentationManual ContentsCompaq

Página 98

netstatnetstatDisplays network-related data in various formats.Formatnetstat [-rn] | [-an] [-f address_family][interval]netstat [-abd"H"im&q

Página 99

netstat• Timers (optional with-t)Routing table displayA route consists of a destination host or network and a gateway to use whenforwarding packets. D

Página 100 - TCPIP> sysconfig -s net

netstat-f address_familyLimits reports to the specified address family. The address families that can bespecified might include the following:inet Speci

Página 101

netstat-vDisplays detailed output when specified with the-rflag. In this case, routemetric values are displayed.-zSets the network interface counters to

Página 102 - Examples

nslookupnslookupQueries Internet name servers interactively.Formatnslookup [-option ...] [host_to_find |-[server]]DescriptionThenslookupcommand is a pr

Página 103 - This command deletes the

nslookupTo look up a host not in the current domain, append a dot (.) to the end of thedomain name.server domainlserver domainChanges the default serv

Página 104 - Parameters

nslookupset keyword [=value]Use the command to change state information that affects the lookups. Table A–2lists the valid keywords.Table A–2 Options

Página 105

nslookupTable A–2 (Cont.) Options to thenslookup setCommandKeyword Function[no]debugTurns on debugging (default isnodebug).nslookupdisplaysdetailed in

Página 106

nslookupTable A–2 (Cont.) Options to thenslookup setCommandKeyword Functionsrchlist=namesChanges the default domain name to the first name you specify,

Página 107

pingpingSend ICMP ECHO_REQUEST packets to network hosts.Formatping [-dfnqruvR] -c count [-i wait] [-l preload] [-p pattern] [-s packetsize] hostDescri

Página 108 - TCPTRACE

Table 1 (Cont.) TCP/IP Services DocumentationManual ContentsHP TCP/IP Services for OpenVMSTuning and TroubleshootingThis manual provides information a

Página 109

pingDifferent data patternsThe network layer should never treat packets differently depending on the datacontained in the data portion. Unfortunately,

Página 110

ping-dSets theSO_DEBUGoption on the socket being used.-fFloodsping. Outputs packets as fast as they come back or 100 times per second,whichever is mor

Página 111

pingkernel options are off and this flag is used, the time is displayed to three decimalplaces, but in milliseconds.-vSpecifies detailed output. ICMP pa

Página 112

routerouteManually manipulates the routing tables.Formatroute [-nqvC] add [-net | -host] [family] destination[/bitmask] gateway [-link] [modifiers [arg

Página 113

routeTherouteutility uses a routing socket and the new message types RTM_ADD,RTM_DELETE, and RTM_CHANGE. As such, only a privileged user can modifythe

Página 114

route-lockLocks the metric specified by the next modifier specified on the command line. Alocked metric is not modified by the kernel. The following metri

Página 115

route-sendpipe bandwidthSets this route’s outbound delay bandwidth product (in bytes) to the valuespecified by bandwidth.-ssthresh thresholdSets this r

Página 116

sysconfigsysconfigMaintains the subsystem configuration.Formatsysconfig -c | -d | -m | -q | "-Q" | -r | -s | -u [subsystem-name][attribute-list]

Página 117

sysconfigThis state applies only to static subsystems, which can be unconfigured butcannot be unloaded.• Unloaded (not available for use)This state appl

Página 118

sysconfig-mQueries the mode for the specified subsystems. A subsystem’s mode can be staticor dynamic. If you omit the subsystem name,sysconfigdisplays t

Comentários a estes Manuais

Sem comentários