show [node node-id] hdlc version all [attributes] all characteristics Example: show hdlc version
1 – Characteristic
o version Version of the HDLC architecture specification to which the implementation conforms. You cannot modify this characteristic.
2 – link
show [node node-id] hdlc - link link-id attribute [,attribute...] all [attributes] all characteristics all counters all identifiers all status Examples: show hdlc link * name, state show hdlc link hdlc-0 all
2.1 – Characteristics
o acknowledge timer Default: 3000 Value: 1-60000 Time (in milliseconds) to wait for an acknowledgment before using error recovery procedures. The value of this characteristic corresponds to the T1 parameter of HDLC. You can modify this characteristic only when the entity is disabled. o holdback timer Default: 0 Value: 1-60000 Maximum time to wait before sending an acknowledgment supervisory frame if no other frames carry the acknowledgment. A value of zero means that the frame will be sent immediately if no I-frame can be sent. You can modify this characteristic only when the entity is disabled. o link type Operational mode of the HDLC link. The value of this characteristic is a copy of the link type argument specified when the entity is created. You cannot modify this characteristic. o maximum data size Default: 1500 Value: 262-65532 Maximum number of bytes that users of the data link can specify. This number applies to both transmit and receive frames. The value of this characteristic must be greater than or equal to the value of the minimum data size characteristic. You can modify this characteristic only when the entity is disabled. o maximum unsequenced pdus Default: 1 Value: 1-127 Maximum number of unsequenced I-frames that a primary or secondary station can send in a single transmission. This characteristic is not used if the link type characteristic is balanced. o minimum data size Default: 576 Value: 262-65532 Minimum number of bytes that users of the data link can specify. This number applies to both transmit and receive frames. The value of this characteristic must be less than or equal to the value of the maximum data size characteristic. You can modify this characteristic only when the entity is disabled. o physical line Default: None Value: local entity name Local entity name of the the Physical layer entity over which the HDLC protocol is to operate. This characteristic must have a value before the HDLC link is enabled. You can modify this characteristic only when the entity is disabled. o preferred crc type Default: Either Value: 16 bit, 32 bit, or either CRC types available for negotiation. If the value of this characteristic is either, the station will try to use 32-bit but will use 16-bit if that is all that the remote station supports. o preferred local station address Default: 2 Value: 1-253 Address proposed for the local logical station during negotiation. If there is no negotiation, the value of this characteristic is the value that is used. If negotiation is necessary, the value of this characteristic must be between 2 and 253. You can modify this characteristic only when the entity is disabled. o preferred maximum data size Default: 1500 Value: 262-65532 Default size (in octets) of frames that the station receives and transmits. This value is used only if the link initialization does not specify a buffer value. The value of this characteristic must lie between those of the maximum data size and minimum data size characteristics. You can modify this characteristic to a lower value only when the entity is disabled. o preferred window size Default: 2 Value: 1-127 Window size to be offered during negotiation for both receive and transmit frames. The value of this characteristic must be compatible with that for the sequence modulus characteristic. o profile (OpenVMS) Simple name that can be used when the HDLC protocol is dependent on network subscription time commitments pertinent to the Data Link layer. The value of this characteristic is a copy of the profile argument specified when the entity is created. You cannot modify this characteristic. o receive buffers (OpenVMS) Default: 4 Value: 1-128 Number of receive buffers reserved for the link. This characteristic can only be set to a lower value when the entity is disabled. o retry maximum Default: 10 Value: 1-255 Maximum number of times that a frame will be retransmitted before the local station assumes that a fatal error has occurred. This characteristic can be modified only when the entity is disabled. o sequence modulus Default: 128 Value: 8 or 128 Whether modulo-8 or modulo-128 sequence numbering is allowed on the HDLC link. The value 8 means that only normal sequence numbering is allowed. The value 128 means that both extended and normal sequence numbering are supported for negotiation.
2.2 – Counters
o buffer unavailable errors Number of times that the Physical layer reported that no buffer was available to hold a message. This counter is not supported in all implementations. o crc errors received Number of frames received that had a bad CRC. o creation time Time at which this entity was created. o times pdu receive overrun Number of times a Physical line indicated an overrun condition to the Data Link layer. This counter is not supported in all implementations. o times pdu transmit failed Number of times that an attempt to send a frame failed. o up transitions Number of times that the entity's status attribute state has changed from off to on.
2.3 – Identifier
o name Simple name assigned to the HDLC link when it is created.
2.4 – Status
o actual sequence modulus Sequence number modulus in use on the link. Until negotiation is complete, this attribute has the value 128. However, if the value of the characteristic sequence modulus is 8, the modulus always appears as the value 8. 8 Indicates that modulo-8 numbering is in use. 128 Indicates that modulo-128 numbering is in use. o interframe delay Value: 0-109 Time required between frames to enable the local station to successfully receive them. o maximum pdu size Value: 1-65535 Maximum frame size (in octets) that can be used on the link. Until negotiation is complete, the value of this status attribute is the same as the characteristic preferred maximum data size. o negotiated crc type CRC mode that has been negotiated with the remote station. This mode will not be used until the station is next enabled. Until negotiation is complete, the value of this is 16-bit. o line type Value: Switched or nonswitched Defines whether the underlying physical line is switched or nonswitched. This status affects the subset of port states that are related to a given link. o physical port Name of the port in the Physical layer associated with the communications link. o response address Address that the remote station puts in response frames. o state State of the HDLC link. This reflects the last enable or disable command issued. off The link is disabled. on The link is enabled. o window size Value: 1-127 Maximum number of I-frames that can be outstanding before an acknowledgment must be received. Until negotiation is complete, the value of this status attribute is the same as the characteristic preferred window size. o uid Entity's unique identifier, which is generated when the entity is created.
2.5 – logical_station
show [node node-id] hdlc - link link-name - logical station station-name attribute [,attribute...] all [attributes] all counters all identifiers all status Examples: show hdlc link hdlc-0 logical station * all show hdlc link hdlc-0 logical station * name, state
2.5.1 – Counters
o creation time Time at which this entity was created. o data octets received Total number of octets received in the I-field of I-frames and UI-frames. This total excludes protocol ID information in UI- frames and frame retransmissions. o data octets sent Total number of octets sent in the I-field of I-frames and UI- frames. This total excludes protocol ID information in UI-frames and frame retransmissions. o data pdus received Total number of I-frames and UID-frames received. This number does not include frames that had to be retransmitted. o data pdus sent Total number of I-frames and UID-frames sent. This number does not include frames that had to be retransmitted. o frmrs generated Number of FRMRs (frame rejects) sent. o frmrs received Number of FRMRs (frame rejects) received. o invalid mode commands Number of command frames (SABME, SABM, SNRME, SNRM, SARM, and SIM) received that are not applicable to this station. o negotiation failures Number of times that the XID negotiation with the remote station has failed. o polls received Number of frames received with the poll bit set. o rejs received Number of REJ frames (rejects) received. o rejs sent Number of REJ frames (rejects) sent. o rnrs received Number of RNR (receive not ready) supervisory frames received from the remote station. o rnrs sent Number of RNR (receive not ready) supervisory frames transmitted. o times acknowledge timer expired Number of times that the acknowledge timer has expired. o times station halted Number of times the station halt event has occurred. o times station initializing Number of times the station initialized event has occurred. o times station inoperative Number of times the entity's status attribute state became inoperative. o times station maintenance Number of times the entity's status attribute state became maintenance. o times station resetting Number of times that the station reset event has occurred. o times station running Number of times that the station running event has occurred. o times station setup failed Number of times the station setup failure event has occurred. o unknown ui pdus received Number of UI-frames the local station received whose protocol ID does not match that of any open port. o xids received Number of XID (identification) command or response frames received.
2.5.2 – Identifier
o name Simple name assigned to the logical station when it is created.
2.5.3 – Status
o command address Address the local station uses when sending command frames to the remote station. o maintenance mode Whether the station is in maintenance mode. When set to true, the station will be used exclusively for maintenance operations. When set to false, the station operates in normal fashion. The limit command sets the value of this attribute to true, and the unlimit to false. o protocol state State of the data link protocol. error A protocol error occurred. For instance, the logical station received an invalid frame. halted The protocol could not start. For example, there is no client. initializing The protocol is being initialized. inoperative The protocol cannot be started because no contact has been established with the remote station. maintenance The logical station is in maintenance mode. resetting The protocol is resetting after an error. running The protocol is running and capable of exchanging frames with the remote station. o remote version Version number of the HDLC protocol that the remote station is using. This is received as part of an XID message from the remote station. o state State of the logical station. off The logical station is off because of a disable command. on The logical station is on because of an enable command. o uid Entity's unique identifier, which is generated when the entity is created.
3 – port
show [node node-id] hdlc - port port-name attribute [,attribute...] all [attributes] all identifiers all status Example: show hdlc port * name, state show hdlc port * all
3.1 – Identifier
o name Simple name assigned to the port when it is created.
3.2 – Status
o client Name of the client using the port. o logical station hdlc link logical station entity that the port is operating over. o protocol id Protocol ID that the port is using. For sequenced ports, this value is decided during negotiation. For unsequenced ports, the value is sent in every UI-frame. o state State of the port. open The port is assigned to a client. If the communications line is unswitched, data transfer can begin. For switched lines, an association must be made with the line before data transfer can begin. open The port is associated with a client, but the link disabled or logical station associated with it is disabled. o type Type of port. sequenced The port can send and receive sequenced and unsequenced data. unsequenced The port can send and receive unsequenced data only.