|
|
This chapter explains the function and syntax of the LLC2 and SDLC commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Bridging and IBM Networking Command Reference, Volume 1, Release 12.1.
To configure an SDLC interface, use the encapsulation sdlc interface configuration command. Use the no form of this command to deactivate the command.
encapsulation sdlcSyntax Description
This command has no arguments or keywords.
To configure the router as the primary SDLC station if you plan to configure the SDLLC media translation feature, use the encapsulation sdlc-primary interface configuration command. Use the no form of this command to deactivate the command.
encapsulation sdlc-primarySyntax Description
This command has no arguments or keywords.
To configure the router as a secondary SDLC station if you plan to configure the SDLLC media translation feature, use the encapsulation sdlc-secondary interface configuration command. Use the no form of this command to deactivate the command.
encapsulation sdlc-secondarySyntax Description
This command has no arguments or keywords.
To set the amount of time the Cisco IOS software waits for an acknowledgment before sending the next set of information frames, use the llc2 ack-delay-time interface configuration command. Use the no form of this command to revert to the default setting.
llc2 ack-delay-time milliseconds
Syntax Description
milliseconds Number of milliseconds the software allows incoming information frames to stay unacknowledged. The minimum is 1 ms and the maximum is 60000 ms. The default is 100 ms.
To control the maximum amount of information frames the Cisco IOS software can receive before it must send an acknowledgment, use the llc2 ack-max interface configuration command. Use the no form of this command to revert to the default setting.
llc2 ack-max packet-count
Syntax Description
packet-count Maximum number of packets the software will receive before sending an acknowledgment. The minimum is 1 packet and the maximum is 127 packets. The default is 3 packets.
To control the frequency of polls during periods of idle time (no traffic), use the llc2 idle-time interface configuration command. Use the no form of this command to revert to the default setting.
llc2 idle-time milliseconds
Syntax Description
milliseconds Number of ms that can pass with no traffic before the LLC2 station sends a Receiver Ready frame. The minimum is 1 ms and the maximum is 60000 ms. The default is 10000 ms.
To control the maximum number of information frames the Cisco IOS software sends before it waits for an acknowledgment, use the llc2 local-window interface configuration command. Use the no form of this command to revert to the default setting.
llc2 local-window packet-count
Syntax Description
packet-count Maximum number of packets that can be sent before the software must wait for an acknowledgment. The minimum is 1 packet and the maximum is 127 packets. The default is 7 packets.
To control the amount of times the Cisco IOS software retries sending unacknowledged frames or repolls remote busy stations, use the llc2 n2 interface configuration command. Use the no form of this command to revert to the default setting.
llc2 n2 retry-count
Syntax Description
retry-count Number of times the software retries operations. The minimum is 1 retry and the maximum is 255 retries. The default is 8 retries.
To control the amount of time the Cisco IOS software will wait before resending unacknowledged information frames, use the llc2 t1-time interface configuration command. Use the no form of this command to revert to the default setting.
llc2 t1-time milliseconds
Syntax Description
milliseconds Number of ms the software waits before resending unacknowledged information frames. The minimum is 1 ms and the maximum is 60000 ms. The default is 1000 ms.
To control the amount of time the Cisco IOS software waits until repolling a busy remote station, use the llc2 tbusy-time interface configuration command. Use the no form of this command to revert to the default setting.
llc2 tbusy-time milliseconds
Syntax Description
milliseconds Number of ms the software waits before repolling a busy remote station. The minimum is 1 ms and the maximum is 60000 ms. The default is 9600 ms.
To set the amount of time the Cisco IOS software waits for a final response to a poll frame before resending the poll frame, use the llc2 tpf-time interface configuration command. Use the no form of this command to revert to the default setting.
llc2 tpf-time milliseconds
Syntax Description
milliseconds Number of ms the software waits for a final response to a poll frame before resending the poll frame. The minimum is 1 ms and the maximum is 60000 ms. The default is 1000 ms.
To control the amount of time the Cisco IOS software waits for a correct frame after sending a reject command to the remote LLC2 station, use the llc2 trej-time interface configuration command. Use the no form of this command to revert to the default setting.
llc2 trej-time milliseconds
Syntax Description
milliseconds Number of ms the software waits for a resend of a rejected frame before sending a reject command to the remote station. The minimum is 1 ms and the maximum is 60000 ms. The default is 3200 ms.
To control the frequency of exchange of identification (XID) transmissions by the Cisco IOS software, use the llc2 xid-neg-val-tim interface configuration command. Use the no form of this command to revert to the default setting.
llc2 xid-neg-val-time milliseconds
Syntax Description
milliseconds Number of ms after which the software sends XID frames to other LLC2-speaking stations. The minimum is 0 ms and the maximum is 60000 ms. The default is 0 ms.
To set the amount of time the Cisco IOS software waits for a reply to exchange of identification (XID) frames before dropping the session, use the llc2 xid-retry-time interface configuration command. Use the no form of this command to revert to the default setting.
llc2 xid-retry-time milliseconds
Syntax Description
milliseconds Number of ms the software waits for a reply to XID frames before dropping a session. The minimum is 1 ms and the maximum is 60000 ms. The default is 60000 ms.
To assign a set of secondary stations attached to the serial link, use the sdlc address interface configuration command. Use the no form of this command to remove an assigned secondary station.
sdlc address hexbyte [echo] [switched]
Syntax Description
hexbyte Hexadecimal number (base 16) indicating the address of the serial link. echo (Optional) Treats nonecho and echo SDLC addresses as the same address. switched (Optional) Causes the router to send an XID to an SDLC attached device. When the device answers, then a proxy XID is sent to the peer.
To configure the IBM reserved address ff as a valid local address, use the sdlc address ff ack-mode interface configuration command. Use the no form of this command to deactivate the command.
sdlc address ff ack-modeSyntax Description
This command has no arguments or keywords.
To adjust the amount of time a data terminal equipment (DTE) interface waits for the data circuit-terminating equipment (DCE) to assert a Clear To Send (CTS) signal before dropping a Request To Send (RTS), use the sdlc dte-timeout interface configuration command. Use the no form of this command to revert to the default setting.
sdlc dte-timeout unit
Syntax Description
unit Timeout wait interval in microseconds. The valid range is 10 to 64000. Each unit is approximately 5 microseconds. The default is 10 units (approximately 50 microseconds).
To indicate that secondary stations on a particular serial link do not support Frame Rejects (FRMRs) or error indications, use the sdlc frmr-disable interface configuration command. Use the no form of this command to specify that the secondary station does support FRMRs.
sdlc frmr-disableSyntax Description
This command has no arguments or keywords.
To control the maximum number of packets that can be held in a buffer before being transmitted to a remote SDLC station, use the sdlc holdq interface configuration command. Use the no form of this command to revert to the default setting.
sdlc holdq address queue-size
Syntax Description
address SDLC address for which you are specifying a queue size. queue-size Local send window size. The minimum is 1 packet. No maximum value has been established. The default is 200 packets.
To set the window size in order to control the maximum number of information frames the Cisco IOS software transmits before it must stop transmitting and wait for an acknowledgment from the receiving router, use the sdlc k interface configuration command. Use the no form of this command to revert to the default setting.
sdlc k window-size
Syntax Description
window-size Local send window size. The minimum is 1 frame. The maximum is 7 frames, which is the default.
To enable adaptive SDLC T1, use the sdlc line-speed interface configuration command. Use the no form of this command to deactivate the command.
sdlc line-speed rate
Syntax Description
rate Clock rate in bits per second.
Syntax Description
bit-count Number indicating bit size. Frames that exceed this size are rejected. The minimum is 1 bit. The maximum is 12000 bits, which is the default.
To determine the number of times that the Cisco IOS software resends a frame before terminating the SDLC session, use the sdlc n2 interface configuration command. Use the no form of this command to revert to the default setting.
sdlc n2 retry-count
Syntax Description
retry-count Number of retry attempts. When this number is exceeded, the SDLC station terminates its session with the other station. The minimum is 1 and the maximum is 255. The default is 20 retries.
To specify the destination address with which an LLC session is established for the SDLC station, use the sdlc partner interface configuration command. Use the no form of this command to cancel the configuration.
sdlc partner mac-address sdlc-address inbound outbound
Syntax Description
mac-address The 48-bit Media Access Control (MAC) address of the Token Ring host. sdlc-address SDLC address of the serial device that will communicate with the Token Ring host. The valid range is 1 to FE. inbound Prevents the router from sending proxy XIDs to the remote end station on behalf of the station specified. The remote end station must initiate the connection. When the router is configured for SDLC role secondary, the default is inbound (the router does not send proxy XIDs until it is polled). outbound Causes the router to send proxy XIDs to the partner end station. If the remote end station responds, then (for PU 2.1 local devices) a NULL XID is sent on the SDLC line. The default behavior for sdlc role primary is outbound, and sdlc role secondary is inbound.
To control how many times a single secondary station can be polled for input before the next station must be polled, use the sdlc poll-limit-value interface configuration command. Use the no form of this command to retrieve the default value.
sdlc poll-limit-value count
Syntax Description
count Number of times the Cisco IOS software can poll one secondary station before proceeding to the next station. The minimum is 1 time, which is the default. The maximum is 10 times.
To control how long the Cisco IOS software pauses between sending each poll frame to secondary stations on a single serial interface, use the sdlc poll-pause-timer interface configuration command. Use the no form of this command to retrieve the default value.
sdlc poll-pause-timer milliseconds
Syntax Description
milliseconds Number of ms that the software waits before sending the poll frame to a single serial interface. This is a number in the range 1 to 10000. The default is 10 ms.
To specify the interval the Cisco IOS software will wait for polls from a primary node before timing out that connection when the router has been configured for local acknowledgment and some form of SDLC communication (SDLLC or STUN, for example), use the sdlc poll-wait-timeout interface configuration command. Use the no form of this command to revert to the default setting.
sdlc poll-wait-timeout milliseconds
Syntax Description
milliseconds Number of ms the software will wait for a poll from the primary station before timing out the connection to the primary station. The minimum is 10 ms and the maximum is 64000 ms. The default is 10000 ms.
To establish correspondence between an SDLC and QLLC connection, use the sdlc qllc-prtnr interface configuration command. Use the no form of this command to deactivate the command.
sdlc qllc-prtnr virtual-mac-address sdlc-address
Syntax Description
virtual-mac-address The virtual Media Access Control (MAC) address in the form h.h.h. sdlc-address SDLC address in hexadecimal. The valid range is 1 to FE.
To establish the router to be either a primary or secondary SDLC station, use the sdlc role interface configuration command. Use the no form of this command to cancel the designation.
sdlc role {none | primary | secondary | prim-xid-poll}
Syntax Description
none Establishes the router as either a primary or secondary station, depending on the end stations. primary Establishes the router as a primary station. secondary Establishes the router as a secondary station. prim-xid-poll Establishes the router as a primary station when the end station is configured as a secondary NT2.1.
To indicate the largest information frame (I-frame) size that can be sent or received by the designated SDLC station, use the sdlc sdlc-largest-frame interface configuration command. Use the no form of this command to return to the default value.
sdlc sdlc-largest-frame address size
Syntax Description
address Address of the SDLC station that will communicate with the router. size Largest frame size that can be sent or received. The default is 265 bytes.
To enable an interface configured as a primary SDLC station to operate in two-way simultaneous mode, use the sdlc simultaneous interface configuration command.
sdlc simultaneous [full-datamode | half-datamode]
Syntax Description
full-datamode (Optional) Enables the primary station to send data to and receive data from the polled secondary station. half-datamode (Optional) Prohibits the primary station from sending data to the polled secondary station.
To enable the slow-poll capability of the router as a primary SDLC station, use the sdlc slow-poll interface configuration command. Use the no form of this command to disable slow-poll capability. Use the no form of this command to revert to the default setting.
sdlc slow-poll seconds
Syntax Description
seconds Amount of time in seconds. The default is 10 seconds.
To control the amount of time the Cisco IOS software waits for an acknowledgment to a frame or sequence of frames, use the sdlc t1 interface configuration command. Use the no form of this command to revert to the default setting.
sdlc t1 milliseconds
Syntax Description
milliseconds Number of ms that the software waits. The minimum is 1 ms and the maximum is 64000 ms. The default is 3000 ms.
To determine the status of end stations, use the sdlc test serial EXEC command. Use the sdlc test serial command with the stop keyword to halt the sending of the test frames.
sdlc test serial number address [iterations | continuous | stop | string string]
Syntax Description
serial number Serial interface on which the test frame is to be sent out. address SDLC address (in hexadecimal) of the end station to receive the test frame. iterations (Optional) Number of test frames to be sent. The valid range is 1 to 25 frames. The default is 10 frames. continuous (Optional) Sends frames continuously until the sdlc test serial command is issued with the stop keyword. stop (Optional) Halts the sending of test frames. string string (Optional) Specifies a string of characters as data within the test frame. If this option is not specified, the default test string is ABCDEFGHIJKLMNOPQRSTUVWXYZ.
To configure a MAC address for the serial interface, use the sdlc vmac interface configuration command. Use the no form of this command to disable the configuration.
sdlc vmac mac-address
Syntax Description
mac-address 48-bit MAC address of the Token Ring host.
To specify an exchange ID (XID) value appropriate for the designated SDLC station associated with this serial interface, use the sdlc xid interface configuration command. Use the no form of this command to disable XID processing for this address.
sdlc xid address xid
Syntax Description
address Address of the SDLC station associated with this interface. xid XID the Cisco IOS software will use to respond to XID requests the router receives. This value must be 4 bytes (8 digits) in length and is specified with hexadecimal digits.
To display the LLC2 connections active in the router, use the show llc2 privileged EXEC command.
show llc2Syntax Description
This command has no arguments or keywords.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 11:18:33 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.