This chapter describes the SDLC configuration and monitoring commands. It contains these sections:
About SDLC Configuration and Monitoring Commands
Accessing the SDLC Configuration Environment
Accessing the SDLC Monitoring Environment
SDLC Commands
For instructions on configuring SDLC, see Using the DLSw Protocol.
About SDLC Configuration and Monitoring Commands
SDLC configuration commands are available at the SDLC # Config> prompt, where # identifies the interface you specify with the network command. Changes made to the router's configuration do not take effect immediately, but become part of the router's non-volatile configuration memory when the router restarts.
Conversely, SDLC monitoring commands entered within the SDLC monitoring module take effect immediately. However, changes made with monitoring commands do not become part of the router's non-volatile configuration.
When the router restarts, the configuration stored in non-volatile configuration memory supersedes the effects of monitoring commands.
Monitoring consists of these actions:
Monitoring the protocols and network interfaces the router is using.
Making real-time changes to the SDLC configuration without permanently affecting the router's non-volatile configuration memory.
Displaying ELS (Event Logging System) messages relating to router activities and performance.
* config
Config>
If the Config> prompt does not appear immediately, press Return again.
Config>network 3
SDLC 3 Config>
* monitor
Monitor>
Monitor> network 3
SDLC Console
SDLC-3>
Monitor> interface 3
Self-Test Self-Test Maintenance
Nt Nt Interface CSR Passed Failed Failed
3 FR SDLC/1 80000000 1 0 0
SDLC MAC/data-link on Quad Serial Line interface.
Level converter: RS-232/V.35 Adapter cable: RS-232 DCEV.24 circuit: 105 106 107 108 109
Nicknames: RTS CTS DSR DTR DCD
RS-232 DCE: CA CB CC CD CF
State: OFF OFF OFF OFF OFF
Line speed (configured): 9.615 Kbps
Last port reset: 1 minute, 24 seconds ago
Input frame errors:
CRC error 0 alignment (byte length) 0
Too short (< 2 bytes) 0 Too long (> 2051 bytes) 0
aborted frame 0 DMA/FIFO overrun 0
Output frame errors:
DMA/FIFO Underrun error 0 Outputs aborts sent 0
SDLC Commands
This section summarizes and describes SDLC configuration and monitoring commands.
Table 2 lists SDLC configuration and monitoring commands and their functions.
Add [C] [M]
Use the SDLC stations that you configure in DLSw or use the add station command to explicitly set up SDLC stations in the following situations:
The following defaults for SDLC stations are not satisfactory:
-Maximum BTU is maximum allowable by interface
-Tx and Rx Windows are 7 for MOD 8, 127 for MOD 128
The SNA devices on the link are of mixed node types.
You want to use the group poll feature.
You want greater flexibility and control by using the SDLC monitoring commands.
The attached stations are of type PU2 if the router's link role is primary or secondary.
The attached stations are of type T2.1 if the router's link role is negotiable.
add station
Enter station address (in hex) [C2]?
Enter station name [SDLC_C2]?
Include station in group poll list ([Yes] or No):
Enter max packet size [2048]?
Enter receive window [7]?
Enter transmit window [7]?
Enter PU2 or T2.1 node type [PU2]?
Clear [M]
Clears counters for the end station.
Syntax: clear
clear link
clear station c1
delete station c1
disable link
disable station c1
enable link
enable station c1
list link
Link configuration for: LINK_2 (ENABLED)
Role: SECONDARY Type: POINT-TO-POINT
Duplex: FULL Modulo: 8
Idle state: FLAG Encoding: NRZ
Clocking: EXTERNAL Frame Size: 2048
Speed: 0 Group Poll: F3
Cable: V.36 DTE
Timers: XID/TEST response: 2.0 sec
SNRM response: 2.0 sec
Poll response: 0.5 sec
Inter-poll delay: 0.2 sec
RTS hold delay: DISABLED
Inter-frame delay: DISABLED
Inactivity timeout: 30.0 sec
Counters: XID/TEST retry: 4
SNRM retry: 6
Poll retry: 10
station all or address or link station name
Displays information for the specified SDLC link station or for all link stations.
Example: list station c1
Address Name Status Max BTU Rx Window Tx Window Node Type
------- -------- ---------- ------- --------- --------- ----------
C1(00) SDLC_C1 ENABLED 2048 7 7 T2.1
list station all
Address Name Status Max BTU Rx Window Tx Window Node Type
------- -------- ---------- ------- --------- --------- ----------
C1(00) SDLC_C1 ENABLED 2048 7 7 T2.1
C2(00) SDLC_C2 DISABLED 2048 7 7 PU 2
list link counters
Link counters for: LINK_2 (ENABLED)
I-Frames I-Bytes Re-Xmit UI-Frames UI-Bytes
--------- --------- --------- --------- ---------
Send 0 0 0 0 0
Recv 0 0 0 0
RR RNR REJ UP
--------- --------- --------- ---------
Send 0 0 0 0
Recv 0 0 0 0
station all or address or link station name
Displays the status of the specified SDLC link station or all stations.
Example: list station all
Address Name Status Max BTU Rx Window Tx Window Node Type
------- -------- ---------- ------- --------- --------- ----------
C1(00) SDLC_C1 IDLE 2048 7 7 PU 2
C2(00) SDLC_C2 ENABLED 2048 7 7 PU 2
list station c1
Address Name Status Max BTU Rx Window Tx Window Node Type
------- -------- ---------- ------- --------- --------- ----------
*C1(00) SDLC_C1 IDLE 2048 7 7 PU 2
station name or address counters
Displays frame transmit and receive counts for the specified link station.
Example: list station c1 counters
Counters for: SDLC_C1 , address C1 (ENABLED)
I-Frames I-Bytes Re-Xmit UI-Frames UI-Bytes XID-Frames
-------- ------- -------- --------- -------- ----------
Send 569 88870 0 0 0
Recv 345 4804 0 0 0
RR RNR REJ TEST SNRM DISC
-------- ------ -------- --------- -------- ----------
Send 4779 0 0 1 1 0
Recv 4443 0 0 1 0 0
UA DM FRMR
-------- ------- --------
Send 0 0 0
Recv 0 0 0
Set [C] [M]
In the SDLC configuration process, set configures specific information for one or all SDLC link stations.
In the SDLC monitoring process, set dynamically configures information for one or all SDLC link stations without affecting the router's configuration memory. You can issue set only on disabled links or stations. Not all parameters are available in the monitoring process. Enter ? after you type a command to display the available parameters.
All time values are in seconds, with a 100ms resolution.
Syntax: set
RS-232 DTE
RS-232 DCE
V35 DTE
V35 DCE
V36
X21 DTE
X21 DCE
set link cable rs-232 dte
set link clocking internal
set link duplex full
set link encoding nrz
SDLC.054: nt 3 SDLC/0 Stn C4-MaxBTU too large for Link adjusted (4096->2048)
set link frame-size
Frame size in bytes (576 - 18000) [2048]?
set link group-poll
Enter group poll address (in hex) [00]? F3
Group poll support enabled
set link idle flag
set link inactivity
Enter secondary link station inactivity timeout [30.0]?
set link inter-frame delay
Transmit Delay Counter [0]?
At connection start-up, a SNRME (rather than a SNRM) and extended SDLC frame headers are used.
Example:set link modulo 8
set link name
Enter link name: [LINK_0]?
set link poll delay
Enter delay between polls [0.2]?
set link poll retry
Enter poll retry count (0=forever) [10]?
set link poll timeout
Enter poll timeout [0.5]?
Specify secondary if the SDLC link is connected to an adjacent SDLC primary device, such as a FEP.
Specify negotiable if a T2.1 (APPN) device is attached and you anticipate XID3 exchange.
set link role primary
set link rts-hold
Enter RTS hold duration after transmit complete [0.0]?
set link snrm timeout
Enter SNRM response timeout [2.0]?
set link snrm retry
Enter SNRM retry count (0=forever)[6]?
set link speed
Internal Clock Speed [0]?
set link type multipoint
set link xid timeout
Enter XID and TEST frame response timeout [2.0]?
set link xid retry 5
Enter XID and TEST retry count (0 = forever) [4]?
set station c1 address
Enter station address (in hex) [C1]? ce
set station c1 group-inclusion yes
SDLC.054: nt 3 SDLC/0 Stn C4-MaxBTU too large for Link adjusted (4096->2048)
set station c1 max-packet
Enter max packet size [2048]?
set station c1 name
Enter station name [SDLC_C1]?
set station c1 receive-window
Enter receive window [7]?
set station c1 node-type pu2
set station c1 transmit-window
Enter transmit window [7]?
test station c1
Number of frames to send [1]? 5
Frame length [265]?
Starting echo test -- press any key to abort
5 frames sent, 5 frames received, 0 compare errors, 0 timeouts
|
Number of frames
| Number of TEST frames to send. |
|
Frame length
| Length of the frame sent. Do not enter a length larger than the maximum frame length of the specified station. |
Exit [C] [M]
Use the exit command to return to the previous prompt.
Syntax: exit
exit