HP General IO Connectivity manual Netfmt

Page 185

Tracing and Logging Utilities

netfmt

netfmt

Use this command to format the trace file that was created with nettl. Refer to the man pages for x25trace for more information and examples on this command

Syntax

netfmt [-c filter file [-p]] [-F] [-t records] [-N] [-v] [-l] [-1[LT]] [[-f] file_name]

Parameters

-c filter file

 

Specifies the name of the file containing the filter

 

configuration commands. You create this file with your

 

text editor. If this option is omitted, filter configuration

 

commands are read from the $HOME/.nettr file if it

 

exists. Refer to “Creating a filter file” at the end of this

 

section for an explanation of filter file syntax.

-p

The parse input option lets you do a syntax check on

 

the configuration file specified with the -coption. If

 

the syntax is correct, netfmt terminates with no output

 

or warnings.

-F

The follow input file option causes netfmt to keep the

 

input file open when it reaches the end of the file. The

 

file is kept open and netfmt continues to read from it

 

as new data arrives. This option is useful for

 

troubleshooting because it lets you monitor events in

 

real time.

-t records

 

 

Lets you specify how many records you want to format

 

from the end of the file. This enables you to get the

 

most recent information. The maximum number of

 

records is 1000. By default, all records are formatted.

-f file_name

 

Chapter 7

185

Image 185
Contents Manufacturing Part Number J2793-90073 E0607 EditionLegal Notices Contents Diagnostic Utilities PAD Services Tracing and Logging Utilities SUsing Non-English Subscription Forms Diagnostic Messages Tables Tables Tables Tables Figures Figures About the X.25 Product Introduction BSD IPC TCP/UDP Link ArchitectureApplication L7, Presentation L6, Session L5 Levels Transport Level L4 Packet/network Level L3 Data link L2 and Physical L1 Levels Data link L2 and Physical L1 Levels Chapter Installation Installing Multiple X.25 Interface Cards Before you Install the softwareHardware Requirements Hardware CompatibilityRelated Parameters OS Platform and Version CompatibilityMemory Example TM = 9,123,840 8.7 Mb Software Requirements Step Installing the X.25 Link SoftwareInstalling the X.25 Link Software Chapter Configuration Using SAM Configuring the X.25 LinkUsing SAM’s On-line Help Configuring an X.25 Address Field Descriptions Configuring X.25 Virtual Circuits VCs Configuring an Internet Address Configure Internet Address IP Address and Default Subnet Masks Class Configure Internet Address Field DescriptionsModify IP Over X.25 Defaults IP Address and Default Subnet MasksIP Address Class Default Subnet Mask Verifying Level 3 Values Modify IP over X.25 Defaults Field DescriptionsVerify Level 3 Values Field Descriptions Verify Level 3 ValuesDefault is Modulo-8 Permanent VC Flow Control Field Descriptions Switched VC Flow Control Field DescriptionsConfiguring the X.25 Link Throughput Classes and Line Speeds Verifying Level 2 ValuesSettings for your configuration Verify Level 2 Values Field Descriptions Using Maximum Window-Size Settings with Modulo-128 Level 3 Packet Level 2 Window Size Recommended Maximum Window SizesConfiguring Remote System Access Add Internet Connectivity Dialog Add Internet Connectivity Field Descriptions X25init -cconfigurationfile-a ipmapfile Provide X.25 Information Field Descriptions Internet Addresses & Routes object list. SAM updates Configuration Files Configuring X.25 over LLC2Field Format Value Patch requirements for the XOL HA feature and configurableAdditional XOL specific configuration parameters Xoldsap Devicelan00x7c Lanboxid Lanboxaddr 0x080009c4728a 0x7e Example 3-3 LLC2 Configuration Ccitt Run the following command at the Cisco console Step Run the following command at the Cisco console Starting and Stopping ConfigurationOne Lan and Two Boxes configuration Sample setup and Configuration11 One LAN, Two Boxes Configuration To connect Host to BOX To connect Host to BOX To Connect Box 1 to Host Configuring Two Lans, with One Box Per Lan To Start and Stop above configuration To configure Host to LAN 1 to BOXTo Connect Box 0 to Host To Connect Box 1 to Host Troubleshooting LLC2 Configuration Remote Configuring PAD ServicesAdd/Modify PAD Terminal Emulation Local to Add/Modify PAD Support Server Remote to Local Add/Modify Uucp Server Add/Modify PAD Printers ServerAdd/Modify X.3 Parameters PAD. As the terminal characteristics of your session change, Configuring the High Availability Feature Cluster Definition Commands to be Configured in High Availability PackagesExample 3-4 One Example of Remote Failure High Availability Configuration$ x25check Checking the ConfigurationX25check 250207 -i interface0p2 Unique MAC Address Requirement Configuring the High Availability Feature for X.25 over LLC2Local Failover Configuring XOL HA for Local Failover Without ServiceGuard13 Before the Failover After the Failover Example Configuring Standby Device and Unique MAC Address Remote Failover Configuring XOL HA for Remote Failover Using Service Guard15 Before the Failover XOL Cluster Definition Commands Used in the SG Package Control ScriptsXOL Package Definition Example 3-6 XOL SG package for remote failover Service Guard Remote Failover with Local Failover Support UsingThen, the above parameters take the following values Example Remote Failover with Local Failover support # Service Names and Commands Configuring the High Availability Feature for X.25 over LLC2 Ping Verifying the X.25 Link100 OLA/R Overview and Concepts 102 Terms used in this section Meaning Important Terms and ConceptsPlanning and Preparation On-Line ReplacementCard Compatibility On-Line AdditionCritical Resources Failover Actions / Single Points of Failure J3526A PCI Card using SAM How to On-line Replace OLR a J3525A orInterface card under consideration will be stopped before Disconnect messages. The connections will have to beScreen Buttons Outcome Activate User Actions Displays Three Possible Critical Resource Analysis CRA OutcomesChapter 109 110 PCI Card using SAM How to On-line Add OLA a J3525A or J3526A112 Chapter 113 114 Diagnostic Utilities Available Diagnostic Utilities Utility Description Refer to Using Diagnostic UtilitiesPsidad Scope of X.25 Diagnostic UtilitiesBefore Using the Diagnostic Utilities Example 1 Running x25check Interactively No Parameters X25check and x25server120 Example 3 Running x25check With a Data Packet Example 2 Running x25check With an X.121 AddressX25stat Example 1 Displaying the Current ConfigurationX25stat -d X25stat -g -d Example 2 Displaying Global StatisticsLevel 3 State Output on Screen Description/Meaning Diagnostic Utilities x25statLevel 2 Link State Output on Screen Description/Meaning Level 3 StateLevel 1 Link State Output on Screen Description/Meaning VC State Output on Screen Description/Meaning Example 3 Displaying Virtual Circuit Data PacketCounters VC State Example 4 Displaying Global X.25 Level 3 StatisticsExample 5 Displaying X.25 Level 1 and 2 Statistics Chapter 129 Example 6 Displaying Virtual Circuit Status X25stat -a Example 7 Displaying Current IP to X.25 Address MappingExample Statistics for x25mibstat X25mibstat Option Remark X25mibstatPAD Services Ccitt Recommendations PAD Support Protocols PAD services and the HP 9000 hostOverview PAD Services as a PipeRemote PAD Support x29server Call Acceptance Mechanism and System Security Remote PAD Support0x01000000 Supported Remote PAD Terminals Configuring Remote PAD SupportConfiguring padspt Parameters Padspt Parameters Chapter 141 Launching Applications Automatically Remote PAD Printer Support x29printd Remote PAD Printer Support x29printdRemote Printer Support System RequirementsConfiguring Remote PAD Printers 146 Configuring the Unix Line-printer Spooler for x29printd X29printd and lpsched Operation Printer ConfigurationExamples Verifying the Configuration Uucp Support x29uucpd Receiving HP Configuring Uucp PAD SupportPaduucp Parameters File ContentsConfiguring the x29hosts file Chapter 153 At the dave system Configuring System and Device Files for UucpChapter 155 At the bill system Chapter 157 158 Chapter 159 Local PAD Emulation padem Command ModeParameter Descriptions Data Transfer ModeConfiguring Local PAD Emulation 162 Chapter 163 PAD Command Set PAD CommandsExtended Command Set 166 Configuration Set Syntax Configuring X.3 Profile ParametersParameter Values Modifying ParametersParameter Descriptions Default X.3 ParametersValue Meaning Parameter DescriptionChapter 171 172 Value Baud Rate 174 Chapter 175 176 Chapter 177 178 Tracing and Logging Utilities 180 Scope of X.25 Tracing and Logging Utilities Parameters Nettl Syntax 0x80000000 Tracing Masks Keyword a0x40000000 0x20000000184 Chapter 185 Netfmt186 Filter File Syntax Creating a Filter FileFilter Filter File Options System/subsystem Type Value LevelChapter 189 Filter File Examples Chapter 191 Strace7030 Chapter 193 7030 + 1 =Output Format Frame Type Parameters Displayed Packet Type Parameters DisplayedExamples of the strace Command Record Time Tics Pri Ind Mod Sub Data Num Examples of strace Output198 Strerr 200 Troubleshooting Troubleshooting Commands Purpose Refer to Troubleshooting Your X.25 LinkTroubleshooting Commands Troubleshooting Flowcharts and ProceduresFlowchart Flowchart 2 Procedures and NotesChapter 205 See Note Flowchart 2 Initialization CheckFlowchart 3 Hardware and License Check Flowchart 3 Procedures and NotesFlowchart 4 Procedures and Notes Flowchart 4 X.25 Configuration Check Flowchart 5 Procedures and Notes210 Flowchart 5 IP Over X.25 Check For Systems With No Backup Power Supply Recovering From a Power FailureFor Systems With a Backup Power Supply Reporting Problems 214 Host Back-to-back Configuration on the Same Host216 Command Summary Configuration and Troubleshooting Commands218 IP-to-X.121 Address Mapping Table Examples of x25initSyntax for PVCs Syntax for SVCsFile Mapping Parameters 222 Chapter 223 224 Using Non-English Subscription Transpac Subscription Form TranslationsItapac Table A-1 French Transpac Subscription FormThroughput Class Setting Table A-2 Using Your Itapac Italian Subscription FormTable A-4 Using your Iberpac Spanish Subscription Form 230 Configuration Files Table B-2 Etc directory Configuration FilesTable B-1 Etc/x25 directory Table B-5 Table B-3 Var/x25/log/x25server directoryTable B-4 Table B-6 Example FilesX25initdef File Appendix B 235 236 Table B-7 X25initsmpl File238 X3config File 240 Example Files Appendix B 241 Table B-8 X29hosts FileNetwork Type File x25networks Table B-9 Diagnostic Messages Appendix C Diagnostic Message Example Cause Code Settings Restart Packet Codes RESET/CLEAR Packet CodesPacket Codes Table C-1 No Additional Information Diagnostic Diagnostic MessagesTable C-2 Packet Type Invalid Diagnostic ExplanationTable C-2 Packet Type Invalid Table C-3 Packet Not Allowed DiagnosticLCI Table C-3 Packet Not AllowedIncoming Table C-4 Timer Expired DiagnosticTable C-4 Timer Expired Appendix C 255 256 Appendix C 257 Table C-7 International Problem and Maintenance Diagnostic Table C-6 Category Miscellaneous DiagnosticTable C-8 DTE-Specific Signals Diagnostic Table C-7 International Problem and MaintenanceTable C-9 OSI Network Service Problem Diagnostic Table C-8 DTE-Specific SignalsNsap Table C-9 OSI Network Service ProblemTable C-10 Higher Level Initiated Diagnostic Table C-10 Higher Level Initiated 264 Index Symbols266 267 268 269
Related manuals
Manual 4 pages 45.44 Kb Manual 14 pages 39.26 Kb