The Link subentity of the SAP represents a remote LAN station and its associated SAP.
1 – create
create llc2 sap link The create llc2 sap link command creates a link to a remote LAN station that operates over a particular service access point (SAP). Ex, ncl> create llc2 sap sna-0 link link-2
2 – delete
delete llc2 sap link The delete llc2 sap link command deletes a named LLC2 SAP Link instance. You can delete a SAP Link instance only when it is disabled and the transmission group that uses it is disabled. Ex, ncl> delete llc2 sap sna-0 link link-2
3 – disable
disable llc2 sap link The disable llc2 sap link command disables a named LLC2 SAP Link instance. Ex, ncl> disable llc2 sap sna-0 link link-2
4 – enable
enable llc2 sap link The enable llc2 sap link command makes a named LLC2 SAP Link instance available for connections. Ex, ncl> enable llc2 sap sna-0 link link-2
5 – set
set llc2 sap link The set llc2 sap link command lets you set the attributes for the LLC2 SAP Link subentity. Ex, ncl> set llc2 sap sna-0 link link-2 acknowledge timer = 2000
5.1 – Characteristics
Acknowledge (1-60000) Specifies the time (in milliseconds) Timer that the link waits for an acknowledgment before initiating recovery action. The default is 1000. Holdback Timer (0-60000) Specifies the delay (in milliseconds) before an acknowldgment must be sent. The default is 500. Maximum (1-65531) Specifies the largest frame size (in Data Size octets) that the link can use to send or receive data. This value does not include the size of the frame header. The default is 1028. Local Receive (1-127) Specifies the size of the window used Window Size by the link for receiving frames. The default is 127. Retry Maximum (1-255) Specifies the maximum number of times that the link retransmits a frame before assuming a fatal error and taking more drastic recovery action. The default is 10. Remote Mac LAN Specifies the unique destination MAC Address address address to be used by the link. The default is 00-00-00-00-00-00. Remote LSAP 2 character Specifies the unique address of the Address (hexa- destination LSAP (local service decimal) access point) to be used by the link. For use with the Peer Server, this value is normally set to 04.
6 – show
show llc2 sap link The show llc2 sap link command displays the attributes for a link that operates over a particular service access point (SAP). Ex, ncl> show llc2 sap sna-0 link link-2 all
6.1 – Identifier
Name Displays the Simplename assigned to the link when it was created.
6.2 – Status
Active Maximum Displays the negotiated maximum frame size Data Size (excluding the header) that can be sent and received on this link. The value is the smallest maximum data size of the Link, the SAP, and the adjacent link. State Displays the entity state of the llc2 link. Possible values are: off The link is disabled. on The link is enabled. Protocol Displays the state of the LLC2 protocol with State respect to the remote station. Possible states are: error The protocol is in a recognized error state. disconnecting The protocol is being disconnected. halted The protocol has halted. initializing The protocol is being initialized. inoperative The protocol cannot be started because the LAN station cannot provide a connection to a remote station. resetting The protocol is being reset. running The protocol is running normally. Remote LLC Class Displays the class of the remote LLC. Possible classes are: 1 Class 1 LLC. Only type 1 operation is supported. 2 Class 2 LLC. Both type 1 and type 2 operations are supported. unknown The class has not yet been established. The class is established during XID exchange between the local and remote LLC implementations. Remote Receive Displays the window size used by the remote Window Size station for receiving frames. The local station uses this value as its window for transmitting frames. UID Displays the unique identifier of the entity, which is generated when the entity is created.
6.3 – Characteristics
Acknowledge (1-60000) Displays the time (in milliseconds) Timer that the link waits for an acknowledgment before initiating recovery action. Holdback Timer (0-60000) Displays the delay (in milliseconds) before an acknowledgment must be sent. Maximum (1-65531) Displays the largest frame size (in Data Size octets) that the link can use to send or receive data. This value does not include the size of the frame header. Local Receive (1-127) Displays the size of the window used Window Size by the link for receiving frames. Retry Maximum (1-255) Displays the maximum number of times that the link retransmits a frame before assuming a fatal error and taking more drastic recovery action. Remote MAC LAN Displays the unique destination MAC Address address address to be used by the link. Remote LSAP 2 characters Displays the unique address of the Address (hexa- destination LSAP (local service decimal) access point) to be used by the link.
6.4 – Counters
Data Octets Displays the number of data octets received in Received I-frames and UI-frames from the remote end of the link. This value does not include retransmissions. Data Octets Displays the number of data octets sent in Sent I-frames and UI-frames to the remote end of the link. This value does not include retransmissions. Data PDUs Displays the number of I-frames and UI-frames Received received from the remote end of the link. This value does not include retransmissions. Data PDUs Displays the number of I-frames and UI-frames sent Sent to the remote end of the link. This value does not include retransmissions. REJs Received Displays the number of REJ (reject) frames received. REJs Sent Displays the number of REJ (reject) frames transmitted. RNRs Received Displays the number of RNR (receive not ready) frames received. RNRs Sent Displays the number of RNR (receive not ready) frames transmitted. XIDs Received Displays the number of XID frames received. XIDs Sent Displays the nubmer of XID framed transmitted. FRMRs Received Displays the number of FRMR (frame reject) frames received. FRMRs Sent Displays the number of FRMR (frame reject) frames generated as a result of invalid incoming frames. Polls Received Displays the number of command frames received with the P-bit set. Times Acknowledge Displays the number of times the local acknowledge Timer Expired timer has expired. Times Poll Displays the number of times the local poll timer Timer Expired has expired. Times Reject Displays the number of times the local reject Timer Expired timer has expired. Times Busy Displays the number of times the local busy timer Timer Expired has expired. Times Link Displays the number of times the link's state State Changed changed from on to off, or from off to on. Times Link Displays the number of times the link's protocol Running state status attribute was set to running. When the link enters the running state, the protocol has been successfully initialized or reset. Times Link Displays the number of times the link's protocol Initializing state status attribute was set to initializing. Times Link Displays the number of times the link's protocol Resetting state status attribute was set to resetting. Times Link Displays the number of times the link's protocol Halted state status attribute was set to halted. Times Link Displays the number of times the link's protocol Inoperative state status attribute was set to inoperative. Times Link Displays the number of times the LLC2 fails to Setup Failed initialize correctly after the maximum number of retries. Creation Time Displays the time at which the entity was created.