Table Of Contents
ARAP Debugging Enhancements
Feature Summary
The AppleTalk Remote Access Protocol (ARAP) debugging has been enhanced to allow debugging on one or more specific lines rather than on all the lines connected to an access server.
Benefits
Allowing users to specify a single line via an additional parameter for debugging produces the following benefits:
•
Focused results—Users get only the information they need.
•
Reduced server load—Heavily loaded servers are subject to developing ARAP problems which need to be fixed by debugging. However, debugging itself increases the server work load. By focusing on specific lines, the impact of debugging activity on the server is minimized.
•
Targeting flexibility—By being able to debug on just the lines in a group of lines, users can solve problems in rotary groups in which there is no way to specify which line or group of lines a remote user will be assigned.
Platforms
This feature is supported on all Cisco routers and access servers that support the AppleTalk software feature set.
Supported MIBs and RFCs
None.
Configuration Tasks
Perform the following tasks to enable ARAP debugging:
•
Specify the debugging mode (for example, internal, memory).
•
Specify what is to be debugged (for example, a line, group of lines, console).
•
Enter the show debug command to examine the debug output.
Configure ARAP debugging as shown in .
Configure
Verify
Enter the show debug command to see if the debug level and target are set correctly:
router# show debugrouter# show debugAppleTalk Remote Access:ARAP MNP4 debugging is on for line 7Configuration Examples
The following example sets ARAP debugging in memory mode on line 7. The show debug command confirms the configuration.
router# debug arap mn 7ARAP MNP4 debugging is on for line 7router# debug arap mn 8ARAP MNP4 debugging is on for line 8router# debug arap mn 9ARAP MNP4 debugging is on for line 9router# show debugAppleTalk Remote Access:ARAP MNP4 debugging is on for line 7ARAP MNP4 debugging is on for line 8ARAP MNP4 debugging is on for line 9Note that you can debug several lines (for example, lines in a rotary), but you must turn on debugging one line at a time.
The following example sets ARAP debugging in internal mode on line 6, memory mode on line 10, and V.42bis compression mode on line 6. The show debug command confirms the configuration.
router# debug arap in 6ARAP internal packet debugging is on for line 6router# debug arap me 10ARAP memory debugging is on for line 10router# debug arap v 6ARAP V.42bis debugging is on for line 6router# show debugAppleTalk Remote Access:ARAP V.42bis debugging is on for line 6ARAP internal packet debugging is on for line 6ARAP memory debugging is on for line 10The following example sets ARAP debugging for each mode in succession and for all lines. The show debug command confirms the configuration.
router# debug arap mnp4ARAP MNP4 debugging is onrouter# debug arap internalARAP internal packet debugging is onrouter# debug arap v42bisARAP V.42bis debugging is onrouter# debug arap memoryARAP memory debugging is onrouter# show debugAppleTalk Remote Access:ARAP MNP4 debugging is onARAP V.42bis debugging is onARAP internal packet debugging is onARAP memory debugging is onrouter#The following example sets all debugging (including ARAP debugging) for all modes and for all lines. The show debug command confirms the configuration.
router# debug allThis may severely impact network performance. Continue? [confirm]yAll possible debugging has been turned onrouter# show debug"debug all" is in effect.
CautionDo not use the debug all command in networks with medium to high traffic loads as you may overload and crash the router. The warning that turning on all debugging utilities can "severely impact network performance" is considered something of an understatement.
The following example turns off ARAP debugging. The show debug command confirms the configuration.
router#router# undebug allAll possible debugging has been turned offrouter# show debugrouter#The following is a sample of debug output for two lines, 2 and 4:
ARAP MEM TTY 4: arap_getbuffer 94745CARAP MEM TTY 4: arap_datagram_done 7BD324MNP4 TTY 4:mnp4_input()MNP4 TTY 2:mnp4_input()ARAP MEM TTY 2: arap_getbuffer 7BD158MNP4 TTY 2:Rcv LA Nr[31] Nk[08]ARAP MEM TTY 2: arap_datagram_done 7BD6BCMNP4 TTY 4:mnp4_input()ARAP SMARTBUF TTY 2: ring end 936C62, start 934ED4, need 58 bytesARAP SMARTBUF TTY 2: new seq 161ARAP TTY 4: Received TICKLEARAP TTY 4: --------- ACKing 125 ---------ARAP SMARTBUF TTY 2: ring end 936C28, start 934ED4, need 58 bytesARAP SMARTBUF TTY 2: new seq 160ARAP SMARTBUF TTY 2: ring end 9342B4, start 9322EC, need 64 bytesARAP SMARTBUF TTY 2: new seq 144ARAP SMARTBUF TTY 2: search...ARAP SMARTBUF TTY 2: search...0 ddp; trailing; 1 ddp; trailing; 2 ddp; trailing; 3 ddp; trailing; 4 ddp; trailing; 5 ddp; 6 offset; 7 ddp; trailing; 8 ddp; 9 offset; 10 ddp; trailing; 11 ddp; trailing; 12 ddp; trailing; 13 ddp; trailing; 14 ddp; 15 ddp; trailing; 16 ddpARAP SMAR@TBUF TTY 2: ring end 936C62, start 934ED4, need 58 bytesARAP SMARTBUF TTY 2: new seq 161ARAP TTY 4: Received TICKLEARAP TTY 4: --------- ACKing 125 ---------ARAP TTY 2: Received TICKLEARAP TTY 2: --------- ACKing 114 ---------V42bis TTY 4: OUT uncomp (12): 0 10 16 33 0 9 1 195 255 255 255 255V42bis TTY 4: OUT comp (6): 10 38 229 203 3 0V42bis TTY 4: IN comp (6): 205 145 196 79 2 0V42bis TTY 4: IN uncomp (12): 0 10 16 143 0 9 0 0 255 255 255 255V42bis TTY 4: OUT uncomp (6): 0 4 16 143 0 0V42bis TTY 4: OUT comp (6): 182 244 235 0 2 0V42bis TTY 4: IN comp (6): 217 111 250 0 2 0V42bis TTY 4: IN uncomp (6): 0 4 16 33 0 0V42bis TTY 2: IN comp (5): 247 225 15 102 0V42bis TTY 2: IN uncomp (12): 0 10 16 132 0 9 255 219 255 255 255 255V42bis TTY 2: OUT uncomp (6): 0 4 16 132 0 0V42bis TTY 2: OUT comp (6): 126 63 196 65 2 0......................The boldfaced portion of this example shows that for line 2, LA is the MNP4 acknowledge frame, 31 is the sequence number of the last frame, and 08 is the window size.
Command Reference
debug arap
Use the debug arap EXEC command to display AppleTalk Remote Access Protocol (ARAP) events. The no form of this command disables debugging output.
[no] debug arap {internal | memory | mnp4 | v42bis} [linenum [aux | console | tty | vty]]
Syntax Description
Usage Guidelines
This command first appeared in Cisco IOS Release 10.2. Use the debug arap command with the debug callback command on access servers to debug dial-in and callback events.
Use the debug modem command to help catch problems related to ARAP auto-detection (that is, autoselect arap). These problems are very common and are most often caused by modems, which are the most common cause of failure in ARAP connection and configuration sessions.
Sample Display
The following shows sample debug arap internal output:
Router# debug arap internalARAP: ---------- SRVRVERSION ----------ARAP: ---------- ACKing 0 ----------ARAP: ---------- AUTH_CHALLENGE ----------arapsec_local_account setting up callbackARAP: ---------- ACKing 1 ----------ARAP: ---------- AUTH_RESPONSE ----------arap_startup initiating callback ARAP 2.0ARAP: ---------- CALLBACK ----------TTY7 Callback process initiated, user: dialback dialstring 40TTY7 Callback forced wait = 4 secondsTTY7 ARAP Callback Successful - await exec/autoselect pickupTTY7: Callback in effectARAP: ---------- STARTINFOFROMSERVER ----------ARAP: ---------- ACKing 0 ----------ARAP: ---------- ZONELISTINFO ----------ARAP: ---------- ZONELISTINFO ----------ARAP: ---------- ZONELISTINFO ----------ARAP: ---------- ZONELISTINFO ----------ARAP: ---------- ZONELISTINFO ----------Related Command
debug callback
debug modemWhat to Do Next
For more information, refer to the "Configuring AppleTalk Remote Access" chapter in the Dial Solutions Configuration Guide.
