Page 146 / 196 Scroll up to view Page 141 - 145
14-6
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 14
Troubleshooting
ATM Troubleshooting Commands
debug atm Commands
Use the
debug
commands to troubleshoot configuration problems that you might be having on your
network. The
debug
commands provide extensive, informative displays to help you interpret any
possible problems.
Guidelines for Using Debug Commands
Read the following guidelines before using debug commands to ensure appropriate results.
All debug commands are entered in privileged EXEC mode.
To view debugging messages on a console, enter the
logging console debugging
command.
Most
debug
commands take no arguments.
To disable debugging, enter the
undebug all
command.
To use
debug
commands during a Telnet session on your router, enter the
terminal monitor
command.
Caution
Debugging is assigned a high priority in your router CPU process, and it can render your router unusable.
For this reason, use
debug
commands only to troubleshoot specific problems. The best time to use debug
commands is during periods of low network traffic so that other activity on the network is not adversely
affected.
You can find additional information and documentation about the
debug
commands in the
Cisco IOS
Debug Command Reference
.
debug atm errors Command
Use the
debug atm
errors
command to display ATM errors. The
no
form of this command disables
debugging output.
Example 14-4
shows a sample output.
Example 14-4
Viewing ATM Errors
Router#
debug atm errors
ATM errors debugging is on
Router#
01:32:02:ATM(ATM0.2):VC(3) Bad SAP received 4500
01:32:04:ATM(ATM0.2):VC(3) Bad SAP received 4500
01:32:06:ATM(ATM0.2):VC(3) Bad SAP received 4500
Maximum
Transmit
Channels
Maximum number of transmit channels.
Max Datagram
Size
Configured maximum number of bytes in the largest datagram.
PLIM Type
Physical layer interface module (PLIM) type.
Table 14-2
show atm interface Command Output Description (continued)
Field
Description
Page 147 / 196
14-7
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 14
Troubleshooting
ATM Troubleshooting Commands
01:32:08:ATM(ATM0.2):VC(3) Bad SAP received 4500
01:32:10:ATM(ATM0.2):VC(3) Bad SAP received 4500
debug atm events Command
Use the
debug atm
events
command to display events that occur on the ATM interface processor and to
diagnose problems in an ATM network. This command provides an overall picture of the stability of the
network. The
no
form of this command disables debugging output.
If the interface is successfully communicating with the Digital Subscriber Line Access Multiplexer
(DSLAM) at the telephone company, the modem state is 0x10. If the interface is not communicating with
the DSLAM, the modem state is 0x8.
Example 14-5
shows an ADSL line that is up and training
successfully.
Example 14-6
shows an ADSL line that is not communicating correctly. Note that the
modem state does not transition to 0x10.
Example 14-5
Viewing ATM Interface Processor Events—Success
Router#
debug atm events
Router#
00:02:57: DSL: Send ADSL_OPEN command.
00:02:57: DSL: Using subfunction 0xA
00:02:57: DSL: Using subfunction 0xA
00:02:57: DSL: Sent command 0x5
00:02:57: DSL: Received response: 0x26
00:02:57: DSL: Unexpected response 0x26
00:02:57: DSL: Send ADSL_OPEN command.
00:02:57: DSL: Using subfunction 0xA
00:02:57: DSL: Using subfunction 0xA
00:02:57: DSL: Sent command 0x5
00:03:00: DSL: 1: Modem state = 0x8
00:03:02: DSL: 2: Modem state = 0x10
00:03:05: DSL: 3: Modem state = 0x10
00:03:07: DSL: 4: Modem state = 0x10
00:03:09: DSL: Received response: 0x24
00:03:09: DSL: Showtime!
00:03:09: DSL: Sent command 0x11
00:03:09: DSL: Received response: 0x61
00:03:09: DSL: Read firmware revision 0x1A04
00:03:09: DSL: Sent command 0x31
00:03:09: DSL: Received response: 0x12
00:03:09: DSL: operation mode 0x0001
00:03:09: DSL: SM: [DMTDSL_DO_OPEN -> DMTDSL_SHOWTIME]
Example 14-6
Viewing ATM Interface Processor Events—Failure
Router#
debug atm events
Router#
00:02:57: DSL: Send ADSL_OPEN command.
00:02:57: DSL: Using subfunction 0xA
00:02:57: DSL: Using subfunction 0xA
00:02:57: DSL: Sent command 0x5
00:02:57: DSL: Received response: 0x26
00:02:57: DSL: Unexpected response 0x26
00:02:57: DSL: Send ADSL_OPEN command.
00:02:57: DSL: Using subfunction 0xA
00:02:57: DSL: Using subfunction 0xA
00:02:57: DSL: Sent command 0x5
00:03:00: DSL: 1: Modem state = 0x8
00:03:00: DSL: 1: Modem state = 0x8
Page 148 / 196
14-8
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 14
Troubleshooting
ATM Troubleshooting Commands
00:03:00: DSL: 1: Modem state = 0x8
00:03:00: DSL: 1: Modem state = 0x8
00:03:00: DSL: 1: Modem state = 0x8
00:03:00: DSL: 1: Modem state = 0x8
debug atm packet Command
Use the
debug atm
packet
command to display all process-level ATM packets for both outbound and
inbound packets. The output reports information online when a packet is received or a transmission is
attempted. The
no
form of this command disables debugging output.
Caution
Because the
debug atm packet
command generates a significant amount of output for every packet
processed, use it only when network traffic is low, so that other system activities are not adversely
affected.
The command syntax is:
debug atm packet
[
interface atm
number
[
vcd
vcd-number
][
vc
vpi/vci
number
]]
no debug atm packet
[
interface atm
number
[
vcd
vcd-number
][
vc
vpi/vci
number
]]
where the keywords are defined as follows:
interface atm
number
(Optional) ATM interface or subinterface number.
vcd
vcd-number
(Optional) Number of the virtual circuit designator (VCD).
vc
vpi/vci number
VPI/VCI value of the ATM PVC.
Example 14-7
shows sample output for the
debug atm packet
command.
Example 14-7
Viewing ATM Packet Processing
Router#
debug atm packet
Router#
01:23:48:ATM0(O):
VCD:0x1 VPI:0x1 VCI:0x64 DM:0x0 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x70
01:23:48:4500 0064 0008 0000 FF01 9F80 0E00 0010 0E00 0001 0800 A103 0AF3 17F7 0000
01:23:48:0000 004C BA10 ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD
01:23:48:ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD
01:23:48:ABCD ABCD ABCD ABCD ABCD
01:23:48:
01:23:48:ATM0(I):
VCD:0x1 VPI:0x1 VCI:0x64 Type:0x0 SAP:AAAA CTL:03 OUI:000000 TYPE:0800 Length:0x70
01:23:48:4500 0064 0008 0000 FE01 A080 0E00 0001 0E00 0010 0000 A903 0AF3 17F7 0000
01:23:48:0000 004C BA10 ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD
01:23:48:ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD
01:23:48:ABCD ABCD ABCD ABCD ABCD
01:23:48:
Table 14-3
describes some of the fields shown in the
debug atm packet
command output.
Table 14-3
debug atm packet Command Output Description
Field
Description
ATM0
Interface that is generating the packet.
(O)
Output packet. (I) would mean receive packet.
Page 149 / 196
14-9
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 14
Troubleshooting
Software Upgrade Methods
Software Upgrade Methods
Several methods are available for upgrading software on the Cisco 850 and Cisco 870 series access
routers, including:
Copy the new software image to flash memory over the LAN or WAN while the existing Cisco IOS
software image is operating.
Copy the new software image to flash memory over the LAN while the boot image (ROM monitor)
is operating.
Copy the new software image over the console port while in ROM monitor mode.
From ROM monitor mode, boot the router from a software image that is loaded on a TFTP server.
To use this method, the TFTP server must be on the same LAN as the router.
Recovering a Lost Password
To recover a lost enable or lost enable-secret password:
1.
Change the Configuration Register
2.
Reset the Router
3.
Reset the Password and Save Your Changes
(for lost enable secret passwords only)
4.
Reset the Configuration Register Value
Note
Recovering a lost password is only possible when you are connected to the router through the console
port. These procedures cannot be performed through a Telnet session.
Tip
See the “Hot Tips” section on Cisco.com for additional information on replacing enable secret
passwords.
VCD: 0x
n
Virtual circuit associated with this packet, where
n
is some
value.
VPI: 0x
n
Virtual path identifier for this packet, where
n
is some value.
DM: 0x
n
Descriptor mode bits, where
n
is some value.
Length:
n
Total length of the packet (in bytes) including the ATM
headers.
Table 14-3
debug atm packet Command Output Description (continued)
Field
Description
Page 150 / 196
14-10
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
OL-5332-01
Chapter 14
Troubleshooting
Recovering a Lost Password
Change the Configuration Register
To change a configuration register, follow these steps:
Step 1
Connect an ASCII terminal or a PC running a terminal emulation program to the CONSOLE port on the
rear panel of the router.
Step 2
Configure the terminal to operate at 9600 baud, 8 data bits, no parity, and 1 stop bit.
Step 3
If you still have access to the router, enter the
show version
command at the privilege EXEC prompt to
display the existing configuration register value (shown in bold at the bottom of this output example).
Record the setting of the configuration register.
Router#
show version
Cisco IOS Software, C870 Software (C870-ADVENTERPRISEK9-M), Version 12.3(nightly
.PCBU_WIRELESS041110) NIGHTLY BUILD, synced to haw_t_pi1_pcbu HAW_T_PI1_PCBU_200
40924
Copyright (c) 1986-2004 by Cisco Systems, Inc.
Compiled Thu 11-Nov-04 03:37 by jsomebody
ROM: System Bootstrap, Version 1.0.0.6(20030916:100755) [jsomebody],
DEVELOPMENT SOFTWARE
Router uptime is 2467 minutes
System returned to ROM by power-on
System image file is "flash:c870-adventerprisek9-mz.pcbu_wireless.041110"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
use. Delivery of Cisco cryptographic products does not imply
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
If you require further assistance please contact us by sending email to
Cisco 877 (MPC8272) processor (revision 0x00) with 59392K/6144K bytes of memory.
Processor board ID
MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
4 FastEthernet interfaces
1 ATM interface
1 802.11 Radio
128K bytes of non-volatile configuration memory.
20480K bytes of processor board System flash (Intel Strataflash)
Configuration register is
0x2102
Step 4
If you do not have access to the router (because of a lost login or tacacs password), you can safely
consider that your configuration register is set to 0x2102.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top