HPlogo NS 3000/iX Operations and Maintenance Reference Manual > Appendix A LINKCONTROL Command

NS 3000/iX LAPBMUX Link Statistics

MPE documents

Complete PDF
Table of Contents
Index

The following section describes the data that is output when you issue the LINKCONTROL command to obtain statistics relating to NS 3000/iX LAPBMUX Links.

LINKSTATE Parameter Fields


The following is an example of the data that is displayed when you issue the LINKCONTROL linkname;STATUS=LINKSTATE command:

 Linkname: PLSPLNK7  Linktype: PCI LAPBMUX  Linkstate: CONNECTED LEVEL 2

Linkname — The Likname field specifies the name of the link.

Linktype — The Linktype field specifies the type of link, such as LAP-B, LAPBMUX, 100BT, or IEEE 802.3, that is being monitored, and the type of I/O bus it is on (will be preceded with "PCI" for PCI LAPBMUX links).

Linkstate — The Linkstate field specifies the current state of the link. The possible link states are as follows:
  • Not connected

  • Connected level 1.

  • Connected level 2

  • Connecting level 1.

  • Connecting level 2.

  • Disconnecting level 1.

  • Disconnecting level 2.

In this example, in LINKSTATE Command for LAP-B Link, the current state of the LAPB link named PLAPLNK7 is CONNECTED LEVEL 2.

The LINKSTATE parameter fields are displayed whenever you enter the LINKCONTROL Status command, regardless of which other parameters are specified.

CONFIGURATION Parameter Fields


The CONFIGURATION parameter for LAPBMUX links displays the LINKSTATE parameter fields and many additional fields. These additional fields display information that is related to the link configuration and which, except for the Cable Type parameter, are input through the NMMGR configuration program.

LAPBMUX CONFIGURATION Parameter Output provides an example of the data that is displayed when you issue the LINKCONTROL linkname;STATUS=CONFIGURATION command:

 Linkname: PLAPLNK7  Linktype: PCI LAPBMUX  Linkstate: CONNECTED LEVEL 2

 Physical Path:           0/6/2/1.7
 Physical interface            V.35      LAPB parm T1 :sec             3
 Transmission speed        20480009      LAPB parm N2 :retry          20
 Clock source              External      LAPB parm K                   7
 Local mode                     DTE      Module Count                  8
 Connect timeout :sec           900      Buffer size :bytes         4096
 Adapter timeout :sec            10

Physical Path — The Physical Path field displays the current physical path for the adapter card as specified in the NMCONFIG configuration file.


NOTE: On PCI LAPBMUX links, the physical path generally has more components and is a "longer" path (e.g., 0/6/0/1.2, in which 0/6/0/1 is the path .2 is the port number) along with the port number associated with that link. The output for PCI links is different from that HP-PB.

Physical Interface — The Cable Type field displays the cable type that is currently connected to the PSI card. This data is provided by the PSI card and cannot be configured through NMMGR. The possible values for this field are as follows:
  • RS232

  • V.35

  • None

Transmission Speed — The Transmission Speed field displays the current transfer rate, or clocking, configured for the node in the NMMGR Link screen. If modems are used, the modems will control the clocking. The ACC card transmits at the clocking setting of the modem and ignores the value configured in this field.

Clocking Source — The Clocking source field displays the clocking, configured for the node in the NMMGR Link screen. The possible types of clocking source are:
  • External

  • Internal

If modems are used, the modems will control the clocking and clocking source should be configured as "External". If the node is connected to other node which requires clocking, then it should be configured as "Internal".

Local Mode — The Local Mode field displays the value specified for local mode in the NMMGR link screen. The possible values for this field are as follows:
  • DTE, for connection to a device that is configured as a DCE.

  • DCE, for connection to a device that is configured as a DTE.

Connect Timeout — The Connect Timeout field displays the current logical link level 2 connection timeout. The Connect Timeout parameter sets the amount of time a node will wait for a logical connection to a remote node to be established. If this timer expires, the node aborts the connection attempt. The abort process can take several additional seconds.

Adapter Timeout — The Adapter Timeout field displays the value specified for the Adapter timer. This timer, also called a heartbeat timer, is used to monitor whether the system and/or the ACC card are functioning. The ACC card, and the system, transmit a signal, called a heartbeat signal, to each other on a specified schedule. If, for example, the heartbeat does not arrive at the PSI card from the system (or vice-versa), the card or system waits the number of seconds specified by this field. If no heartbeat arrives before this timer expires, the link is dropped. You can determine whether the PSI card or the system failed by checking to see which device is still active. The default for this field is 60 seconds and it is recommended that you do not change the value of this field. The PSI always waits 20 seconds longer than the system waits before it drops the link.

LAPB Parm T1 — The LAPB Parm T1 field displays the current value of the T1 timer. The T1 timer waits the specified number of hundredths-of-seconds for a particular frame to be acknowledged. A frame that is transmitted, but not acknowledged, before the T1 timer expires, is retransmitted.

LAPB Parm N2 — The LAPB Parm N2 field displays the maximum number of times a frame is retransmitted after the LAPB Parm T1 expires. The frame is retransmitted at the LAPB Parm T1 interval for the number of times specified in this field. When this count is depleted, the frame is retransmitted at 20 second intervals. If no response is received after these transmissions, the link is brought down.

A node that is configured with the value specified in LAP-B CONFIGURATION Parameters output will attempt to retransmit an unacknowledged frame a maximum of 20 times at T1 intervals.

LAPB Parm K — The LAPB Parm K field displays the configured number of unacknowledged frames that are allowed in the network at any given time. For example, if this value is set to seven (7) for a node, and that node transmits seven (7) packet frames onto the network, it cannot transmit another frame until one or more of the transmitted frames are acknowledged.

Modulo Count — The Modulo Count field displays the maximum frame sequence number allowable for any frame in the network. This field can be set to a value of 8 or 128, meaning that frames are numbered from either 0 through 7, or 0 through 127.

Buffer Size — The Buffer Size field displays the current buffer size. This value will be equal to the buffer size configured in the NMMGR Link screen plus 4 bytes of overhead that is added by the level 3 protocol.

STATISTICS Parameter Fields


The STATISTICS parameter for LAPBMUX links displays many fields in addition to the LINKSTATE parameter fields. The CONFIGURATION parameter fields are not displayed when this parameter is used. For an example of the data that is displayed when you issue the LINKCONTROL linkname;STATUS=STATISTICS command:
Transmit bytes        11543567876     Receive bytes          32948732576
TransmitS                13166130     ReceiveS                  18338778
Transmits ctrl bytes            0     Receive ctrl bytes               0
Transmit ctrl                   0     Receive ctrl                     0
Transmit overruns               0     Receive overruns                 0
Tx deferred: iova               0     Recv deferred: iova              0
Tx deferred: buffer             0     Recv dropped: buffer             0
Level-2 connects                1     Recv dropped: addr               0
Level-2 disconnects             0     Recv dropped: other              0
Connect timeouts                0     Secs since clear            173980
This command displays statistics about data transmitted and received across the link. Many field values are summations. Over time, the values in these fields reach their maximum possible value. When this occurs, these fields can only be reset manually.

Transmit bytes — Total number of bytes successfully transmitted onto the medium. This includes normal data bytes as well as control data bytes. The maximum printable value of this 64-bit field is 17 digits, or about 99 million Gbytes. In the previous example, 10.1 million bytes were transmitted, or about 9.7 Mbytes.

Transmits — Total number of frames successfully transmitted onto the medium at normal priority. Normal data as well as the control data frames. The byte count given by Transmit bytes is distributed over this number of frames. The maximum printable value of this 64-bit field is 17 digits, or about 99 million billion frames. In the previous example above, 127700 frames were transmitted at normal priority.

Transmit ctrl bytes — Total number of control bytes successfully transmitted onto the medium. The maximum printable value of this 64-bit field is 17 digits, or about 99 million Gbytes. In the previous example, 0 control data bytes were transmitted.

Transmit ctrl — Total number of control frames successfully transmitted onto the medium at normal priority. The byte count given by Transmit ctrl bytes is distributed over this number of frames. The maximum printable value of this 64-bit field is 17 digits, or about 99 million billion frames. In the previous example, 0 control frames were transmitted at normal priority.

Transmits overruns — Total number of frames that were deferred to other network traffic before their initial transmission onto the network. This means that the 100Base-T card had to wait for carrier to drop and stay dropped for a few nanoseconds, before attempting to transmit the frame. The maximum printable value of this 64-bit field is 17 digits, or about 99 million billion frames. In the previous example, 1738 transmit frames were deferred.

Level-2 connects — Number of times the link driver noticed the link had previously been established, but was no longer up. This may occur because the cable was unplugged, the hub was powered off, the hub automatically requested a reconnect, or normally (at link shutdown time). This total does not include repetitive, failed attempts by the link driver to reestablish the link. The maximum value of this 32-bit field is 2147483647.

Level-2 disconnects — Number of times the link driver noticed the link had previously been established, but was no longer up. This may occur because the cable was unplugged, the hub was powered off, the hub automatically requested a reconnect, or normally (at link shutdown time). This total does not include repetitive, failed attempts by the link driver to reestablish the link. The maximum value of this 32-bit field is 2147483647.

Receive bytes — Total number of bytes successfully transmitted onto the medium. This includes normal data bytes as well as control data bytes. The maximum printable value of this 64-bit field is 17 digits, or about 99 million Gbytes. In the previous example, 10.1 million bytes were transmitted, or about 9.7 Mbytes.

Receives — Total number of frames successfully received from the card at normal priority. This includes normal data as well as control data frames. The byte count given by Receive bytes is distributed over this number of frames. The maximum printable value of this 64-bit field is 17 digits, or about 99 million billion frames. In the previous example, 127700 frames were transmitted at normal priority.

Receive ctrl bytes — Total number of control bytes successfully received from the card. The maximum printable value of this 64-bit field is 17 digits, or about 99 million Gbytes. In the previous example, 10.1 million bytes were received, or about 9.7 Mbytes.

Receive ctrl — Total number of control frames successfully received from the card at normal priority. The byte count given by Receive Ctrl bytes is distributed over this number of frames. The maximum printable value of this 64-bit field is 17 digits, or about 99 million billion frames. In the previous example, 0 control frames were received at normal priority.

Receive overruns — Total number of frames that were deferred to other network traffic before their initial transmission onto the network. This means that the 100Base-T card had to wait for carrier to drop and stay dropped for a few nanoseconds, before attempting to transmit the frame. The maximum printable value of this 64-bit field is 17 digits, or about 99 million billion frames. In the previous example, 1738 transmit frames were deferred.

Recv dropped: buffer — Total number of frames received from the adapter card, but dropped because no data buffers were available from the upper layer protocol requesting to receive these frames. This is a relatively common occurrence, amounting to flow control for all protocols sharing those buffers. Many protocols include built-in mechanisms for detecting lost frames and requesting their retransmission from the remote side. The maximum value of this 32-bit field is 2147483647. In the example above, out of 66.4 million frames received, 262 have been dropped for lack of buffer resources; any similar level would be considered normal.

Recv dropped: addr — Total number of frames received by the adapter card, but dropped because no upper layer protocol had requested future reception of those frames, or because that protocol unbound itself from the link while the received frame was still in motion. Older, intelligent adapter cards can invisibly receive and drop these frames, often without ever reporting them as statistics. But today's adapters are not intelligent, and require link driver involvement. For users unfamiliar with seeing it, this statistic may seem excessive. But it is important because it gives an indication of the amount of unnecessary traffic present on the network segment to which the adapter card is connected. High values may indicate a need to resegment the network, since systems and their adapters are spending a large amount of time and resources recognizing and dropping frames they do not care to see. High volumes of such traffic can also limit network bandwidth. The maximum printable value of this 64-bit field is 17 digits, or about 99 million billion frames. In the previous example, out of 15.7 million frames received, 9.87 million have been dropped based on address: about 63% of all frames received are then being dropped. This level would be considered high.

Recv dropped: other — Sum total number of frames received from the adapter card, but dropped because: an upper layer protocol error was returned; the required address format was not supported; the frame arrived while the link driver was in an unusual state; or for perfect multicast filtering reasons. The maximum value of this 32-bit sum is 2147483647. In the example above, 24785 frames have been dropped for one or more of the reasons listed; this number would be considered high, and further investigation might be needed if it appears to be impacting any applications.

Recv deferred — Number of times an address-matched receive frame was temporarily held (queued) by the link driver, because of a momentary lack of DMA resources. Once those resources became available, the frame was automatically transferred to the host. The maximum printable value of this 64-bit field is 17 digits, or about 99 million billion frames. In the previous example, 123 frames were temporarily held.

Secs since clear — The number of seconds elapsed since statistics were last reset via the LINKCONTROL linkname; STATUS=RESET command. This gives the sample time over which the displayed statistics have been collected. Per-time-unit figures may then be calculated if desired. The maximum value of this 32-bit field is 2147483647, or about 68 years.

RESET Parameter Fields


The RESET parameter for LAPBMUX links reset all the accumulated statistics for the links, The command also displays all of the LINKSTATE, CONFIGURATION, and STATISTICS parameter fields. Refer to the STATISTICS parameter for a description of the displayed fields.

ALL Parameter Fields


The ALL parameter for LAPBMUX links displays all of the LINKSTATE, CONFIGURATION, and STATISTICS parameter fields. This is an example of the ALL parameter output:

 Linkname: PLAPLNK7  Linktype: PCI LAPBMUX  Linkstate: CONNECTED LEVEL 2

 Physical Path:           0/6/2/1.7
 Physical interface            V.35      LAPB parm T1 :sec             3
 Transmission speed           56000      LAPB parm N2 :retry          20
 Clock source              External      LAPB parm K                   7
 Local mode                     DTE      Module Count                  8
 Connect timeout :sec           900      Buffer size :bytes         4096
 Adapter timeout :sec            10

 Transmit bytes        11543567876     Receive bytes         32948732576
 TransmitS                13166130     ReceiveS                 18338778
 Transmits ctrl bytes            0     Receive ctrl bytes              0
 Transmit ctrl                   0     Receive ctrl                    0
 Transmit overruns               0     Receive overruns                0
 Tx deferred: iova               0     Recv deferred: iova             0
 Tx deferred: buffer             0     Recv dropped: buffer            0
 Level-2 connects                1     Recv dropped: addr              0
 Level-2 disconnects             0     Recv dropped: other             0
 Connect timeouts                0     Secs since clear           173980




NS 3000/iX 100Base-T Link Statistics


Appendix B Submitting an CR