HP HSC-PCI 1000Base-SX User Manual

Using PCI 1000Base-T and HSC/PCI 1000Base-SX
(Gigabit Ethernet)
Manufacturing Part Number : J5683-90002
E0602
U.S.A.
© Copyright 2002, Hewlett-Packard Company.
Legal Notices
Hewlett-Packard makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be held liable for errors contained herein or direct,
indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Warranty. A copy of the specific warranty terms applicable to your Hewlett-Packard product and replacement parts can be obtained from your local Sales and Service Office.
Restricted Rights Legend. Use, duplication or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 for DOD agencies, and subparagraphs (c) (1) and (c) (2) of the Commercial Computer Software RestrictedRights clause at FAR 52.227-19 for other agencies.
HEWLETT-PACKARD COMPANY 3000 Hanover Street Palo Alto, California 94304 U.S.A.
Use of this manual and flexible disk(s) or tape cartridge(s) supplied for this pack is restricted to this product only. Additional copies of the programs may be made for security and back-up purposes only. Resale of the programs in their present form or with alterations, is expressly prohibited.
Copyright Notices. ©copyright 1983-2002 Hewlett-Packard Company, all rights reserved.
Reproduction, adaptation, or translation of this document without prior written permission is prohibited, except as allowed under the copyright laws.
©copyright 1979, 1980, 1983, 1985-93 Regents of the University of California This software is based in part on the Fourth Berkeley Software Distribution under
license from the Regents of the University of California. ©copyright 1980, 1984, 1986 Novell, Inc.
©copyright 1986-1992 Sun Microsystems, Inc. ©copyright 1985-86, 1988 Massachusetts Institute of Technology. ©copyright 1989-93 The Open Software Foundation, Inc. ©copyright 1986 Digital Equipment Corporation. ©copyright 1990 Motorola, Inc. ©copyright 1990, 1991, 1992 Cornell University ©copyright 1989-1991 The University of Maryland ©copyright 1988 Carnegie Mellon University
Trademark Notices UNIX is a registered trademark of The Open Group. Itanium is a trademark of Intel Corp. X Window System is a trademark of the Massachusetts Institute of Technology. MS-DOS and Microsoft are U.S. registered trademarks of Microsoft Corporation.
2
OSF/Motif is a trademark of the Open Software Foundation, Inc. in the U.S. and other countries.
3
4
Preface
The information in this manual is intended for network managers who administer Gigabit Ethernet networks. It is assumed that the Gigabit Ethernet hardware and software have been installed and configured. For instructions on how to install and configure Gigabit Ethernet hardwareandsoftware,refertotheQuick Installation Guide, available in the /opt/networkdocs directory on your system and on the web (see “Manuals Available for Gigabit Ethernet” in Chapter 3).
This manual is organized as follows: Chapter 1 Chapter 1, "Introduction," provides an overview of Gigabit Ethernet
and lists its features.
Chapter 2 Chapter 2, "Configuring Gigabit Ethernet Parameters," describes how
to configure Gigabit Ethernet parameters using the lanadmin(1M) command line interface.
Chapter 3 Chapter 3, "Gigabit Ethernet Resources," provides references to other
useful tools for installing, configuring, and maintaining Gigabit Ethernet.
Chapter 4 Chapter 4, "Troubleshooting," provides flowcharts to help diagnose
Gigabit Ethernet hardware and software problems.
Appendix A Appendix A, "Gigabit Ethernet lanadmin Display," defines the terms
listed in the lanadmin(1M) command display.
Appendix B Appendix B, "Gigabit Ethernet Card Statistics," gives an explanation
of the card statistics.
Appendix C Appendix C, "Hardware Reference Information," provides information
about the card LEDs, cabling requirements, and card specifications.
Appendix D Appendix D, "Hardware Regulatory Statements," includes regulatory
statements for the United States, Canada, Australia/New Zealand, Japan, and the European community.
Glossary Provides definitions of terms used in the manual.
3
4

1 Introduction

This chapter gives an overview of the Gigabit Ethernet products and lists its features.
Chapter 1
5
Introduction

Product Overview

Product Overview
Gigabit Ethernet is a high-performance Ethernet networking solution for HP servers and workstations.
The LAN adapters are data link adapters that support the IEEE 802.3z standard for 1000Base-SX operation over multimode fiber, and the IEEE 802.3ab standard for 1000Base-T operation over 4-pair Cat-5 or Cat-5E UTP copper wiring.
The Gigabit Ethernet intelligent adapters are designed to maximize host CPU efficiency by performing functions such as TCP/IP checksum, interrupt coalescing, and byte swapping.Bulk data transfers can be optimized with the use of Jumbo Frames; the large 9000 byte maximum transfer unit (MTU) improves system efficiency.
1000Base-T brings high bandwidth with 10, 100, and 1000 Mbps speeds, whch makes more processing power available for applications. The tri-speed adapter supports autonegotiation and autosensing. It operates in full-duplex mode at 10, 100, and 1000 Mbps or in half-duplex mode at 10 and 100 Mbps.
1000Base-SX supports full-duplex point-to-point or back-to-back (via switch to adapter or adapter to adapter) operations only. The adapters do not support half-duplex and do not speed negotiate (1000 Mbps operation only), but do perform autonegotiation for other link parameters.
A6847A supports PCI only. Older 1000Base-SX adapters support HSC/PCI. 1000Base-T supports PCI only.
The PCI adapters require a single slot in the host system and support all PCI bus configurations: 32-bit, 33/66 MHz and 64-bit, 33/66 MHz. (Note: A6794A, A6847A, and A6825A support 64-bit only.)

Features

Features of Gigabit Ethernet include:
1000Base-T features: — Triple speed 10/100/1000 Mbps
— Full duplex operation at 10/100/1000 Mbps and half-duplex operation at 10/100
Mbps (no half-duplex support for 1000 Mbps)
— Autonegotiation and autosensing to the highest available link speed
1000Base-SX features: — 1000 Mbps
— Full-duplex operation
Supports IEEE 802.1Q VLAN tagging and IEEE 802.1p Priority Queuing (HP-UX 11i)
Minimized host CPU utilization — Protocol offloading through on-board TCP, UDP, and IP checksum calculations
— Adaptive interrupt coalescence based on traffic load
6
Chapter 1
Introduction
Product Overview
Jumbo Frame support — Large 9000 byte maximum transfer unit (MTU) for improved efficiency and
performance with bulk data transfer
— Supported only at 1000Mbps interface (link partner must also support Jumbo
Frames)
SNMP (MIB-II) support
MC/ServiceGuard and Auto-Port Aggregation (APA) support for high availability Note: MC/ServiceGuard is not supported on HP-UX 11iv1.5. APA is not supported on
HP-UX 11i v1.5 and 11i v1.6.
Configuration support through SAM
Promiscuous mode (link and SAP) inbound and outbound support
Supports TCP/IP, NFS, and DLPI applications. Ethernet and SNAP encapsulations are supported.
Supports OLA/R (Online Addition and Replacement) (HP-UX 11i, PCI only) Note that SX and T cards are not considered to be like cards for OLA/R, that is, you
cannot replace an SX card with a T card, and vice versa. HP does not support OLA/R on A6794A although HP-UX tools will allow the device
to be suspended and resumed.
Performance on A6794A, A6847A, and A6825A
TCP performance is improved with better throughput on inbound and bidirectional traffic and better request/response rate.

Differences Between gelan and igelan

The differences between gelan and igelan are:
Supported platforms - see Table 1-1, “List of Gigabit Ethernet Products”.
LED behavior - see Table C-1, “LED Description and Status for 1000Base-SX” and Table C-2, “LED Description and Status for 1000Base-T”.
Chapter 1
7
Introduction

About this Manual

About this Manual
The information in this manual applies to the following Gigabit Ethernet products:
Table 1-1 List of Gigabit Ethernet Products
Product Description
A4924A HSC 1000Base-SX for
K-Class
A4925A HSC 1000Base-SX for
D/R-Class
A4926A A4929A
A6794A 1000Base-T/SCSI igelan rp7410 server core I/O
PCI 1000Base-SX PCI 1000Base-T
Driver
Name
gelan K-Class server 10.20, 11.0, and 11i
gelan D350 and above, R380
gelan B-Class except B180L
Supported Systems
and R390 servers
andbelow,C-Classexcept C1xx, J2240 and above workstations and rp2400 (A-Class) server
rp5400 series (L-Class), rp7400 (N-Class), and V-Class servers
SD (Superdome), rp7410, and rp8400 servers
rx4610 and rx9610 servers
See Note
Operating
System
10.20, 11.0, and 11i
10.20, 11.0, and 11i
11.0 and 11i
11i
11i v1.5, 11i v1.6 11i, 64-bit only
11i v1.6
A6847A A6825A
Note: For information on IPF (ItaniumTM Processor Family) platforms supported on HP-UX 11i v1.6, see the Gigabit Ethernet support web page. Log on to itrc.hp.com and click on “navigate knowledge trees and response center FAQs” under “maintenance and support” to go to the Knowledge Tree area, then navigate to Networks/hp-ux networking/lan/gigabit ethernet/technical support.
8
PCI 1000Base-SX PCI 1000Base-T
igelan B1000and higher, C3000
and higher, and J5000 and higher workstations
rp5400 series (L-Class), rp7400 (N-Class), and rp2400 series (A400 and higher) servers
SD (Superdome), rp7410, and rp8400 servers
See Note
11.0 and 11i, 64-bit only
11.0 and 11i, 64-bit only
11i, 64-bit only
11i v1.6
Chapter 1
Introduction
About this Manual
This manual does not include step-by-step instructions on how to install and configure the Gigabit Ethernet hardware and software. Those instructions are provided in the Quick Installation Guide, which is available in the /opt/networkdocs directory on your system and on the web (see “Manuals Available for Gigabit Ethernet” on page 21).
Chapter 1
9
Introduction
About this Manual
10
Chapter 1
2 Configuring Gigabit Ethernet
Parameters
This chapter describes how to configure the Gigabit Ethernet parameters using the lanadmin(1M) command line interface.
Chapter 2
11
Configuring Gigabit Ethernet Parameters

Understanding the Gigabit Ethernet Parameters

Understanding the Gigabit Ethernet Parameters
Several parameters can be configured using either the lanadmin(1M) command line interface or the graphical user interface provided by the System Administration Manager (SAM). Refer to the next section, “Using the lanadmin Tool with Gigabit Ethernet” for details on the use of the lanadmin(1M) command. The following parameters can be configured:

Generic Parameters

Ethernet Station Address The Gigabit Ethernet cards come preprogrammed with an Ethernet Station Address
in the read-only memory. This cannot be modified. However, the station address actually used by the card for sending and receiving network packets, also known as the MAC Address, can be set via lanadmin or SAM.
Maximum Transmission Unit (MTU) The MTU can be either the regular Ethernet MTU (1500 bytes) or the Jumbo Frame
MTU (9000 bytes). For 1000Base-T, jumbo frames can be configured only when the link speed is 1000 Mbps.

Link Parameters

Speed, Duplexity, and Autonegotiation While 1000Base-SX operates only at 1000 Mbps in full-duplex mode, 1000Base-T
operates at 10 or 100 Mbps in either half-duplex or full-duplex mode and also at 1000 Mbps in full-duplex mode.
The speed and duplexity of 1000Base-SX cannot be modified, but its ability to autonegotiate can be turned on and off for other link parameters. Thus, autonegotiation has no effect on the speed or duplexity of 1000Base-SX.
1000Base-T can be manually set to 10 or 100 Mbps but not 1000 Mbps. To achieve gigabit speed, it must be allowed to autonegotiate with its link partner,and provided the partner can autonegotiate,1000Base-Twilloperateatthehighestcommonspeed and duplexity. The following table summarizes the valid settings for 1000Base-T:
12
Chapter 2
Configuring Gigabit Ethernet Parameters
Understanding the Gigabit Ethernet Parameters
Speed Duplexity Autonegotiation
10 Half Off
10 Full Off 100 Half Off 100 Full Off
1000* N/A* On
*When autonegotiation is on, 1000Base-T will autonegotiate with its link partner; then, if its partner also autonegotiates and can attain a speed of 1000 Mbps, 1000Base-T will operate at 1000 Mpbs full-duplex (it is not designed to operate at 1000 Mbps half-duplex).
NOTE Partners on a link must be configured to have the same setting, that is, either both
must autonegotiate or both must be set to the same manual setting. For example, if the card is set to 100 Mbps full-duplex, the link partner must also be set to 100 Mbps full-duplex. This will help ensure operation without degraded performance.
Receive flow control Flow control allows use of flow control negotiation and sending and receiving of
pause frames. When the flow control parameter is on, the card receives and manages pause frames sent by the link partner. When the flow control parameter is off, the card will silently discard these pause frames. The card cannot be configured to send pause frames.

Performance Tuning Parameters

Send Buffer Coalescing Threshold
Receive Buffer Coalescing Threshold
Send Interrupt Coalescing Ticks
Receive Interrupt Coalescing Ticks
CAUTION These features are for advanced users. If you set these parameters and you do not
understand what they do, you may have unpredictable results. It is recommended to use the default settings.
When the card transmits or receives a frame, the system must be notified of the event. If the card interrupts the system for each transmitted and received frame, the result is a high degree of processor overhead. To prevent that, Gigabit Ethernet provides a feature called Interrupt Coalescence. Effective use of this feature can reduce system overhead and improve performance.
Chapter 2
Interrupt Coalescence essentially means that the card interrupts the system after sending or receiving a few frames. The number of frames after which the card interrupts the processor can be tuned independently for both send and receive. The tuning can be specified via two parameters each for send and receive, so that there are four parameters
13
Configuring Gigabit Ethernet Parameters
Understanding the Gigabit Ethernet Parameters
in all. One of the two parameters specifies the number of data buffers that the card must transmit (or receive) before interrupting and the other specifies the number of system clock ticks that must elapse before interrupting.
The four tuning parameters are summarized in the following table.
Table 2-1 Performance Tuning Parameters
Name Range Default Units
send_max_bufs 1 – 128 16 (for gelan)
10 (for igelan) recv_max_bufs 1 – 256 1 # of buffers send_coal_ticks 0 – 10000000 1000 (for gelan)
150 (for igelan) recv_coal_ticks 0 – 10000000 0 microseconds
A send interrupt is generated by the card to the host when either:
the number of buffers sent by the card since the previous send interrupt equals
send_max_bufs or
the time that has elapsed since the previous send interrupt equals send_coal_ticks (a value of zero disables timer-based interrupt coalescing),
whichever occurs first. A receive interrupt is generated by the card to the host when either:
the number of frames received by the card since the previous receive interrupt equals recv_max_bufs
or
# of buffers
microseconds
14
the time that has elapsed since the previous receive interrupt equals recv_coal_ticks (a value of zero disables timer-based interrupt coalescing),
whichever occurs first.
Chapter 2
Configuring Gigabit Ethernet Parameters

Using the lanadmin Tool with Gigabit Ethernet

Using the lanadmin Tool with Gigabit Ethernet
This section explains the options available in lanadmin to support the Gigabit Ethernet driver and how to use them. The lanadmin(1M) tool is used to display and set parameters, as specified by the following commands:
NOTE When your system is rebooted, settings that were made via the lanadmin(1M) command
will be lost. To retain configuration settings permanently in the configuration file (/etc/rc.config.d/hpgelanconf or /etc/rc.config.d/hpigelanconf), use the SAM utility or manually edit the configuration file.
To display the card’s station address, execute:
$ lanadmin -a
To set the card’s station address, execute:
$ lanadmin -A
where nmid is the Network Management Identifier (NMID) (for HP-UX 10.20) and ppa is the Card Instance Number (also known as physical point of attachment or PPA) (for HP-UX 11.0 and later). Both the NMID and PPAmaybeobtained from the lanscan(1M) output.
To display the MTU, execute:
$ lanadmin -m
To set the MTU, execute:
$ lanadmin -M
On HP-UX 10.20, the setting of the MTU should be followed by configuring the interface with the appropriate IP address using ifconfig(1M). See the ifconfig man page for details. The change in MTU should be verified, on all HP-UX operating systems, by executing:
$ netstat -rn
To display link parameters, execute:
nmid/ppa
station_addr nmid/ppa
nmid/ppa
mtu_size nmid/ppa
Chapter 2
$ lanadmin -x
To set link parameters, execute:
$ lanadmin -X
where
option
option nmid/ppa
option nmid/ppa
specifies the operation to be carried out.
15
Configuring Gigabit Ethernet Parameters
Using the lanadmin Tool with Gigabit Ethernet

Displaying Values

The command $ lanadmin -x (or -X) help used to display values.
Option Display
help List of -x or -X options speed Speed and duplexity of the link fctrl Whether Receive Flow Control is enabled or not send_max_bufs Value of send buffer coalescing threshold recv_max_bufs Value of receive buffer coalescing threshold send_coal_ticks Value of send interrupt coalescing ticks recv_coal_ticks Value of receive interrupt coalescing ticks stats drv Driver and adapter statistics card_info Adapter and driver revision and settings
NOTE If option is not specified, then the speed, duplexity, and autonegotiation settings are
displayed.
nmid/ppa
displays a list of valid options
Examples Card Information To display the card information, execute:
$ lanadmin -x card_info
*********** Version Information *********** Driver version: B.10.20.11 Firmware version: 12.4.5 Chip version: 0x6 PCI Sub-System ID: 0x106f (1000Base-SX) PCI Sub-Vendor ID: 0x103c Board revision: C Software Key: 6 Engineering Date Code: B-3845
*********** Card Setting *********** Driver State: GELAN_ONLINE Auto Negotiation: On Flow Control: On Send Max Buf Descriptors: 16 Recv Max Buf Descriptors: 1 Send Coalesced Ticks: 1000 Recv Coalesced Ticks: 0
nmid/ppa
16
Chapter 2
Using the lanadmin Tool with Gigabit Ethernet
Card Statistics To display the card statistics, execute:
Configuring Gigabit Ethernet Parameters
$ lanadmin -x stats drv
NOTE See Appendix B for a sample output and explanation of the card statistics.
Send Buffer Coalescing To display the send buffer coalescing threshold, execute: $ lanadmin -x send_max_bufs
Send buffer coalescing threshold = 16
Receive Interrupt Coalescing To display the receive interrupt coalescing ticks, execute:
$ lanadmin -x recv_coal_ticks
Receive interrupt coalescing ticks = 0
Flow Control To display the flow control setting, execute: $ lanadmin -x fctrl
Flow control is enabled
nmid/ppa
nmid/ppa
nmid/ppa
nmid/ppa

Setting Values

The command $ lanadmin -X (or -x) help used to set values.
Option Setting
help Lists -X or -x options auto_on Turns on auto-negotiation mode auto_off Turns off autonegotiation mode for a 1000Base-SX fctrl on Turns on receive flow control fctrl off Turns off receive flow control 10hd Sets speed of a 1000Base-T to 10 Mbps half-duplex 10fd Sets speed of a 1000Base-T to 10 Mbps full-duplex 100hd Sets speed of a 1000Base-T to 100 Mbps half-duplex 100fd Sets speed of a 1000Base-T to 100 Mbps full-duplex send_max_bufs* Sets send buffer coalescing threshold [1 – 128] recv_max_bufs* Sets receive buffer coalescing threshold [1 – 256]
nmid/ppa
displays a list of valid options
Chapter 2
send_coal_ticks* Sets send interrupt coalescing ticks [0 – 10000000]
17
Configuring Gigabit Ethernet Parameters
Using the lanadmin Tool with Gigabit Ethernet
Option Setting
recv_coal_ticks* Sets receive interrupt coalescing ticks [0 – 10000000] stats clear Clears all driver and adapter statistics * These options require the desired value to be specified after the option name.
Examples Speed To set the speed to 100 Mbps full-duplex on 1000Base-T, execute:
$ lanadmin -X 100fd
NOTE The lanadmin -S option to set the speed is not supported on Gigabit Ethernet.
Stats Clear To clear all driver and card statistics, execute: $ lanadmin -X stats clear
Buffer Coalescing Threshold To set the send buffer coalescing threshold, execute: $ lanadmin -X send_max_bufs 32 Note that the tuning option send_max_bufs requires the additional option 32 (the
coalescing threshold).
Interrupt Coalescing Ticks To set the send interrupt coalescing ticks, execute: $ lanadmin -X send_coal_ticks 2000 Note that the tuning option send_coal_ticks requires the additional option 2000 (the
number of coalescing ticks).
nmid/ppa
nmid/ppa
nmid/ppa
nmid/ppa
18
Chapter 2

3 Gigabit Ethernet Resources

This chapter provides references to other useful tools for installing, configuring, and maintaining Gigabit Ethernet.
Chapter 3
19
Gigabit Ethernet Resources

HP-UX Manual Reference Pages

HP-UX Manual Reference Pages
While installing, configuring, or troubleshooting Gigabit Ethernet, you may need to refer to any of the following online manual reference pages (man pages) for useful HP-UX operating system or Gigabit Ethernet commands. To display a man page, type the following at the system prompt: man command name. For example, man arp.
arp(1M) displays and modifies the Internet-to-station address mapping tables used by the Address Resolution Protocol.
hosts(4) is a database that contains a single line entry for each host name entry.
ifconfig(1M) assigns an address to a network interface and configures and displays network parameters.
ioscan(1M) scans system hardware, usable I/O system devices, or kernel I/O system data structures as appropriate, and lists the results.
lanadmin(1M) resets or reports the status of the LAN card.
lanconfig(1M) in HP-UX 10.20 sets/resets the packet encapsulation method for a network interface.
lanscan(1M) displays information about LAN cards that are successfully bound to the system.
linkloop(1M) verifies network connectivity through the Data Link Layer (OSI Layer 2).
netfmt(1M) formats common tracing and logging binary files.
netstat(1) provides network statistics and information about network connections.
nettl(1M) logs network events and traces packets as they enter and exit the Gigabit Ethernet driver.
ping(1M) verifies network connectivity through the Network Layer (OSI Layer 3) and reports the round-trip time of communications between the local and remote hosts.
rad(1M) in HP-UX 11i performs OLA/R functions without any comprehensive checks.
route(1M) adds and deletes entries to the network routing table.
sam(1M) configures networking software.
swinstall(1M)loads software filesets.
swverify(1M)verifies software installation.
20
Chapter 3
Gigabit Ethernet Resources

Manuals Available for Gigabit Ethernet

Manuals Available for Gigabit Ethernet
Refer to the following Quick Install Guide for step-by-step instructions on how to install and configure Gigabit Ethernet hardware and software. This guide is available on the web at http://docs.hp.com under “Networking and Communications ” and in the /opt/networkdocs directory on your system.
For A4924A, A4925A, A4926A, and A4929A:
PCI 1000Base-T and HSC/PCI 1000Base-SX/9000 Quick Installation
For A6794A, A6847A and A6825A:
PCI 1000Base-T and 1000Base-SX Quick Installation and Configuration Guide
NOTE Forcompletecomponentinstallationinstructions, refer to the Service Guide HP 9000
Server manual for your server or the appropriate Owner’s Guide for your
workstation.

Other Useful Manuals

The following manuals also provide useful information. They are available on the web at http://docs.hp.com.
Installing and Administering LAN/9000 Software Provides information on installing and administering the LAN product. It also
includes information on configuring other HP-UX link products.
Configuring HP-UX For Peripherals Provides detailed information on using OLA/R (Online Addition and Replacement).
Chapter 3
21
Gigabit Ethernet Resources

Error Messages

Error Messages
Gigabit Ethernet comes with an online message catalog that is used to report networking problems. You must use the nettl logging and tracing utility to display the probable cause and action for a message.

Logging Messages

Gigabit Ethernet uses the nettl(1M) logging and tracing facility supplied with HP-UX. You may access the logging and tracing utility using either the graphical user interface (GUI) version or the command line interface.
Features of the GUI version, which are now a part of your HP 9000 system, include:
An interface which guides you through logging and tracing tasks.
An interface which allows you to create and format reports.
The capability to collect logging and tracing subsystem-specific information.
Report screens which are updated instantaneously with current logging and tracing information by the subsystem.
Context-sensitive on-line help.
To access the GUI version of the logging and tracing utility, execute:
nettladm
See the nettladm(1M) man page for information on using the GUI version, or the nettl(1M) man page for information on using the command line interface.
Listed below are some example commands using the command line interface.
To examine the log file with cause and action descriptions, execute:
netfmt -v -f /var/adm/nettl.LOG00 | more netfmt -v -f /var/adm/nettl.LOG000 | more (for HP-UX 11i and later)
The -v option enables the reporting of available cause and action descriptions for each log message. A sample log message using the -v option is shown below.
***********Gigabit Ethernet LAN/9000 Networking***********
Timestamp : Mon Aug 3 PDT 1998 18:37:16.175754 Process ID : [ICS] Subsystem:GELAN User ID ( UID ) : -1 Log Class:DISASTER Device ID : 3 Path ID: 0 Connection ID : 0 Log Instance: 0
22
To examine just the log messages in the log file, execute:
netfmt -f /var/adm/nettl.LOG00 netfmt -f /var/adm/nettl.LOG000 (for HP-UX 11i and later)
To check network logging and tracing status, execute:
Chapter 3
Gigabit Ethernet Resources
Logging Messages
nettl -status
To start Gigabit Ethernet tracing to the file /tmp/tracefile.TRC0, execute:
nettl -traceon all -entity gelan -file /tmp/tracefile
or
nettl -traceon all -entity igelan -file /tmp/tracefile
Note: nettl(1m) adds the .TRC0 postfix for you.
To stop Gigabit Ethernet tracing, execute:
nettl -traceoff -entity gelan
or
nettl -traceoff -entity igelan
To format the Gigabit Ethernet trace file into the file /tmp/traceout, execute:
netfmt -f /tmp/tracefile.TRC0 > /tmp/traceout
Refer to the netfmt(1M)man page for further information on how to create a filter for trace formatting.
Chapter 3
23
Loading...
+ 56 hidden pages