Troubleshooting Commands

This chapter describes the commands used to troubleshoot your router. To troubleshoot, you need to discover, isolate, and resolve the problems. You can discover problems with the system’s monitoring commands, isolate problems with the system’s test commands, and resolve problems with other commands, including debug. This chapter describes general fault management commands. For detailed troubleshooting procedures and a variety of scenarios, see the Cisco IOS Internetwork Troubleshooting Guide publication. For complete details on all debug commands, see the Cisco IOS Debug Command Reference. For troubleshooting tasks and examples, refer to the “Troubleshooting the Router” chapter in the Cisco IOS Configuration Fundamentals Configuration Guide.

Cisco IOS Configuration Fundamentals Command Reference

FR-535

Troubleshooting Commands attach

attach
To connect to a specific line card for the purpose of executing monitoring and maintenance commands on that line card only, use the attach privileged EXEC command. To exit from the Cisco IOS software image on the line card and return to the Cisco IOS image on the GRP card, use the exit command. attach slot-number

Syntax Description

slot-number

Slot number of the line card you want to connect to. Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. If the slot number is omitted, you are prompted for the slot number.

Defaults

None

Command Modes

Privileged EXEC

Command History

Release 11.2 GS

Modification This command was added to support the Cisco 12000 series Gigabit Switch Routers.

Usage Guidelines

You must first use the attach privileged EXEC command to access the Cisco IOS software image on a line card before using line card-specific show commands. Alternatively, you can use the execute-on privileged EXEC command to execute a show command on a specific line card. After you connect to the Cisco IOS image on the line card using the attach command, the prompt changes to “LC-Slotx#,” where x is the slot number of the line card. The commands executed on the line card use the Cisco IOS image on that line card. You can also use the execute-on slot privileged EXEC command to execute commands on one or all line cards.

Note

Do not execute the config command from the Cisco IOS software image on the line card.

Cisco IOS Configuration Fundamentals Command Reference

FR-536

Troubleshooting Commands attach

Examples

The following example connects to the Cisco IOS image running on the line card in slot 9, gets a list of valid show commands, and returns the Cisco IOS image running on the GRP:
Router# attach 9 Entering Console for 4 Port Packet Over SONET OC-3c/STM-1 in Slot: 9 Type exit to end this session Press RETURN to get started! LC-Slot9# show ? cef Cisco Express Forwarding clock Display the system clock context Show context information about recent crash(s) history Display the session command history hosts IP domain-name, lookup style, nameservers, and host table ipc Interprocess communications commands location Display the system location sessions Information about Telnet connections terminal Display terminal configuration parameters users Display information about terminal lines version System hardware and software status LC-Slot9# exit Disconnecting from slot 9. Connection Duration: 00:01:04 Router#

Note

Because not all statistics are maintained on the line cards, the output from some of the show commands might not be consistent.

Related Commands

Command attach shelf execute-on slot

Description Connects you to a specific (managed) shelf for the purpose of remotely executing commands on that shelf only. Executes commands remotely on a specific line card, or on all line card simultaneously.

Cisco IOS Configuration Fundamentals Command Reference

FR-537

Examples The following example clears the logging buffer: Router# clear logging Clear logging buffer [confirm] Router# Related Commands Command logging buffered show logging Description Logs messages to an internal buffer.2 Modification This command was introduced. Cisco IOS Configuration Fundamentals Command Reference FR-538 . use the clear logging privileged EXEC command. Command Modes Privileged EXEC Command History Release 11. clear logging Syntax Description This command has no arguments or keywords.Troubleshooting Commands clear logging clear logging To clear messages from the logging buffer. Displays the state of logging (syslog).

the Cisco IOS software is not be automatically reloaded on the line card after the test completes successfully. Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008.2 GS Modification This command was added to support the Cisco 12000 series Gigabit Switch Routers.Troubleshooting Commands diag diag To perform field diagnostics on a line card. and a pass/fail message is the only message displayed on the console. or manually remove and insert the line card (to power it up) in the slot so that the GRP will recognize the line card and download the Cisco IOS software image to the line card. (Optional) Initiates a EPROM-based extended power-on self-test (EPOST) only. Slot numbers for the CSC are 16 and 17 and for the FSC are18. By default. To disable field diagnostics on a line card. The EPOST test suite is not as comprehensive as the field diagnostics. (Optional) Stops the field diagnostic testing on the line card. halt previous post verbose [wait] wait Defaults No field diagnostics tests are performed on the line card. (Optional) Enables the maximum status messages to be displayed on the console. use the no form of this command. use the diag privileged EXEC command. If you use this keyword. 19. Command Modes Privileged EXEC Command History Release 11. you must use the microcode reload slot global configuration command. Cisco IOS Configuration Fundamentals Command Reference FR-539 . diag slot-number [halt | previous | post | verbose [wait] | wait] no diag slot-number Syntax Description slot-number Slot number of the line card you want to test. on the Switch Fabric Cards (SFC). and 20. and on the Clock Scheduler Card (CSC) in Cisco 12000 series Gigabit Switch Routers. (Optional) Stops the automatic reloading of the Cisco IOS software on the line card after the successful completion of the field diagnostic testing. on the Gigabit Route Processor (GRP). (Optional) Displays previous test results (if any) for the line card. If you specify the optional wait keyword. only the minimum status messages are displayed on the console.

use the microcode reload slot global configuration command. In normal mode. Perform diagnostics on the CSC only if a redundant CSC is in the router. timeout set to 600/220 sec. For more information. In most cases. if a test fails. the Cisco IOS software image on the line card is not automatically reloaded. For example. Router# diag 3 Running Diags will halt ALL activity on the requested slot. the line card is defective and should be replaced. use the verbose keyword. not all tests that are performed are displayed. The total/indiv. the Cisco IOS software image on the line card is automatically reloaded unless the wait keyword is specified. After the line card passes all field diagnostic tests. if the DRAM test failed you might only need to replace the DRAM on the line card. [confirm] Router# Launching a Field Diagnostic for slot 3 Running DIAG config check RUNNING DIAG download to slot 3 (timeout set to 400 sec. Note When you stop the field diagnostic test. For example. you are prompted to confirm the request to perform field diagnostics on the line card.) Field Diagnostic ****PASSED**** for slot 3 Cisco IOS Configuration Fundamentals Command Reference FR-540 . After all diagnostic tests are completed on the line card. the Cisco IOS software is automatically reloaded on the card. running diagnostics on a SFC or CSC will cause the fabric to go from full bandwidth to one quarter bandwidth. If the line card sends a PASSED message. Diagnostics will stop and ask you for confirmation before altering the router’s configuration. If that is not the case. online). Examples The following example shows the output when field diagnostics are performed on the line card in slot 3. you must use the microcode reload global configuration command or power cycle the line card. and you want to bring the line card back up (that is. a PASSED or TEST FAILURE message is displayed. in an unbooted state). In future releases this might not be the case because DRAM and SDRAM SIMM modules might be field replaceable units. Bandwidth is not affected by GRP or line card diagnostics. However.Troubleshooting Commands diag Usage Guidelines The diag command must be executed from the GRP main console port. you stopped the testing because you need to remove the line card or replace the line card. timeout set to 600/220 sec.) sending cmd FDIAG-DO ALL to fdiag in slot 3 (total/indiv. refer to the Cisco 12000 series installation and configuration guides. To view all the tests that are performed. the line card remains down (that is. you must confirm the request to perform these tests on the line card because all activity on the line card is halted. Before the diag EXEC command begins running diagnostics. Before starting the diagnostic tests. If the line card sends a TEST FAILURE message. If you want to reload the line card after it fails diagnostic testing. message indicates that 600 seconds are allowed to perform all field diagnostics tests. Caution Performing field diagnostics on a line card stops all activity on the line card. and that no single test should exceed 220 seconds to complete. If the line card fails the test. The field diagnostic software image is bundled with the Cisco IOS software and is downloaded automatically from the GRP to the target line card prior to testing. the title of the failed test is displayed on the console.

error code 0 sending SHUTDOWN FDIAG_QUIT to fdiag in slot 3 Board will reload . Cisco IOS Configuration Fundamentals Command Reference FR-541 ... Router# The following example shows the output when field diagnostics are performed on the line card in slot 3 in verbose mode: Router# diag 3 verbose Running Diags will halt ALL activity on the requested slot.Troubleshooting Commands diag Field Diag eeprom values: run 159 fial mode 0 (PASS) slot 3 last test failed was 0. error code 0 sending SHUTDOWN FDIAG_QUIT to fdiag in slot 3 Board will reload ...) FDIAG_STAT_IN_PROGRESS: test #1 R5K Internal Cache FDIAG_STAT_PASS test_num 1 FDIAG_STAT_IN_PROGRESS: test #2 Sunblock Ordering FDIAG_STAT_PASS test_num 2 FDIAG_STAT_IN_PROGRESS: test #3 Dram Datapins FDIAG_STAT_PASS test_num 3 .. or Cisco 12000 series routers after all microcode configuration commands have been entered.. Router# Related Commands Command microcode reload Description Reloads the Cisco IOS image on a line card on the Cisco 7000 series with RSP7000.) sending cmd FDIAG-DO ALL to fdiag in slot 3 (total/indiv. Cisco 7500 series. Field Diags: FDIAG_STAT_DONE Field Diagnostic ****PASSED**** for slot 3 Field Diag eeprom values: run 159 fial mode 0 (PASS) slot 3 last test failed was 0. [confirm] Router# Launching a Field Diagnostic for slot 3 Running DIAG config check RUNNING DIAG download to slot 3 (timeout set to 400 sec. timeout set to 600/220 sec.

Examples The following example configures a router to use FTP to dump a core file named dumpfile to the FTP server at 172. If the router’s memory is larger than 16 MB. use the exception core-file global configuration command. If you use TFTP to dump the core file to a server. Creating a core dump while the router is functioning in a network can disrupt network operation.17.2 exception core-file dumpfile Cisco IOS Configuration Fundamentals Command Reference FR-542 . where hostname is the name of the router. use the no form of this command.2 Modification This command was introduced. which is very large.92. exception core-file name no exception core-file Syntax Description name Name of the core dump file saved on the server. use rcp or FTP to dump the core file.92. Usage Guidelines Caution Use the exception commands only under the direction of a technical support representative. FTP.2 when it crashes: ip ftp username red ip ftp password blue exception protocol ftp exception dump 172. To return to the default core filename. The resulting binary file. Defaults The core file is named hostname-core. the router will only dump the first 16 MB of the core file. must be transferred to a TFTP. or rcp server and subsequently interpreted by technical personnel who have access to source code and detailed memory maps.17. Therefore.Troubleshooting Commands exception core-file exception core-file To specify the name of the core dump file. the whole core file will not be copied to the server. Command Modes Global configuration Command History Release 10.

Causes the router to create a core dump and reboot when certain memory size parameters are violated. Configures the protocol used for core dumps. Configures the username for FTP connections. Causes the router to create a core dump and reload after a specified number of spurious interrupts.Troubleshooting Commands exception core-file Related Commands Command exception dump exception memory exception spurious-interrupt exception protocol ip ftp password ip ftp username Description Causes the router to dump a core file to a particular server when the router crashes. Cisco IOS Configuration Fundamentals Command Reference FR-543 . Specifies the password to be used for FTP connections.

If the router’s memory is larger than 16 MB.3 Modification This command was introduced. the router will only dump the first 16 MB of the core file. exception dump ip-address no exception dump Syntax Description ip-address IP address of the server that stores the core dump file. Defaults Disabled Command Modes Global configuration Command History Release 10. or rcp server and subsequently interpreted by technical personnel who have access to source code and detailed memory maps. the core dump file will be the size of the memory available on the processor (for example. This procedure can fail for certain types of system crashes. Usage Guidelines Caution Use the exception commands only under the direction of a technical support representative. You can change the name of the core file by configuring the exception core-file command. must be transferred to a TFTP. where hostname is the name of the router. FTP. The core dump is written to a file named hostname-core on your server. Cisco IOS Configuration Fundamentals Command Reference FR-544 . use the no form of this command. The resulting binary file. Creating a core dump while the router is functioning in a network can disrupt network operation. the whole core file will not be copied to the server. 16 MB for a CSC/4). which is very large. Therefore. if successful. use rcp or FTP to dump the core file. If you use TFTP to dump the core file to a server. To disable core dumps. However.Troubleshooting Commands exception dump exception dump To configure the router to dump a core file to a particular server when the router crashes. use the exception dump global configuration command.

92. Cisco IOS Configuration Fundamentals Command Reference FR-545 . Causes the router to create a core dump and reload after a specified number of spurious interrupts. Causes the router to create a core dump and reboot when certain memory size parameters are violated.2 Related Commands Command exception core-file exception memory exception spurious-interrupt exception protocol ip ftp password ip ftp username ip rcmd remote-username Description Specifies the name of the core dump file. Configures the remote username to be used when requesting a remote copy using rcp. Configures the protocol used for core dumps.2 when it crashes: ip ftp username red ip ftp password blue exception protocol ftp exception dump 172.Troubleshooting Commands exception dump Examples The following example configures a router to use FTP to dump a core file to the FTP server at 172. Configures the username for FTP connections.92. Specifies the password to be used for FTP connections.17.17.

(Optional) The k option multiplies the specified size by 1K (1024). If enabled with no options. The default file name is hostname-core-slot-number (for example. the default is to store 256 MB of main memory. (Optional) Stores the crash information in the specified file in NVRAM. Stores crash information for the line card in the specified slot.number corefile filename Stores crash information for all line cards.2 GS Modification This command was introduced. (Optional) Stores crash information for the receive or transmit silicon queueing engine registers on the line card. Size of the memory to store is 0 to 268435456. c12012-core-8). (Optional) Stores the crash information for the receive and transmit buffer on the line card and specify the size of the crash information. Size of the memory to store can be from 0 to 1048576. use the exception linecard global configuration command. (Optional) Stores the crash information for the main memory on the line card and specify the size of the crash information. (Optional) Stores the crash information for the queue RAM memory on the line card and specify the size of the crash information. To disable the storing of crash information for the line card.Troubleshooting Commands exception linecard exception linecard To enable storing of crash information for a line card and optionally specify the type and amount of information stored. exception linecard {all | slot slot-number} [corefile filename | main-memory size [k | m] | queue-ram size [k | m] | rx-buffer size [k | m] | sqe-register-rx | sqe-register-tx | tx-buffer size [k | m]] no exception linecard Syntax Description all slot slot. Cisco IOS Configuration Fundamentals Command Reference FR-546 . Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. use the no form of this command. Command Modes Global configuration Command History Release 11. and the m option multiplies the specified size by 1M (1024*1024). main-memory size queue-ram size rx-buffer size tx-buffer size sqe-register-rx sqe-register-tx k m Defaults No crash information is stored for the line card. Size of the memory to store can be from 0 to 67108864.

The crash information contains all the line card memory information including the main memory and transmit and receive buffer information. 256 MB of main memory is stored. Enabling all options could cause a large amount (150 to 250 MB) of crash information to be sent to the server. Caution Use caution when enabling the exception linecard global configuration command. Use the exception linecard global configuration command only when directed by a technical support representative and only enable options that the technical support representative requests you to enable. Examples The following example enables the storing of crash information for line card 8. exception linecard slot 8 end Cisco IOS Configuration Fundamentals Command Reference FR-547 . By default.Troubleshooting Commands exception linecard Usage Guidelines This command is currently supported only on Cisco 12000 series Gigabit Switch Routers. Technical support representatives need to be able to look at the crash information from the line card to troubleshoot serious problems on the line card.

Defaults Disabled Command Modes Global configuration Command History Release 10. If the exception dump command is not configured. exception dump 131. in bytes. The minimum size of the free memory pool.000 bytes.3 Modification This command was introduced. FTP.2 exception core-file memory.92. or rcp server and subsequently interpreted by technical personnel who have access to source code and detailed memory maps. exception memory {fragment size | minimum size} no exception memory {fragment | minimum} Syntax Description fragment size minimum size The minimum contiguous block of memory in the free pool. This command is useful to troubleshoot memory leaks. The resulting binary file. use the exception memory global configuration command.108. must be transferred to a TFTP. To disable the rebooting and core dump. Examples The following example configures the router to monitor the free memory. Usage Guidelines Caution Use the exception commands only under the direction of a technical support representative. If the amount of free memory falls below 250. which is very large.overrun exception memory minimum 250000 Cisco IOS Configuration Fundamentals Command Reference FR-548 . The size is checked every 60 seconds.Troubleshooting Commands exception memory exception memory To cause the router to create a core dump and reboot when certain memory size parameters are violated. in bytes. a core dump and router reload is generated after 60 seconds. the router will dump the core file and reload. the router reloads without generating a core dump. The exception dump command must be configured in order to generate a core dump file. Creating a core dump while the router is functioning in a network can disrupt network operation. If you enter a size that is greater than the free memory. use the no form of this command.

Configures the username for FTP connections. Cisco IOS Configuration Fundamentals Command Reference FR-549 . Configures the router to dump a core file to a particular server when the router crashes. Specifies the size of the region for exception-time memory pool Specifies the password to be used for FTP connections. Configures the protocol used for core dumps.Troubleshooting Commands exception memory Related Commands Command exception core-file exception dump exception protocol exception region-size ip ftp password ip ftp username Description Specifies the name of the core dump file.

2 when it crashes: ip ftp username red ip ftp password blue exception protocol ftp exception dump 172. This is the default. Defaults TFTP Command Modes Global configuration Command History Release 10. must be transferred to a TFTP.Troubleshooting Commands exception protocol exception protocol To configure the protocol used for core dumps.92. use the exception protocol global configuration command. use the no form of this command. Therefore. Creating a core dump while the router is functioning in a network can disrupt network operation. the router will only dump the first 16 MB of the core file. To configure the router to use the default protocol.17. exception protocol {ftp | rcp | tftp} no exception protocol Syntax Description ftp rcp tftp Use FTP for core dumps. Use rcp for core dumps. If you use TFTP to dump the core file to a server. Use TFTP for core dumps. which is very large. The resulting binary file. If the router’s memory is larger than 16 MB. or rcp server and subsequently interpreted by technical personnel who have access to source code and detailed memory maps.92. the whole core file will not be copied to the server. use rcp or FTP to dump the core file.3 Modification This command was introduced.17.2 Cisco IOS Configuration Fundamentals Command Reference FR-550 . Usage Guidelines Caution Use the exception commands only under the direction of a technical support representative. Examples The following example configures a router to use FTP to dump a core file to the FTP server at 172. FTP.

Causes the router to create a core dump and reboot when certain memory size parameters are violated. Causes the router to dump a core file to a particular server when the router crashes. Specifies the password to be used for FTP connections. Causes the router to create a core dump and reload after a specified number of spurious interrupts.Troubleshooting Commands exception protocol Related Commands Command exception core-file exception dump exception memory exception spurious-interrupt ip ftp password ip ftp username Description Specifies the name of the core dump file. Cisco IOS Configuration Fundamentals Command Reference FR-551 . Configures the username for FTP connections.

3 Modification This command was introduced. which is very large. Creating a core dump while the router is functioning in a network can disrupt network operation. To use the default region size. Causes the router to create a core dump and reboot when certain memory size parameters are violated. Examples The following example sets the region size at 1024: Router# exception region-size 1024 Related Commands Command exception core-file exception dump exception memory Description Specifies the name of the core dump file. Defaults 16384 bytes. use the exception region-size global configuration command. The exception region-size command is used to define a small amount of memory to serve as a fallback pool when the processor memory pool is marked corrupt. Configures the router to dump a core file to a particular server when the router crashes. use the no form of this command.Troubleshooting Commands exception region-size exception region-size To specify the size of the region for exception-time memory pool. Usage Guidelines Caution Use the exception commands only under the direction of a technical support representative. or rcp server and subsequently interpreted by technical personnel who have access to source code and detailed memory maps. The resulting binary file. FTP. exception region-size size no exception region-size Syntax Description size (Required) The size of the region for exception-time memory pool. Cisco IOS Configuration Fundamentals Command Reference FR-552 . The exception memory command must be used to allocate memory to perform a core dump. must be transferred to a TFTP. Command Modes Global configuration Command History Release 10.

Cisco IOS Configuration Fundamentals Command Reference FR-553 .Troubleshooting Commands exception region-size Command exception protocol ip ftp password ip ftp username Description Configures the protocol used for core dumps. Specifies the password to be used for FTP connections. Configures the username for FTP connections.

exception spurious-interrupt [number] no exception spurious-interrupt Syntax Description number Number from 1 to 4294967295 that indicates the maximum number of spurious interrupts to include in the core dump before reloading. Defaults Disabled Command Modes Global configuration Command History Release 10. Cisco IOS Configuration Fundamentals Command Reference FR-554 . use rcp or FTP to dump the core file. If the router’s memory is larger than 16 MB. If you use TFTP to dump the core dump file to a server.Troubleshooting Commands exception spurious-interrupt exception spurious-interrupt To configure the router to create a core dump and reload after a specified number of spurious interrupts. which is very large. FTP. To disable the core dump and reload. the router will only dump the first 16 MB of the file. The resulting binary file. use the no form of this command. Configures the user name for FTP connections. use the exception spurious-interrupt command global configuration command. the whole core file will not be copied to the server.3 Modification This command was introduced. Therefore. Specifies the password to be used for FTP connections. must be transferred to a TFTP. or rcp server and subsequently interpreted by technical personnel who have access to source code and detailed memory maps. Creating a core dump while the router is functioning in a network can disrupt network operation. Examples The following example configures a router to create a core dump with a limit of 2 spurious interrupts: Router# exception spurious-interrupt 2 Related Commands Command exception core-file ip ftp password ip ftp username Description Specifies the name of the core dump file. Usage Guidelines Caution Use the exception commands only under the direction of a technical support representative.

that is.2 GS 11. the output from some of the show commands might not be consistent.Troubleshooting Commands execute-on execute-on To execute commands on a line card. Please note. (AS5800 only) Executes the designated command on a Dial Shelf Controller (DSC). however. as you can verify and troubleshoot the features found only on a specific line card. Slot numbers can be chosen from the following ranges: • • • Cisco 12012: 0 to 11 Cisco 12008: 0 to 7 Cisco AS5800: 0 to 13 all master Executes the command on all line cards. Cisco 12000 GSR Guidelines and Restrictions You can use the execute-on privileged EXEC command only from Cisco IOS software running on the GRP card. to issue commands without having to log on to the line card directly. it is used for technical support troubleshooting only. The all form of the command allows you to issue commands to all the line cards without having to log on to each on in turn. command Command Modes Privileged EXEC Command History Release 11. Usage Guidelines Use this command to execute a command on one or all line cards to monitor and maintain information on one or more line cards (for example. that because not all statistics are maintained on the line cards. Cisco IOS command to remotely execute on the line card. Cisco IOS Configuration Fundamentals Command Reference FR-555 . Support for this command was added to the Cisco AS58000 Universal Access Server. This allows you to issue commands remotely.3(2)AA Modification This command was introduced to support Cisco 12000 series Gigabit Switch Routers. execute-on {slot slot-number | all | master} command Syntax Description slot slot-number Executes the command on the line card in the specified slot. Though this command does not have a no form. Note This command is useful when used with show commands (such as show version). use the execute-on privileged EXEC command. a line card in a specified slot on a dial shelf). note that it is possible to use the no form of the remotely executed commands used in this command. Do not use this option.

the purpose of the execute-on command is to provide access to statistical reports from line cards without directly connecting to the dial shelf line cards. you can perform three steps with one command. In addition. Cisco AS5800 Guidelines and Restrictions The purpose of the command is to conveniently enable certain commands to be remotely executed on the dial shelf cards from the router without connecting to each line card. The master form of the command can run a designated command remotely on the router from the DSC card. The command execute-on does not give access to every IOS command available on the Cisco AS5800. However. The execute-on command also support interactive commands such as: router: execute-on slave slot slot ping The execute-on command has the same limitations/restrictions as a vty telnet client has. Note Do not use this command to change configurations on dial shelf cards. In general. using the execute-on slot command saves you some steps. since such changes will not be reflected in the router shelf. next you must issue the command. It is used for technical support troubleshooting only. that is. the execute-on all command allows you to perform the same command on all line cards simultaneously. For example. first you must use the attach command to connect you to the Cisco IOS software running on the line card. because it avoids the possibility of adversely affecting a good configuration of a line card in the process. With the execute-on slot command. and finally you must disconnect from the line card to return to the Cisco IOS software running on the GRP card.Troubleshooting Commands execute-on Timesaver Though you can use the attach privileged EXEC command to execute commands on a specific line card. using the console on the DSC is not recommended. it cannot reload DSC using: router: execute-on slave slot slot reload You can use the execute-on command to enable remote execution of the following partial list of commands: • • • • • • • • debug dsc clock show context show diag show environment show dsc clock show dsi show dsip show tech-support Cisco IOS Configuration Fundamentals Command Reference FR-556 . Using this command makes it possible to accumulate inputs for inclusion in the show tech-support command. The show tech-support command for each dial shelf card is bundled into the router shelf's show tech-support command via the execute-on facility. This is the recommended procedure.

HDLC enc. int clock no loop Interface POS3 Hardware is BFLC POS lcpos_instance struct 60341E80 RX POS ASIC addr space 12000000 TX POS ASIC addr space 12000100 SUNI framer addr space 12000A00 SUNI rsop intr status 00 CRC32 enabled. Cisco IOS Configuration Fundamentals Command Reference FR-557 . int clock no loop Interface POS2 Hardware is BFLC POS lcpos_instance struct 6033F6A0 RX POS ASIC addr space 12000000 TX POS ASIC addr space 12000100 SUNI framer addr space 12000800 SUNI rsop intr status 00 CRC32 enabled. HDLC enc. int clock no loop Interface POS1 Hardware is BFLC POS lcpos_instance struct 6033CEC0 RX POS ASIC addr space 12000000 TX POS ASIC addr space 12000100 SUNI framer addr space 12000600 SUNI rsop intr status 00 CRC32 enabled. ext clock no loop Router# Related Commands Command attach Description Connects you to a specific line card for the purpose of executing commands using the Cisco IOS software image on that line card.Troubleshooting Commands execute-on Examples The following example executes the show controllers command on the line card in slot 4 of a Cisco 12000 series GSR: Router# execute-on slot 4 show controllers ========= Line Card (Slot 4) ======= Interface POS0 Hardware is BFLC POS lcpos_instance struct 6033A6E0 RX POS ASIC addr space 12000000 TX POS ASIC addr space 12000100 SUNI framer addr space 12000400 SUNI rsop intr status 00 CRC16 enabled. HDLC enc. HDLC enc.

The no form of this command deletes the syslog server with the specified address from the list of syslogs. you build a list of syslog servers that receive logging messages. Examples The following example logs messages to a host named johnson: logging johnson Related Commands Command logging trap Description Limits messages logged to the syslog servers based on severity.0 Modification This command was introduced. Defaults No messages are logged to a syslog server host. Usage Guidelines This command identifies a syslog server host to receive logging messages.Troubleshooting Commands logging logging To log messages to a syslog server host. logging host no logging host Syntax Description host Name or IP address of the host to be used as a syslog server. Cisco IOS Configuration Fundamentals Command Reference FR-558 . Command Modes Global configuration Command History Release 10. The command limits the logging of error messages sent to syslog servers to only those messages at the specified level. use the logging global configuration command. By issuing this command more than once.

Usage Guidelines This command copies logging messages to an internal buffer. Do not make the buffer size too large because the router could run out of memory for other tasks. use the logging buffered global configuration command. Command Modes Global configuration Command History Release 10.0 11. so newer messages overwrite older messages after the buffer is filled. Defaults For most platforms. See Table 63 for a list of the level arguments. Cisco IOS Configuration Fundamentals Command Reference FR-559 . as well as any other logging statistics. this is the maximum available and should not be approached. Specifying a level causes messages at that level and numerically lower levels to be logged in an internal buffer. See Table 63 for a list of level arguments. You can enter the level number or level name. Limits the logging of messages to the buffer to a specified level. To display the messages that are logged in the buffer. however. use the EXEC command show logging. logging buffered [size | level] no logging buffered default logging buffered Syntax Description size level (Optional) Size of the buffer from 4096 to 4294967295 bytes. The buffer is circular in nature. the Cisco IOS software logs messages to the internal buffer. The first message displayed is the oldest message in the buffer. The default form of this command returns the buffer size to the default size.1(17)T Modification This command was introduced. You can use the show memory EXEC command to view the free processor memory on the router. The no form of this command cancels the use of the buffer. The default size varies by platform. The command syntax was changed to include the level argument. The EXEC command show logging displays the addresses and levels associated with the current logging setup. The command default logging buffered resets the buffer size to the default for the platform.Troubleshooting Commands logging buffered logging buffered To limit messages logged to an internal buffer based on severity.

Displays the state of logging (syslog). Cisco IOS Configuration Fundamentals Command Reference FR-560 .Troubleshooting Commands logging buffered Table 63 Logging Buffered Error Message Logging Priorities Level Arguments emergencies alerts critical errors warnings notifications informational debugging Level 0 1 2 3 4 5 6 7 Description System unusable Immediate action needed Critical conditions Error conditions Warning conditions Normal but significant condition Informational messages only Debugging messages Syslog Definition LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG The following example enables logging to an internal buffer: logging buffered Related Commands Command clear logging show logging Description Clears messages from the logging buffer.

Table 64 shows descriptions for the various logging levels. See Table 64 for a list of the level arguments.Troubleshooting Commands logging console logging console To limit messages logged to the console based on severity. Defaults debugging Command Modes Global configuration Command History Release 10. You can enter the level number or level name.0 Modification This command was introduced. Usage Guidelines Specifying a level causes messages at that level and numerically lower levels to be displayed at the console terminal. as well as any other logging statistics. The no form of this command disables logging to the console terminal. logging console level no logging console Syntax Description level Limits the logging of messages displayed on the console terminal to a specified level. use the logging console global configuration command. Table 64 Logging Console Error Message Logging Priorities Level Arguments emergencies alerts critical errors warnings notifications informational debugging Level 0 1 2 3 4 5 6 7 Description System unusable Immediate action needed Critical conditions Error conditions Warning conditions Normal but significant condition Informational messages only Debugging messages Syslog Definition LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG Cisco IOS Configuration Fundamentals Command Reference FR-561 . The EXEC command show logging displays the addresses and levels associated with the current logging setup.

Cisco IOS Configuration Fundamentals Command Reference FR-562 . Examples The following example changes the level of messages displayed to the console terminal to alerts. no information is logged or displayed. which means alerts and emergencies are displayed: logging console alerts Related Commands Command logging facility access-list (extended) Description Configures the syslog facility in which error messages are sent. If you change the default to a level lower than 6 and specify the log keyword with the IP access list (extended) command. Defines an extended XNS access list.Troubleshooting Commands logging console The effect of the log keyword with the IP access list (extended) command depends on the setting of the logging console command. The log keyword takes effect only if the logging console level is set to 6 or 7.

0 Modification This command was introduced. Defaults local7 Command Modes Global configuration Command History Release 10. Usage Guidelines Table 65 describes the acceptable options for the facility-type arguments. logging facility facility-type no logging facility Syntax Description facility-type Syslog facility.Troubleshooting Commands logging facility logging facility To configure the syslog facility in which error messages are sent. To revert to the default of local7. use the no form of this command. See Table 56 for the facility-type arguments. Table 65 logging facility facility-type Arguments Arguments auth cron daemon kern local0–7 lpr mail news sys9 sys10 sys11 sys12 sys13 sys14 syslog Description Authorization system Cron facility System daemon Kernel Reserved for locally defined messages Line printer system Mail system USENET news System use System use System use System use System use System use System log Cisco IOS Configuration Fundamentals Command Reference FR-563 . use the logging facility global configuration command.

Troubleshooting Commands logging facility Table 65 logging facility facility-type Arguments Arguments user uucp Description User process UNIX-to-UNIX copy system Examples The following example configures the syslog facility to the kernel facility type: logging facility kern Related Commands Command logging console Description Limits messages logged to the console based on severity. Cisco IOS Configuration Fundamentals Command Reference FR-564 .

Troubleshooting Commands logging history logging history To limit syslog messages sent to the router’s history table and the Simple Network Management Protocol network management station based on severity. logging history [level] no logging history Syntax Description level Limits the messages saved in the history table and sent to the SNMP network management station to the specified set of levels. See Table 66 for a list of the level arguments. error. is stored in a history table on the router. Table 66 provides a description of logging severity levels. Usage Guidelines Sending syslog messages to the SNMP network management station occurs when you enable syslog traps with the snmp-server enable traps global configuration command. Table 66 Error Message Logging Priorities for History Table and SNMP Server Severity Level Name emergencies alerts Severity Level Number 0 1 Description System unusable Immediate action needed Syslog Definition LOG_EMERG LOG_ALERT Cisco IOS Configuration Fundamentals Command Reference FR-565 . message status. which contains table size. The no form of this command returns the logging of syslog messages to the default level. use the logging history global configuration command. specifying the level critical causes critical (3). alert. Specifying a level causes messages at that severity level and numerically lower levels to be stored in the router’s history table and sent to the SNMP network management station. critical. the more critical the message). and the arguments used in logging history command syntax.2 Modification This command was introduced. Defaults Logging of error messages of severity levels 0 through 4 (emergency. and message text data. can be viewed using the show logging history command. The number of messages stored in the table is governed by the logging history size command. Note that you can use the level name or the level number as the level argument in this command. the most recent message.. with 0 being the highest severity level and 7 being the lowest severity level (that is. alerts (2). at least one syslog message. For example. and emergencies (1) messages to be stored to the history table and sent to the SNMP network management station. Severity levels are numbered 0 through 7. the lower the number. You can enter the level number or level name. and warning levels) Command Modes Global configuration Command History Release 11. The history table. Because SNMP traps are inherently unreliable and much too important to lose.

the system is initially configured to the default of saving severity level 4 or higher. Router(config)#logging history 1 Router(config)#end Router# 4w0d: %SYS-5-CONFIG_I: Configured from console by console Router#show logging history Syslog History Table:1 maximum table entries. Displays the contents of syslog history table. Cisco IOS Configuration Fundamentals Command Reference FR-566 . changed state to up timestamp: 2766 Router# Related Commands Command logging history size show logging history snmp-server host Description Changes the number of syslog messages stored in the router’s history table. saving level warnings or higher 23 messages ignored. changed state to up timestamp: 2766 Router#configure terminal Enter configuration commands. 0 recursion drops 1 table entries flushed SNMP notifications not enabled entry number 2 : LINK-3-UPDOWN Interface FastEthernet0. 0 dropped. Specifies the recipient of an SNMP notification operation. ! The following line indicates that ‘logging history level 1’ is configured.Troubleshooting Commands logging history Table 66 Error Message Logging Priorities for History Table and SNMP Server (continued) Severity Level Name critical errors warnings notifications informational debugging Severity Level Number 2 3 4 5 6 7 Description Critical conditions Error conditions Warning conditions Normal but significant condition Informational messages only Debugging messages Syslog Definition LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG Examples In the following example. The logging history 1 command is used to configure the system to save only level 1 (alert) and level 0 (emergency) messages to the logging history table. End with CNTL/Z. saving level alerts or higher 18 messages ignored. Router#show logging history Syslog History Table:10 maximum table entries. ! The following line shows that system-error-message-logging is set to the ! default level of “warnings” (4). The configuration is then confirmed using the show logging history command. 0 dropped. 0 recursion drops 1 table entries flushed SNMP notifications not enabled entry number 2 : LINK-3-UPDOWN Interface FastEthernet0. one per line.

the oldest message entry is deleted from the table to allow the new message entry to be stored. Defaults One message Command Modes Global configuration Command History Release 11.2 Modification This command was introduced. Displays the state of logging (syslog). logging history size number no logging history size Syntax Description number Number from 1 to 500 that indicates the maximum number of messages stored in the history table. use the logging history size global configuration command.Troubleshooting Commands logging history size logging history size To change the number of syslog messages stored in the router’s history table. it contains the maximum number of message entries specified with the logging history size command). Examples The following example sets the number of messages stored in the history table to 20: Router(config)# logging history size 20 Related Commands Command logging history show logging Description Limits syslog messages sent to the router’s history table and the SNMP network management station based on severity. Cisco IOS Configuration Fundamentals Command Reference FR-567 . Usage Guidelines When the history table is full (that is. The no form of this command returns the number of messages to the default value.

all critical. Table 67 lists the message levels and associated numerical level. (Optional) Limits the logging of messages displayed on the console terminal to a specified level. The range is 4096 to 65536 bytes. See Table 67 for a list of the level arguments. alert.2 GS Modification This command was added to support the Cisco 12000 series Gigabit Switch Routers. The default is 8 KB. To cancel the use of the internal buffer on the line cards. and emergency messages will be logged. You can enter the level number or level name. Command Modes Global configuration Command History Release 11.Troubleshooting Commands logging linecard logging linecard To log messages to an internal buffer on a line card. use the no form of this command. Defaults The Cisco IOS software logs messages to the internal buffer on the GRP card. Table 67 Error Levels: Name/Number CLI Arguments Severity Level Name emergencies alerts critical errors warnings notifications Severity Level Number 0 1 2 3 4 5 Description System unusable Immediate action needed Critical conditions Error conditions Warning conditions Normal but significant condition Syslog Definition LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE Cisco IOS Configuration Fundamentals Command Reference FR-568 . For example. if you specify a message level of critical. logging linecard [size | level] no logging linecard Syntax Description size level (Optional) Size of the buffer used for each line card. Usage Guidelines Specifying a message level causes messages at that level and numerically lower levels to be stored in the internal buffer on the line cards. use the logging linecard global configuration command.

You can use the show memory EXEC command to view the free processor memory on the router. Error messages at the warning. however. alert.Troubleshooting Commands logging linecard Table 67 Error Levels: Name/Number CLI Arguments Severity Level Name informational debugging Severity Level Number 6 7 Description Informational messages only Debugging messages Syslog Definition LOG_INFO LOG_DEBUG To display the messages that are logged in the buffer. and emergency level will be logged. use the EXEC command show logging slot. Router(config)# logging linecard warnings Related Commands Command clear logging show logging Description Clears messages from the logging buffer. error. this is the maximum available and should not be approached. Displays the state of logging (syslog). Do not make the buffer size too large because the router could run out of memory for other tasks. critical. Cisco IOS Configuration Fundamentals Command Reference FR-569 . Examples The following example enables logging to an internal buffer on the line cards using the default buffer size. The first message displayed is the oldest message in the buffer.

Defaults debugging Command Modes Global configuration Command History Release 10. logging monitor level no logging monitor Syntax Description level Limits the logging of messages logged to the terminal lines (monitors) to a specified level. This command limits the logging messages displayed on terminal lines other than the console line to messages with a level at or above the level argument. Table 68 Logging Monitor Error Message Logging Priorities Level Arguments emergencies alerts critical errors warnings notifications informational debugging Level 0 1 2 3 4 5 6 7 Description System unusable Immediate action needed Critical conditions Error conditions Warning conditions Normal but significant condition Informational messages only Debugging messages Syslog Definition LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG The following example specifies that only messages of the levels errors.Troubleshooting Commands logging monitor logging monitor To limit messages logged to the terminal lines (monitors) based on severity. The no form of this command disables logging to terminal lines other than the console line. critical. and emergencies be displayed on terminals: logging monitor 3 Cisco IOS Configuration Fundamentals Command Reference FR-570 .0 Modification This command was introduced. use the logging monitor global configuration command. alerts. See Table 68 for a list of the level arguments. You can enter the level number or level name. Usage Guidelines Specifying a level causes messages at that level and numerically lower levels to be displayed to the monitor.

Troubleshooting Commands logging monitor Related Commands Command terminal monitor Description Displays debug command output and system error messages for the current terminal and session. Cisco IOS Configuration Fundamentals Command Reference FR-571 .

logging monitor. messages will only appear after the user types a carriage return. When the logging synchronous command is enabled. Only the console will receive messages. However. terminal lines. the logging process logs messages to the console and the various destinations after the processes that generated them have completed. The logging synchronous command also affects the displaying of messages to the console. or syslog server. When the logging process is disabled. logging on no logging on Syntax Description This command has no arguments or keywords. use the logging on global configuration command. which logs messages to designated locations asynchronously to the processes that generated the messages. such as the logging buffer.Troubleshooting Commands logging on logging on To control logging of error messages. This command sends debug or error messages to a logging process. no messages will be sent to these destinations. Any process generating debug or error messages will wait until the messages have been displayed on the console before continuing. Defaults The Cisco IOS software sends messages to the asynchronous logging process. Command Modes Global configuration Command History Release 10. The no form of this command disables the logging process. Usage Guidelines The logging process controls the distribution of logging messages to the various destinations. often appearing in the middle of command output. Additionally. and logging commands. messages are displayed on the console as soon as they are produced. Cisco IOS Configuration Fundamentals Command Reference FR-572 . if the logging on command is disabled (using the no longing on form of this command). You can turn logging on and off for these destinations individually using the logging buffered. Caution Disabling the logging on command will significantly slow down the router.0 Modification This command was introduced.

len 114.1.129 (Ethernet1/0).1. len 100.96. len 100.96.1.41.41. Sending 5.1.129 (Ethernet1/0).129 (Ethernet1/0).41.21.1. sending esc IP: s=171. Sending 5.129 (Ethernet1/0). logging is disabled.16.69.41 (local). d=172.41.69.96. d=172. round-trip min/avg/max = 152/152/156 ms Router# Related Commands Command logging logging buffered logging monitor logging synchronous Description Logs messages to a syslog server host.16.96. sending IP: s=171. d=172. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5). sending IP: s=171.1.96. Router(config)# logging on Router(config)# end Router# %SYS-5-CONFIG_I: Configured from console by console Router# ping dirt Type escape sequence to abort.41 (local). rcvd 1 IP: s=172.129 (Ethernet1/0).129 (Ethernet1/0).1. causing the debug messages to be interspersed with the message “Type escape sequence to abort. rcvd 1 IP: s=172.96.69.41 (local). len 114. sending IP: s=171.129 (Ethernet1/0).129 (Ethernet1/0).21.129 (Ethernet1/0).1.21.69.1. d=172. len 100.41. d=172.16.129.41 (local).21.21.16. len 100. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5). Limits messages logged to the terminal lines (monitors) based on severity. len 100.16. d=172.41.16.21. d=172. Synchronizes unsolicited messages and debug output with solicited Cisco IOS software output and prompts for a specific console port line.16. auxiliary port line.129 (Ethernet1/0).21. len 114. d=172.41.21.Troubleshooting Commands logging on Examples The following example shows command output and message output when logging is enabled.21.69. The message output is displayed as messages are generated. len 100.129 (Ethernet1/0). len 114.1.41 (local).21.96.21.” Router(config)# no logging on Router(config)# end %SYS-5-CONFIG_I: Configured from console by console Router# Router# ping dirt IP: s=172. len 114. len 114.1.21. or virtual terminal line. len 100.69. d=172. rcvd 1 In the next example. len 100. d=172.129 (Ethernet1/0).129. rcvd 1e IP: s=172. len 100.96.129 (Ethernet1/0).21.96. 100-byte ICMP Echos to 172.41 (local).96. d=172. Logs messages to an internal buffer. rcvd 1 IP: s=172.96. len 114.1.69. d=172. d=172.96.129 (Ethernet1/0).129 (Ethernet1/0).96.21.69.41.96. sendingse IP: s=171.21. d=172.41.69. rcvd 1ce to abort.129 (Ethernet1/0).96.129 (Ethernet1/0). sending IP: s=171.1.96.16.16.1.41 (local). d=172. len 114.1.41 (local).21. Cisco IOS Configuration Fundamentals Command Reference FR-573 .96. rcvd 1 IP: s=172. rcvd 1 IP: s=172. d=172. len 114. d=172.1.129 (Ethernet1/0). d=172. rcvd 1 IP: s=172. len 100.21. d=172.1.21.1. sending IP: s=171.96.1.96.16.1.96. sendingape IP: s=171. The ping process finishes before any of the logging information is printed to the console (or any other destination).16.41 (local).69.41.41 (local).129 (Ethernet1/0).129 (Ethernet1/0). sendingTyp IP: s=171. len 114. rcvd 1 IP: s=172.1. d=172.16.21. sendingquen IP: s=171. round-trip min/avg/max = 4/5/8 ms Router# IP: s=172.1.21. 100-byte ICMP Echos to 172.

Troubleshooting Commands logging source-interface logging source-interface To specify the source IP address of syslog packets. a syslog message contains the IP address of the interface it uses to leave the router. use the logging source-interface global configuration command. Cisco IOS Configuration Fundamentals Command Reference FR-574 . Use the no form of this command to remove the source designation. Examples The following example specifies that the IP address for Ethernet interface 0 is the source IP address for all syslog messages: logging source-interface ethernet 0 The following example specifies that the IP address for Ethernet interface 2/1 on a Cisco 7000 series router is the source IP address for all syslog messages: logging source-interface ethernet 2/1 Related Commands Command logging Description Logs messages to a syslog server host. The logging source-interface command specifies that syslog packets contain the IP address of a particular interface. Command Modes Global configuration Command History Release 11. regardless of which interface the packet uses to exit the router. Interface number. logging source-interface type number no logging source-interface Syntax Description type number Interface type.2 Modification This command was introduced. Normally. Defaults No interface is specified.

Use the no form of this command to disable synchronization of unsolicited messages and debug output. Messages with a severity level equal to or higher than this value are printed asynchronously. regardless of the severity level. unsolicited Cisco IOS software output is displayed on the console or printed after solicited Cisco IOS software output is displayed or printed. The default value is 2.Troubleshooting Commands logging synchronous logging synchronous To synchronize unsolicited messages and debug output with solicited Cisco IOS software output and prompts for a specific console port line. Unsolicited messages and debug output is displayed on the console after the prompt for user input is returned. If you do not specify the maximum number of buffers to be queued. low numbers indicate greater severity and high numbers indicate lesser severity. Command Modes Line configuration Command History Release 10. logging synchronous [level severity-level | all] [limit number-of-buffers] no logging synchronous [level severity-level | all] [limit number-of-buffers] Syntax Description level severity-level (Optional) Specifies the message severity level. consider that for the logging system. (Optional) Specifies that all messages are printed asynchronously. The default value is 20. If you do not specify a severity level. auxiliary port line. use the logging synchronous line configuration command. (Optional) Specifies the number of buffers to be queued for the terminal after which new messages are dropped. all limit number-of-buffers Defaults This feature is turned off by default. Cisco IOS Configuration Fundamentals Command Reference FR-575 . or virtual terminal line. the default value of 20 is assumed. This is to keep unsolicited messages and debug output from being interspersed with solicited software output and prompts. When specifying a severity level number. the console displays the user prompt again. Usage Guidelines When synchronous logging of unsolicited messages and debug output is turned on. After the unsolicited messages are displayed. Low numbers indicate greater severity and high numbers indicate lesser severity.0 Modification This command was introduced. the default value of 2 is assumed.

This notice is displayed only on the terminal that lost the messages. An intruder could carry out the attack by putting the terminal in synchronous output mode. or the logging buffer. If messages are dropped.Troubleshooting Commands logging synchronous When a message-queue limit of a terminal line is reached. and enables synchronous logging for line 2 with a severity level of 7 and specifies a maximum number of buffers to be 70000. Examples The following example identifies line 4 and enables synchronous logging for line 4 with a severity level of 6. although these messages might be displayed on other lines. Cisco IOS Configuration Fundamentals Command Reference FR-576 . Controls logging of error messages. Although unlikely to occur. the notice “%SYS-3-MSGLOST number-of-messages due to overflow” follows any messages that are displayed. any logging servers. you should guard against this type of attack through proper configuration. Caution By configuring abnormally large message-queue limits and setting the terminal to “terminal monitor” on a terminal that is accessible to intruders. and leaving the connection idle. new messages are dropped from the line. and these messages would consume all available RAM. you expose yourself to “denial of service” attacks. which logs messages to designated locations asynchronously to the processes that generated the messages. Then the example identifies another line. line 4 logging synchronous level 6 line 2 logging synchronous level 7 limit 70000 Related Commands Command line logging on Description Identifies a specific line for configuration and starts the line configuration command collection mode. making a Telnet connection to a remote host. This could cause large numbers of messages to be generated and queued. This command sends debug or error messages to a logging process. It is not sent to any other lines. line 2.

there are four categories of messages generated by the software. logging trap level no logging trap Syntax Description level Limits the logging of messages to the syslog servers to a specified level. Logging Trap Error Message Logging Priorities Use the logging and logging trap commands to send messages to a UNIX syslog server.Troubleshooting Commands logging trap logging trap To limit messages logged to the syslog servers based on severity. as follows: • • • • Error messages about software or hardware malfunctions at the LOG_ERR level. Table 1 lists the syslog definitions that correspond to the debugging message levels.0 Modification This command was introduced. The command output also includes ancillary statistics. Additionally. Usage Guidelines The EXEC command show logging displays the addresses and levels associated with the current logging setup. The command limits the logging of error messages sent to syslog servers to only those messages at the specified level. Use the no form of this command to disable logging to syslog servers. See Table 69 for a list of the level arguments. Reload requests and low process stacks are at the LOG_INFO level. You can enter the level number or level name. Defaults Informational Command Modes Global configuration Command History Release 10. Output for the debug commands at the LOG_WARNING level. Interface up/down transitions and system restarts at the LOG_NOTICE level. use the logging trap global configuration command. Table 69 Level Arguments emergencies alerts critical errors warnings Level 0 1 2 3 4 Description System unusable Immediate action needed Critical conditions Error conditions Warning conditions Syslog Definition LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING Cisco IOS Configuration Fundamentals Command Reference FR-577 .

Cisco IOS Configuration Fundamentals Command Reference FR-578 .Troubleshooting Commands logging trap Table 69 Logging Trap Error Message Logging Priorities (continued) Level Arguments notifications informational debugging Level 5 6 7 Description Normal but significant condition Informational messages only Debugging messages Syslog Definition LOG_NOTICE LOG_INFO LOG_DEBUG The following example logs messages to a host named johnson: logging johnson logging trap notifications Related Commands Command logging Description Logs messages to a syslog server host.

ipx. Connectionless Network Service (CLNS). (Optional) Specifies the data pattern. (Optional)Source address or name. (Optional) Range is from 0 to FFFF. (Optional) Specifies a tag encapsulated IP ping. Address of the system to ping. Host name of the system to ping. AppleTalk. (Optional) CTunnel interface. (Optional) Ethernet IEEE 802.3. or xns. ip. (Optional) Bridge-Group Virtual Interface. (Optional) Asynchronous interface. VINES. (Optional) Lex interface. (Optional) Multilink-group interface. Cisco IOS Configuration Fundamentals Command Reference FR-579 . (Optional) Specifies the number of pings sent. Datagram size is the number of bytes in each ping. use the ping privileged EXEC command. clns. (Optional) Specifies the datagram size. virtual-tokenring (Optional) Virtual TokenRing. (Optional) FastEthernet IEEE 802. vines. decnet. (Optional) Tunnel interface. IP. (Optional) Null interface. (Optional) Specifies the timeout interval in seconds. appletalk. (Optional) Loopback interface.3. (Optional) PGM Multicast Host interface. The default is 2 seconds. one of apollo. (Optional) Specifies the source address or name. or XNS networks. DECnet. (Optional) Range is from 40 to 18024. (Optional) Extended Tag ATM interface. Novell IPX. srb. (Optional) Ethernet channel of interfaces.Troubleshooting Commands ping (privileged) ping (privileged) To diagnose basic network connectivity on Apollo. ping [protocol | tag] {host-name | system-address} [data [hex-data-pattern] | df-bit | repeat [repeat-count] | size [datagram-size] | source [source-address | async | bvi | ctunnel | dialer | ethernet | fastEthernet | lex | loopback | multilink | null | port-channel | tunnel | vif | virtual-template | virtual-tokenring | xtagatm] | timeout [seconds] | validate] Syntax Description protocol tag host-name system-address data hex-data-pattern df-bit repeat repeat-count size datagram-size source source-address async bvi ctunnel dialer ethernet fastEthernet lex loopback multilink null port-channel tunnel vif virtual-template xtagatm timeout (Optional) Protocol keyword. (Optional) Virtual Template interface. The default is 5. (Optional) Dialer interface. (Optional) Enables the “do-not-fragment” bit in the IP header. (Optional) Range is from 1 to 2147483647.

Each period indicates that the network server timed out while waiting for a reply. User interrupted test.0 Modification This command was introduced. Table 70 ping Test Characters Character Description ! . A destination unreachable error protocol data unit (PDU) was received. size. df-bit. For some protocols. (Optional) Validates the reply data. and then pressing the X key. and 6 keys. The ping command sends an echo request packet to an address. timeout. Usage Guidelines The ping (packet internet groper) command sends ISO CLNS echo packets to test the reachability of a remote router over a connectionless Open System Interconnection (OSI) network. You type the default by simultaneously pressing and releasing the Ctrl. The data. and validate keywords were added. The default protocol is IP. the pings are Cisco-defined and are only answered by another Cisco router.0 12. Ctrl-^ X. Cisco IOS Configuration Fundamentals Command Reference FR-580 . appletalk. If you enter a host name or address on the same line as the ping command. Note Not all protocols require hosts to support pings. type the escape sequence—by default. Unknown packet type. Table 70 describes the test characters that the ping facility sends. source. To abnormally terminate a ping session. the system prompts for one of the following keywords: apollo. novell. repeat. clns. decnet. and whether the host can be reached or is functioning. A congestion experienced packet was received. ip. vines.Troubleshooting Commands ping (privileged) seconds validate (Optional) Range is from 0 to 3600. Packet lifetime exceeded. Examples After you enter the ping command in privileged mode. then awaits a reply. Shift. U C I ? & Each exclamation point indicates receipt of a reply. delays over the path. Command Modes Privileged EXEC Command History Release 10. Ping output can help you evaluate path-to-host reliability. the default action is taken as appropriate for the protocol type of that name or address. or xns.

ip. Sending 5.168. Repeat count [5]: Datagram size [100]: Timeout in seconds [2]: Extended commands [n]: Sweep range of sizes [n]: !!!!! Success rate is 100 percent round-trip min/avg/max = 1/2/4 ms Cisco IOS Configuration Fundamentals Command Reference FR-581 . You can use as many of these keywords as you need. If you have specified a supported protocol other than IP. timeout. df-bit. The default is 2 seconds. timeout is 2 seconds: !!!!! Success rate is 100 percent. Prompts for the timeout interval. apollo. decnet. vines. and validate keywords can be used to avoid extended ping command output. This capability is useful for determining the minimum sizes of the MTUs configured on the nodes along the path to the destination address. Indicates the percentage of packets successfully echoed back to the router. including minimum/average/maximum (in milliseconds). Although the precise dialog varies somewhat from protocol to protocol. Prompts for the size of the ping packet (in bytes). The default is none. Allows you to vary the sizes of the echo packets being sent. depending on the protocol type.) indicates that the network server timed out while waiting for a reply. Prompts for the IP address or host name of the destination node you plan to ping. size. Each exclamation point (!) indicates receipt of a reply. The default is 5 packets. novell.168.27. Table 71 ping Field Descriptions Field Protocol [ip]: Target IP address: Description Prompts for a supported protocol. Other characters may appear in the ping output display. Packet fragmentation contributing to performance problems can then be reduced. Anything less than 80 percent is usually considered problematic. Enter appletalk. Indicates the round-trip travel time intervals for the protocol echo packets.27 Repeat count [5]: Datagram size [100]: Timeout in seconds [2]: Extended commands [n]: Sweep range of sizes [n]: Type escape sequence to abort. 100-byte ICMP Echos to 192. and you can use them in any order after the host-name or system-address arguments.Troubleshooting Commands ping (privileged) The optional data. Prompts for the number of ping packets that will be sent to the destination address.7. enter an appropriate address for that protocol here. source. or xns. A period (. all are similar to the ping session using default values shown in the following output: Router# ping Protocol [ip]: Target IP address: 192. clns. The default is IP. repeat.7. Specifies whether a series of additional commands appears. The default is 100 bytes. round-trip min/avg/max = 1/2/4 ms Table 71 describes the default ping fields shown in the display.

Tests the connection to a remote device in a VPN.Troubleshooting Commands ping (privileged) Related Commands Command ping (user) ping vrf Description Tests the connection to a remote host on the network. Cisco IOS Configuration Fundamentals Command Reference FR-582 .

decnet. A destination unreachable error PDU was received. Table 72 ping Test Characters Character Description ! . IP. vines. Unknown packet type. appletalk. User interrupted test. Usage Guidelines The user-level ping feature provides a basic ping facility for users who do not have system privileges. To abnormally terminate a ping session. Novell. Packet lifetime exceeded. ping [protocol] {host | address} Syntax Description protocol host address (Optional) Protocol keyword. type the escape sequence—by default. or XNS networks. and 6 keys and then pressing the X key. Each period indicates the network server timed out while waiting for a reply. Cisco IOS Configuration Fundamentals Command Reference FR-583 . If the system cannot map an address for a host name. You type the default by simultaneously pressing and releasing the Ctrl. ipx. use the ping (packet internet groper) user EXEC command. Command Modes EXEC Command History Release 10. clns.Troubleshooting Commands ping (user) ping (user) To diagnose basic network connectivity on AppleTalk. DECnet. Ctrl-^ X. Only the terse form of the ping command is supported for user-level pings. ip. CLNS. it returns an “%Unrecognized host or address” error message. Shift. Table 72 describes the test characters that the ping facility sends. VINES. one of apollo. Host name of system to ping. U C I ? & Each exclamation point indicates receipt of a reply. A congestion experienced packet was received. or xns.0 Modification This command was introduced. This feature allows the Cisco IOS software to perform the simple default ping functionality for a number of protocols. Address of system to ping. Apollo.

Troubleshooting Commands ping (user) Examples The following display shows sample ping output when you ping the IP host named donald: Router> ping donald Type escape sequence to abort. Cisco IOS Configuration Fundamentals Command Reference FR-584 . timeout is 2 seconds: !!!!! Success rate is 100 percent. round-trip min/avg/max = 1/3/4 ms Related Commands Command ping (privileged) Description Checks host reachability and network connectivity. Sending 5.168.27. 100-byte ICMP Echos to 192.7.

1 Modification This command was introduced. Examples The following example logs important messages from the slave cards to the console: service slave-log The following example illustrates sample output when this command is enabled: %IPC-5-SLAVELOG: VIP-SLOT2: IPC-2-NOMEM: No memory available for IPC system initialization The first line indicates which slot sent the message. Usage Guidelines This command allows slave slots to log error messages of level 2 or higher (critical. Command Modes Global configuration Command History Release 11. service slave-log no service slave-log Syntax Description This command has no arguments or keywords. use the service slave-log global configuration command. The second line contains the error message.Troubleshooting Commands service slave-log service slave-log To allow slave Versatile Interface Processor (VIP) cards to log important error messages to the console. alerts. Cisco IOS Configuration Fundamentals Command Reference FR-585 . and emergencies). Use the no form of this command to disable slave logging. Defaults This command is enabled by default.

use the service tcp-keepalives-in global configuration command. Cisco IOS Configuration Fundamentals Command Reference FR-586 . The no form of this command with the appropriate keyword disables the keepalives. Defaults Disabled Command Modes Global configuration Command History Release 10. service tcp-keepalives-in no service tcp-keepalives-in Syntax Description This command has no arguments or keywords.0 Modification This command was introduced. Examples The following example generates keepalives on incoming TCP connections: service tcp-keepalives-in Related Commands Command service tcp-keepalives-out Description Generates keepalive packets on idle outgoing network connections (initiated by a user).Troubleshooting Commands service tcp-keepalives-in service tcp-keepalives-in To generate keepalive packets on idle incoming network connections (initiated by the remote host).

use the service tcp-keepalives-out global configuration command. The no form of this command with the appropriate keyword disables the keepalives. Defaults Disabled Command Modes Global configuration Command History Release 10. Examples The following example generates keepalives on outgoing TCP connections: service tcp-keepalives-out Related Commands Command service tcp-keepalives-in Description Generates keepalive packets on idle incoming network connections (initiated by the remote host).0 Modification This command was introduced. Cisco IOS Configuration Fundamentals Command Reference FR-587 . service tcp-keepalives-out no service tcp-keepalives-out Syntax Description This command has no arguments or keywords.Troubleshooting Commands service tcp-keepalives-out service tcp-keepalives-out To generate keepalive packets on idle outgoing network connections (initiated by a user).

(Optional) Time stamp relative to the local time zone.Troubleshooting Commands service timestamps service timestamps To configure the system to time-stamp debugging or logging messages. If the system clock has not been set. (Optional) Time stamp with time since the system was rebooted. Usage Guidelines Time stamps can be added to either debugging or logging messages independently. If service timestamps is specified with no arguments or keywords. service timestamps type [uptime] service timestamps type datetime [msec] [localtime] [show-timezone] no service timestamps type Syntax Description type uptime datetime msec localtime show-timezone Type of message to time stamp: debug or log. the date and time are preceded by an asterisk (*) to indicate that the date and time are probably not correct. Command Modes Global configuration Command History Release 10. Examples The following example enables time stamps on debugging messages. indicating the time since the system was rebooted. with no milliseconds and no time zone name. The datetime form of the command adds time stamps in the format MMM DD HH:MM:SS. Use the no form of this command to disable this service. showing the time since reboot: service timestamps debug uptime Cisco IOS Configuration Fundamentals Command Reference FR-588 . default is service timestamps debug uptime.0 Modification This command was introduced. Time stamp with the date and time. The uptime form of the command adds time stamps in the format HHHH:MM:SS. The command no service timestamps by itself disables time stamps for both debug and log messages. indicating the date and time according to the system clock. (Optional) Include milliseconds in the date and time stamp. (Optional) Include the time zone name in the time stamp. use one of the service timestamps global configuration commands. Defaults No time-stamping. The default for service timestamps type datetime is to format the time in UTC.

with the time zone name included: service timestamps log datetime localtime show-timezone Related Commands Command clock set ntp Description Manually set the system clock. Controls access to the system’s NTP services. Cisco IOS Configuration Fundamentals Command Reference FR-589 . showing the current time and date relative to the local time zone.Troubleshooting Commands service timestamps The following example enables time stamps on logging messages.

Command Modes EXEC and privileged EXEC Command History Release 11.3 XA Modification This command was introduced. Syntax Description This command has no arguments or keywords. Usage Guidelines The show c2600 command provides complex troubleshooting information that pertains to the platform’s shared references rather than to a specific interface. Cisco IOS Configuration Fundamentals Command Reference FR-590 . enter the show c2600 EXEC command.Troubleshooting Commands show c2600 (Cisco 2600 series) show c2600 (Cisco 2600 series) To display information for troubleshooting the Cisco 2600 series router.

Troubleshooting Commands show c2600 (Cisco 2600 series) Examples The following example shows sample display output for the show c2600 EXEC command. Cisco IOS Configuration Fundamentals Command Reference FR-591 .. See Table 73 for a description of the output display fields.. Level 00 = [ EF020000 Level 01 = [ EC020000 Level 02 = [ E8020000 Level 03 = [ E0020000 Level 04 = [ E0020000 Level 05 = [ E0020000 Level 06 = [ C0020000 Level 07 = [ 00000000 Name Xilinx bridge error interrupt MPC860 TIMER INTERRUPT 16552 Con/Aux Interrupt PA Network Management Int Handler Timebase Reference Interrupt PA Network IO Int Handler MPC860 CPM INTERRUPT Xilinx bridge error interrupt ] ] ] ] ] ] ] ] SIEN = EF02xxxx SIPEND = 0000xxxx Current Level = 00 SIU_IRQ_MASK = FFFFFFFF Spurious IRQs = 00000000 Interrupt Throttling: Throttle Count = 00000000 Netint usec = 00000000 Active = 0 Longest IRQ = 00000000 Timer Count = 00000000 Netint Mask usec = 000003E8 Configured = 0 IDMA Status: Requests = 00000349 Drops = 00000000 Complete = 00000349 Post Coalesce Frames = 00000349 Giant = 00000000 Available Blocks = 256/256 ISP Status: Version string burned in chip: "A986122997" New version after next program operation: "B018020998" ISP family type: "2096" ISP chip ID: 0x0013 Device is programmable Table 73 show c2600 Field Descriptions Field Interrupts Assigned Handlers Vect Handler Description Denotes that the next section describes the status of the interrupt services... The execution address of the handler assigned to this vector. router# show c2600 C2600 Platform Information: Interrupts: Assigned Handlers. The processor vector number. Denotes a subsection of the Interrupt section which displays data about the interrupt handlers. Vect Handler # of Ints 00 801F224C 00000000 01 801DE768 0D3EE155 02 801E94E0 0000119E 04 801F0D94 00000000 05 801E6C34 00000000 06 801F0DE4 00002C1A 07 801F0EA0 0000015D 14 801F224C 00000000 IOS Priority Masks.

Denotes the subsection of the Interrupt section which displays internal Cisco IOS priorities. Device family number of ISP hardware. Monitors the activity of the Internal Direct Memory Access (IDMA) hardware and software. Version of ISP hardware after next ISP programming operation. 2/256 indicates that the queue has 256 entries and can accept two more requests before it is full. Maximum time network level interrupt is masked out to allow process level code to run.Troubleshooting Commands show c2600 (Cisco 2600 series) Table 73 show c2600 Field Descriptions (continued) Field # of Ints Name IOS Priority Masks Description The number of times this handler has been called. in microseconds. in the format N/M where N is the number of empty slots in queue and M is the total number of slots. Number of Frames completed post-coalesce processing. Maximum time network level is allowed to run. e. Number of times the IDMA engine is asked to coalesce a packet.. Each item in this subsection indicates a Cisco IOS interrupt level and the bit mask used to mask out interrupt sources when that Cisco IOS level is being processed. Indicates throttling is enabled or configured when set to 1. Used exclusively for debugging. Duration of longest network level interrupt. Number of times throttle has deactivated because the maximum masked out time for network interrupt level has been reached. This subsection describes the behavior of the Interrupt Throttling mechanism on the platform. in microseconds Indicates that the network level interrupt is masked or the router is in interrupt throttle state. For engineering level debug only. Provides status of In-System-Programmable hardware. SIU_IRQ_MASK Spurious IRQs Interrupt Throttling: Throttle Count Timer Count Netint usec Netint Mask usec Active Configured Longest IRQ IDMA Status Requests Drops Complete Post Coalesce Frames Giant Available Blocks ISP Status Version string burned in chip New version after next program operation ISP family type Cisco IOS Configuration Fundamentals Command Reference FR-592 . Used to coalesce packets (turn particalized packets into non-particalized packets) for transfer to the process level switching mechanism. in microseconds. Indicates the status of the request queue. Number of times throttle has become active. Current version of ISP hardware. The name of the handler assigned to this vector.g. Number of packets too large to coalesce. Number of times the operation was successful. For engineering level debug only. Number of times the coalescing operation was aborted.

“Yes” or “No. Cisco IOS Configuration Fundamentals Command Reference FR-593 . Related Commands Command show context Description Displays information stored in NVRAM when the router crashes.” Indicates if an ISP operation is possible on this board.Troubleshooting Commands show c2600 (Cisco 2600 series) Table 73 show c2600 Field Descriptions (continued) Field ISP chip ID Device is programmable Description Internal ID of ISP hardware as designated by chip manufacturer.

Troubleshooting Commands show c7200 (Cisco 7200 series) show c7200 (Cisco 7200 series) To display information about the CPU and midplane for Cisco 7200 series routers. use the show c7200 EXEC command. Command Modes EXEC Command History Release 11. Examples The following is sample output from the show c7200 command: Router# show c7200 C7200 Network IO Interrupt Throttling: throttle count=0.2 Modification This command was introduced.3e28. Usage Guidelines You can use the output of this command to determine whether the hardware version level and upgrade is current. The information is generally useful for diagnostic tasks performed by technical support only.2 Board revision Serial number 2863311530 Part number Test history 0xAA RMA number MAC=0060.ee00. timer count=0 active=0. show c7200 Syntax Description This command has no arguments or keywords. netint mask usec=200 C7200 Midplane EEPROM: Hardware revision 1. configured=0 netint usec=3999. Model=0x6 EEPROM contents (hex): 0x20: 01 06 01 02 AA AA AA AA AA AA AA AA 00 0x30: EE 00 04 00 AA AA AA AA AA AA AA 50 AA C7200 CPU EEPROM: Hardware revision 2.0 Serial number 3509953 Test history 0x0 EEPROM format version 1 EEPROM contents (hex): 0x20: 01 15 02 00 00 35 8E C1 0x30: 50 00 00 00 FF FF FF FF A0 170-43690-170 170-170-170 60 3E 28 AA AA AA Board revision A0 Part number 73-1536-02 RMA number 00-00-00 49 06 00 02 00 00 00 00 FF FF FF FF FF FF FF FF Cisco IOS Configuration Fundamentals Command Reference FR-594 . MAC Size=1024 EEPROM format version 1.

DSPU. LNM.0002 04 04 DLU user:DLSWDLUPEER DLU user:DLSWDLU Bridging VDLC VDLC1000 Cisco IOS Configuration Fundamentals Command Reference FR-595 . and QLLC.4000.0 Modification This command was introduced in a release prior to 11. Command Modes Exec Command History Release 11. and establishes circuits through CLS over the DLC. VDLC.0001 1234.0.4000.0002 04 04 T1 timer:0 T2 timer:0 Inact timer:0 max out:0 max in:0 retry count:10 XID retry:10 XID timer:5000 I-Frame:0 flow:0 DataIndQ:0 DataReqQ:0 DLU user:DLSWDLUPEER DLU user:DLSWDLU Bridging VDLC VDLC1000 Bridging VDLC VDLC650 The following is sample output from the show cls brief command: IBD-4500B#show cls brief DLU user:SNASW SSap:0x04 VDLC VDLC650 DTE:1234. show cls [brief] Syntax Description brief Displays a brief version of the output. use the show cls command. Usage Guidelines The Cisco link service (CLS) is used as the interface between data link users (DLUs). and SNASw. displays complete output. Defaults Without the brief argument.4000.0001 1234. Examples The following is sample output from the show cls command: IBD-4500B#show cls DLU user:SNASW SSap:0x04 VDLC VDLC650 DTE:1234.Troubleshooting Commands show cls show cls To display the current status of all Cisco link services (CLS) sessions on the router. Each DLU registers a particular SAP with CLS. such as DLSw.4000. The show cls command displays the service access point (SAP) values associated with the DLU and the circuits established through CLS. and their corresponding data link circuits (DLCs) such as LLC.

and the associated DLC port is VDLC650. Cisco IOS Configuration Fundamentals Command Reference FR-596 . SNASw has a circuit established between MAC addresses 1234.0001 and 1234. In the output from the show cls (without the brief argument). There are no circuits in place at this time.Troubleshooting Commands show cls Bridging VDLC VDLC650 The examples show two DLUs—SNASw and DLSw—active in the router. SNASw uses a SAP value of 0x04.0002 using source and destination SAPs 04 and 04.4000.4000. DLSw is a bridging protocol and uses VDLC1000 and VDLC650 ports. the values of timers and counters applicable to this circuit are displayed.

and router uptime information All the register contents at the time of the crash This information is useful only to your technical support representative for analyzing crashes in the field. Cisco IOS Configuration Fundamentals Command Reference FR-597 . Context information for the Cisco 2600 series router differs from that for other router types because the Cisco 2600 runs with an M860 processor.3 Modification This command was introduced. Usage Guidelines Context information is specific to processors and architectures.Troubleshooting Commands show context (2600) show context (2600) To display information stored in NVRAM when an exception occurs. show context Syntax Description This command has no arguments or keywords. Command Modes EXEC and Privileged EXEC Command History Release 10. The display from the show context command includes the following information: • • • • • Reason for the system reboot Stack trace Software version The signal number. use the show context EXEC command. whereas software version and uptime information are not specific to architectures. Use this information when you read the displayed statistics to an engineer over the phone. code.

Technical reason for exception. Related Commands Command show processes show stacks Description Displays information about the active processes. Technical processor state information. Released Version 11. See Table 74 for a description of the fields in this output. Cisco IOS Configuration Fundamentals Command Reference FR-598 . Router real time when exception occurred. The router must have the clock time properly configured for this to be accurate. router# show context S/W Version: Cisco Internetwork Operating System Software IOS (tm) c2600 Software (c2600-JS-M). Inc. For engineering analysis. Compiled Thu 15-Jan-98 13:49 by mmagno Exception occurred at: 00:02:26 UTC Mon Mar 1 1993 Exception type: Data TLB Miss (0x1200) CPU Register Context: PC = 0x80109964 MSR = 0x00009030 CR = 0x55FFFD35 LR = 0x80109958 CTR = 0x800154E4 XER = 0xC000BB6F DAR = 0x00000088 DSISR = 0x00000249 DEC = 0x7FFFDFCA TBU = 0x00000000 TBL = 0x15433FCF IMMR = 0x68010020 R0 = 0x80000000 R1 = 0x80E80BD0 R2 = 0x80000000 R3 = 0x00000000 R4 = 0x80E80BC0 R5 = 0x40800000 R6 = 0x00000001 R7 = 0x68010000 R8 = 0x00000000 R9 = 0x00000060 R10 = 0x00001030 R11 = 0xFFFFFFFF R12 = 0x00007CE6 R13 = 0xFFF379E8 R14 = 0x80D50000 R15 = 0x00000000 R16 = 0x00000000 R17 = 0x00000000 R18 = 0x00000000 R19 = 0x00000000 R20 = 0x00000000 R21 = 0x00000001 R22 = 0x00000010 R23 = 0x00000000 R24 = 0x00000000 R25 = 0x80E91348 R26 = 0x01936010 R27 = 0x80E92A80 R28 = 0x00000001 R29 = 0x019BA920 R30 = 0x00000000 R31 = 0x00000018 Stack trace: Frame 00: SP = 0x80E80BD0 PC = 0x80109958 Frame 01: SP = 0x80E80C28 PC = 0x8010A720 Frame 02: SP = 0x80E80C40 PC = 0x80271010 Frame 03: SP = 0x80E80C50 PC = 0x8025EE64 Frame 04: SP = 0x80DEE548 PC = 0x8026702C Frame 05: SP = 0x80DEE558 PC = 0x8026702C Table 74 show context Field Descriptions Field S/W Version Exception occurred at Exception type CPU Register Context Stack trace Description Standard Cisco IOS version string as displayed.3(19980115:184921] Copyright (c) 1986-1998 by cisco Systems. Monitors the stack usage of processes and interrupt routines. Technical processor state information. For engineering analysis.Troubleshooting Commands show context (2600) Examples The following displays sample output from the show context command following a system failure on a Cisco 2600 series router. For engineering analysis.

Displays all crashes for all the slots. Displays information for a particular line card. If the GRP reloads. show context summary show context {all | slot slot-number [crash-index] [all] [debug]} Syntax Description summary all slot slot-number [crash-index] Displays a summary of all the crashes recorded. Contexts from the last 24 line card crashes are saved on the GRP card. Cisco IOS Configuration Fundamentals Command Reference FR-599 . debug Command Modes EXEC Command History Release 11. Index number allows you to look at previous crash contexts. When optionally used with the slot keyword. displays crash information for the specified slot. Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. code. debug.Troubleshooting Commands show context show context To display information stored in NVRAM when the router crashes. the last 24 line card crash contexts are lost. It is included here in case you need to read the displayed statistics to an engineer over the phone. and summary keywords. Usage Guidelines The display from the show context command includes the following information: • • • • • Reason for the system reboot Stack trace Software version The signal number. and router uptime information All the register contents at the time of the crash Note This information is of use only to technical support representatives in analyzing crashes in the field. Index numbers are displayed by the show context summary command (Optional) Displays crash information as hex record dump in addition to one of the options listed. slot. show context slot 3 2 shows the second most recent crash for line card in slot 3. For example.2 GS Modification This command was modified to add the all. use the show context EXEC command.

1(2033) [ganesh 111] Compiled Mon 31-Mar-97 13:21 by ganesh Image text-base: 0x60010900. Cisco IOS Configuration Fundamentals Command Reference FR-600 . t3 : FFFF00FF t4 : 00000083. RA: 0x6011632C Fault History Buffer: GS Software (RSP-PV-M). ra : 601853CC EPC : 60189354. SREG : 3400EF03.1(2033) [ganesh 111] Compiled Mon 31-Mar-97 13:21 by ganesh Signal = 23. Monitors the stack usage of processes and interrupt routines. v0 : 00000032. s7 : 6097F755 t8 : 600FABBC. s3 : 00000000 s4 : 00000000. Uptime 00:04:19 $0 : 00000000. s2 : 00000001. s8 : 00000000. data-base: 0x6073E000 Stack trace from system failure: FP: 0x60AEA798. t7 : 11010132 s0 : 00000006. v1 : 00000120 a0 : 60170110. RA: 0x6015E98C FP: 0x60AEA7F8. Cause : 00000024 Router> The following is sample output from the show context summary command on a Cisco 12012 router. RA: 0x60116340 FP: 0x60AEA890. AT : 60930120. s1 : 607A25F8. a1 : 6097F22C. Experimental Version 11. t6 : 00000000. a3 : 00000000 t0 : 60AE02A0. k0 : 30408401. s6 : 00000000.Troubleshooting Commands show context Examples The following is sample output from the show context command following a system failure: Router> show context System was restarted by error . t2 : 34008F00. s5 : 00000000. Experimental Version 11. PC 0x60189354 GS Software (RSP-PV-M). sp : 60AEA798. k1 : 30410000 gp : 608B9860. a2 : 00000000. t9 : 00000000.a Software forced crash.crash at 18:06:41 UTC Tue Nov 5 1996 2 . RA: 0x601706CC FP: 0x60AEA878.crash at 12:14:55 UTC Mon Nov 4 1996 Slot 8 : 0 crashes Slot 9 : 0 crashes Slot 10: 0 crashes Slot 11: 0 crashes Router# Related Commands Command show processes show stacks Description Displays information about the active processes. RA: 0x6011AB3C FP: 0x60AEA828. RA: 0x60189354 FP: 0x60AEA798. The show context summary command displays a summary of all the crashes recorded. t1 : 8000FD80. Router# show context summary CRASH INFO SUMMARY Slot 0 : 0 crashes Slot 1 : 0 crashes Slot 2 : 0 crashes Slot 3 : 0 crashes Slot 4 : 0 crashes Slot 5 : 0 crashes Slot 6 : 0 crashes Slot 7 : 2 crashes 1 . Code = 0x24. t5 : 3E840024. RA: 0x601853CC FP: 0x60AEA7C0.

(Optional) Displays the POS framer state and optionally displays all the details for the interface. (Optional) Displays the fabric interface ASIC information and optionally display the register information. show controllers [atm number | clock | csar [register] | csc-fpga | dp83800 | fab-clk | fia [register] | pos [number] [details] | queues [slot-number] | sca | xbar] Syntax Description atm number (Optional) Displays the ATM controllers. Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. use the show controllers privileged EXEC command. The switch fabric clock FPGA is a chip that monitors the incoming fabric clock generated by the switch fabric. The FPGA monitors both clocks and selects which one to use if only one of them is running. The SCA is an ASIC that arbitrates among the line cards requests to use the switch fabric. Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. (Optional) Display the switch fabric clock register information. The SDRAM buffer carve information displayed is suggested carve information from the GRP card to the line card. This clock is needed by each card connecting to the switch fabric to properly communicate with it. (Optional) Displays the clock card configuration.Troubleshooting Commands show controllers (GRP image) show controllers (GRP image) To display information that is specific to the hardware. only one can be used. 4/0). clock csar [register] csc-fpga dp83800 fab-clk fia [register] pos [number] [details] queues [slot-number] sca xbar Command Modes Privileged EXEC Cisco IOS Configuration Fundamentals Command Reference FR-601 . (Optional) Displays the SCA register information. There are two switch fabric clocks arriving at each card. Line cards might change the shown percentages based on SDRAM available. CSAR is the name of the chip on the card that handles traffic between the GRP and the switch fabric interface ASICs. (Optional) Displays the clock and scheduler card register information in the field programmable gate array (FPGA). Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. Number is slot-number/ port-number (for example. (Optional) Displays the crossbar register information. (Optional) Displays the Cisco Cell Segmentation and Reassembly (CSAR) information. (Optional) Displays the Ethernet information on the GRP card. The XBAR is an ASIC that switches the data as it passes through the switch fabric. (Optional) Displays the SDRAM buffer carve information and optionally displays the information for a specific line card. Number is slot-number/ port-number (for example. 4/0).

show controllers (line Displays information that is specific to the hardware on a line card. Examples The following is sample output from the show controllers pos command for a Cisco 12012: Router# show controllers pos 7/0 POS7/0 SECTION LOF = 2 LOS = 0 Active Alarms: None LINE AIS = 2 RDI = 2 FEBE = 146 Active Alarms: None PATH AIS = 2 RDI = 4 FEBE = 63 LOP = 0 PSE = 8 NSE = 3 Active Alarms: None APS COAPS = 3 PSBF = 2 State: PSBF_state = False Rx(K1/K2): F0/15 Tx(K1/K2): 00/00 S1S0 = 00.101. Usage Guidelines Note This information is of use only to technical support representatives in analyzing system failures in the field. It is included here in case you need to read the displayed statistics to an engineer over the phone.2 GS Modification This command was added to support the Cisco 12000 series Gigabit Switch Routers. card image) Cisco IOS Configuration Fundamentals Command Reference FR-602 .201. C2 = 64 PATH TRACE BUFFER : STABLE Remote hostname : GSR-C Remote interface: POS10/0 Remote IP addr : 10.2 Remote Rx(K1/K2): F0/15 Tx(K1/K2): 00/00 Router# BIP(B1) = 5889 BIP(B2) = 2106453 BIP(B3) = 3216 NEWPTR = 2 Related Commands Command clear controllers Description Resets the T1 or E1 controller.Troubleshooting Commands show controllers (GRP image) Command History Release 11.

Displays silicon queuing engine (SQE) information for the register. micro-sequencer. (Optional) Specifies the end queue element number (0 to 65535). For the frfab or tofab keywords.Troubleshooting Commands show controllers (line card image) show controllers (line card image) To display information that is specific to the hardware on a line card. (Optional) Displays request for the physical interface on the ATM card. also known as the buffer management ASIC (BMA). The range of choices is 0-3. (Optional) Lists all details. Displays silicon queuing engine (SQE) information for the micro sequencer instruction. For the frfab or tofab keywords. (Optional) Lists SAR interactive command. use the attach privileged EXEC command to connect to the line card and then use the show controllers privileged EXEC command or the execute-on privileged EXEC command. microcode mis-inst register qelem start-queue-element end-queue-element Cisco IOS Configuration Fundamentals Command Reference FR-603 . Specifies the start queue element number (0 to 65535). (Optional) Lists SAR status summary. show controllers atm [[port-number] [all | sar | summary]] show controllers fia [register] show controllers {frfab | tofab} {bma {microcode | ms-inst | register} | qelem start-queue-element [end-queue-element] | qnum start-queue-number [end-queue-number] | queues | statistics} show controllers io show controllers l3 show controllers pos {framers | queues | registers | rxsram port-number queue-start-address [queue-length] | txsram port-number queue-start-address [queue-length]} Syntax Description atm port-number all sar summary fia register frfab tofab bma Displays the ATM controller information. Displays the fabric interface ASIC information. (Optional) Displays the register information. Displays silicon queuing engine (SQE) information for the microcode bundled in the line card and currently running version. displays the SDRAM buffer pool queue element summary information. displays microcode. (Optional) Displays the to fabric (receive) information. or register information for the silicon queuing engine (SQE). (Optional) Displays the from fabric (transmit).

It is included here in case you need to read the displayed statistics to an engineer over the phone. (Optional) Specifies the queue SRAM length.2 GS Modification This command was added to support the Cisco 12000 series Gigabit Switch Routers. Specifies a port number (valid range is 0 to 3). For the frfab or tofab keywords. displays the SDRAM buffer pool queue detail information. or you must connect to the card using the attach command. Usage Guidelines Note This information is of use only to technical support representatives in analyzing crashes in the field. Displays input/output registers. Displays Layer 3 ASIC information.Troubleshooting Commands show controllers (line card image) qnum start-queue-number end-queue-number queues statistics io l3 pos framers queues registers rxsram port-number queue-start-address queue-length txsram For the frfab or tofab keywords. Command Modes Privileged EXEC Command History Release 11. displays the BMA counters. Displays the receive queue SRAM. displays the SDRAM buffer pool information. Displays packet-over-sonic (POS) information for framer registers. (Optional) Specifies the end free queue number (0 to 127). All examples in this section use the execute-on command Cisco IOS Configuration Fundamentals Command Reference FR-604 . you must use the execute-on command to perform the show command. Specifies the queue SRAM logical starting address. Displays the ASIC registers. Displays the POS framer registers. Displays the transmit queue SRAM. Examples Because you are executing this command on the line card. Displays the POS framer queue information. framer queues. Specifies the start free queue number (0 to 127). and ASIC registers. For the frfab or tofab keywords.

CM622 SAR Boot Configuration: txind_q_addr 0x14000 txcmd_q_addr 0x20000 .0) is Operational..0) is Operational. boot_msk_addr 0x0780.. rmcell_msk_addr 0x0724. RX SAR (Beta 1. rmcnt__msk_addr 0x07C2.0.0. .Troubleshooting Commands show controllers (line card image) The following is partial sample output from the show controllers atm command: Router# execute-on slot 4 show controllers atm 0 TX SAR (Beta 1.. lo_addr_reg 0x000C.. BERM Line BIP Threshold LSB Reg (#0x74): 0x00 BERM Line BIP Threshold MSB Reg (#0x75): 0x00 Router# Cisco IOS Configuration Fundamentals Command Reference FR-605 . Interface Configuration Mode: STS-12c Active Maker Channels: total # 6 VCID ChnnlID Type OutputInfo 1 0888 UBR 0C010010 2 0988 VBR 04010020 3 8BC8 UBR 0C010030 4 0E08 UBR 0C010040 10 1288 VBR 040100A0 11 8BE8 VBR 0C0100B0 InPkts 0 0 0 0 0 0 InOAMs 0 0 0 0 0 0 MacString 08882000AAAA030000000800 09882000 8BC82000AAAA030000000800 0E082000AAAA030000000800 12882000 8BE82000AAAA030000000800 SAR Total Counters: total_tx_idle_cells 215267 total_tx_paks 0 total_tx_abort_paks 0 total_rx_paks 0 total_rx_drop_paks 0 total_rx_discard_cells 15 Switching Code Counters: total_rx_crc_err_paks 0 total_rx_giant_paks 0 total_rx_abort_paks 0 total_rx_crc10_cells 0 total_rx_tmout_paks 0 total_rx_unknown_paks 0 total_rx_out_buf_paks 0 total_rx_unknown_vc_paks 0 BATMAN Asic Register Values: hi_addr_reg 0x8000... SUNI-622 Framer Register Values: Master Rst and Ident/Load Meters Reg (#0x0): 0x10 Master Configuration Reg (#0x1): 0x1F Master Interrupt Status Reg (#0x2): 0x00 PISO Interrupt Reg (#0x3): 0x04 Master Auto Alarm Reg (#0x4): 0x03 Master Auto Alarm Reg (#0x5): 0x07 Parallel Output Port Reg (#0x6): 0x02 . txbuf_msk_addr 0x070C.

Troubleshooting Commands show controllers (line card image) The following is partial sample output from the show controllers command: Router# execute-on slot 6 show controllers Interface POS0 Hardware is BFLC POS lcpos_instance struct 60311B40 RX POS ASIC addr space 12000000 TX POS ASIC addr space 12000100 SUNI framer addr space 12000400 SUNI rsop intr status 00 CRC32 enabled.. addr=0x12000800: master reset C0 master config 1F master control 00 clock rcv cntrl D0 RACP control 84 rrate sts3c trate sts3c fixptr hcsadd tnull rrate sts3c trate sts3c fixptr Cisco IOS Configuration Fundamentals Command Reference FR-606 . addr=0x12000600: master reset C0 master config 1F master control 00 clock rcv cntrl D0 RACP control 84 RACP gfc control 0F TACP control status 04 RACP intr enable 04 RSOP cntrl intr enable 00 RSOP intr status 00 TPOP path sig lbl (c2) 13 SPTB control 04 SPTB status 00 Framer 2. int clock no loop . HDLC enc. Router# The following is partial sample output from the show controllers pos framers command: Router# execute-on slot 6 show controllers pos framers Framer 0. addr=0x12000400: master reset C0 master config 1F rrate sts3c trate sts3c fixptr master control 00 clock rcv cntrl D0 RACP control 84 RACP gfc control 0F TACP control status 04 hcsadd RACP intr enable 04 RSOP cntrl intr enable 00 RSOP intr status 00 TPOP path sig lbl (c2) 13 SPTB control 04 tnull SPTB status 00 Framer 1.. int clock no loop Interface POS1 Hardware is BFLC POS lcpos_instance struct 603142E0 RX POS ASIC addr space 12000000 TX POS ASIC addr space 12000100 SUNI framer addr space 12000600 SUNI rsop intr status 00 CRC32 enabled. HDLC enc.

Cisco IOS Configuration Fundamentals Command Reference FR-607 . Router# 0F 04 04 00 00 13 04 00 hcsadd tnull The following is partial sample output from the show controllers fia command: Router# execute-on slot 7 show controllers fia ========= Line Card (Slot 7) ======= Fabric configuration: Full bandwidth redundant Master Scheduler: Slot 17 From Fabric FIA Errors ----------------------redund fifo parity 0 crc32 lkup parity 0 0 1 --------------los 0 0 crc16 0 0 To Fabric FIA Errors ----------------------sca not pres 0 grant parity 0 cntrl parity 0 multi fifo 0 redund overflow 0 cell parity 0 2 3 --------------0 0 0 0 cell drops 0 crc32 0 4 -------0 0 req error multi req uni req empty dst req 0 0 0 0 uni fifo overflow uni fifo undrflow crc32 lkup parity handshake error 0 0 0 0 Related Commands Command clear controllers Description Resets the T1 or E1 controller...Troubleshooting Commands show controllers (line card image) RACP gfc control TACP control status RACP intr enable RSOP cntrl intr enable RSOP intr status TPOP path sig lbl (c2) SPTB control SPTB status .

including host addresses. Cisco IOS Configuration Fundamentals Command Reference FR-608 . 266 messages logged. and whether console logging is enabled.238 Table 75 describes significant fields shown in the display.2 Modification This command was introduced. Logging to 192. Examples The following is sample output from the show controllers logging command: Router# show controllers vip 4 logging Syslog logging: enabled Console logging: disabled Monitor logging: level debugging. Table 75 show controllers logging Field Descriptions Field Syslog logging Console logging Monitor logging Trap logging Description When enabled. it captures and saves the messages. Trap logging: level informational. states the level. Minimum level of severity required for a log message to be sent to a monitor terminal (not the console).Troubleshooting Commands show controllers logging show controllers logging To display logging information about a Versatile Interface Processor (VIP) card. 266 messages logged. show controllers vip slot-number logging Syntax Description vip slot-number VIP slot number. use the show controllers logging privileged EXEC command. system logging messages are sent to a UNIX host that acts as a syslog server. that is. If enabled. Usage Guidelines This command displays the state of syslog error and event logging.180. this field displays disabled. Minimum level of severity required for a log message to be sent to a syslog server. Related Commands Command show logging Description Displays the state of logging (syslog).2. Command Modes Privileged EXEC Command History Release 11. otherwise.

Use the show interfaces EXEC command to display ALC information.2 Modification This command was introduced. Displays memory used. Usage Guidelines Use this command to help collect general information about a VIP card when you are reporting a problem. This command displays the equivalent of the following show commands for the VIP card: • • • • • • • • show version more system:running-config show controllers show stacks show interfaces show buffers show processes memory show processes cpu For a sample display of the show controllers tech-support command output. Related Commands Command more system:running-config show buffers show controllers show interfaces show processes show processes memory show stacks Description Displays the running configuration. show controllers vip slot-number tech-support Syntax Description vip slot-number VIP slot number. Displays information that is specific to the hardware. Displays statistics for the buffer pools on the network server. refer to these show commands. use the show controllers tech-support privileged EXEC command.Troubleshooting Commands show controllers tech-support show controllers tech-support To display general information about a Versatile Interface Processor (VIP) card when reporting a problem. Monitors the stack usage of processes and interrupt routines. Command Modes Privileged EXEC Command History Release 11. Cisco IOS Configuration Fundamentals Command Reference FR-609 . Displays information about the active processes.

and the boot images.Troubleshooting Commands show controllers tech-support Command show tech-support show version Description Displays general information about the router when reporting a problem. the names and sources of configuration files. Cisco IOS Configuration Fundamentals Command Reference FR-610 . the software version. Displays the configuration of the system hardware.

Troubleshooting Commands show debugging show debugging To display information about the types of debugging that are enabled for your router.1 Modification This command was introduced. Router# show debugging CDP: CDP packet info debugging is on CDP events debugging is on CDP neighbor info debugging is on Related Commands Command debug Description Cisco IOS Configuration Fundamentals Command Reference FR-611 . three types of CDP debugging are enabled. Examples The following is sample output from the show debugging command. use the show debugging privileged EXEC command. In this example. show debugging Syntax Description This command has no arguments or keywords. Command Modes Privileged EXEC Command History Release 11.

7200. show diag [slot-number] [details] [summary] Syntax Description slot-number details summary (Optional) Slot number of the interface. Cisco 1750. This command was made available on Cisco 12000 series Gigabit Switch Routers. This command was integrated in Cisco IOS Release 12.1 CA.0 T. (Optional) Displays a summary (one line per slot) of the chassis. use the show diag command in privileged EXEC mode. Command Modes Privileged EXEC Command History Release 11. and PA-T3 port adapters. 11.2 P 11.2 11. This command integrated in Cisco IOS Release 11.0(5)XQ 12. and Cisco 12000 series GSRs. This command applies towards line cards in Cisco Universal Access Servers. Cisco IOS Configuration Fundamentals Command Reference FR-612 .2 GS 11. Usage Guidelines Use this command to determine the type of hardware installed in your router. (Optional) Displays more details than the normal show diag output.3 XA 12. This command was enhanced and made available on Cisco 1750 routers.Troubleshooting Commands show diag show diag To display hardware information including DRAM and Static RAM (SRAM) on line cards.0(7)T Modification This command was introduced.3 XA. PA-E3. This command was modified to show information for PA-12E/2FE. and 7500 series routers.

0D Fabric Downloader version used 00. 00-0000-00 rev 70 dev 0 HW config: 0x01 SW key: 00-00-00 PCA: 73-2147-02 rev 94 ver 2 HW version 1.0D (ROM version is 00.Troubleshooting Commands show diag Examples The following is sample output from the show diag command on a 12000 series GSR: Router# show diag 3 SLOT 3 (RP/LC 3 ): 4 Port Packet Over SONET OC-3c/STM-1 Multi Mode MAIN: type 33.1 S/N 04494882 Test hist: 0x00 RMA#: 00-00-00 RMA hist: 0x00 DIAG: Test count: 0x05000001 Test results: 0x00000000 MBUS Agent Software version 01.0 S/N 04499695 MBUS: MBUS Agent (1) 73-2146-05 rev 73 dev 0 HW version 1.27 (RAM) using CAN Bus A ROM Monitor version 00.0D) Board is analyzed Board State is Line Card Enabled (IOS RUN ) Insertion time: 00:00:10 (00:04:51 ago) DRAM size: 33554432 bytes FrFab SDRAM size: 67108864 bytes ToFab SDRAM size: 16777216 bytes Router# The following is sample output from the show diag summary command: Router# SLOT 0 SLOT 2 SLOT 4 SLOT 7 SLOT 9 SLOT 11 SLOT 16 SLOT 17 SLOT 18 SLOT 19 SLOT 20 SLOT 24 SLOT 26 SLOT 28 SLOT 29 Router# show diag summary (RP/LC 0 ): Route Processor (RP/LC 2 ): 4 Port Packet Over SONET (RP/LC 4 ): 4 Port Packet Over SONET (RP/LC 7 ): 4 Port Packet Over SONET (RP/LC 9 ): 4 Port Packet Over SONET (RP/LC 11): 4 Port Packet Over SONET (CSC 0 ): Clock Scheduler Card (CSC 1 ): Clock Scheduler Card (SFC 0 ): Switch Fabric Card (SFC 1 ): Switch Fabric Card (SFC 2 ): Switch Fabric Card (PS A1 ): AC Power Supply (PS B1 ): AC Power Supply (TOP FAN ): Blower Module (BOT FAN ): Blower Module OC-3c/STM-1 OC-3c/STM-1 OC-3c/STM-1 OC-3c/STM-1 OC-3c/STM-1 Single Single Single Single Single Mode Mode Mode Mode Mode Cisco IOS Configuration Fundamentals Command Reference FR-613 .

24 (RAM) Fabric Downloader version 00. 800-2389-01 rev 71 dev 16777215 HW config: 0x00 SW key: FF-FF-FF PCA: 73-2275-03 rev 75 ver 3 HW version 1.Troubleshooting Commands show diag The following is sample output from the show diag details command: Router# show diag 4 details SLOT 4 (RP/LC 4): 4 Port Packet Over SONET OC-3c/STM-1 Single Mode MAIN: type 33.0D Board is analyzed Flags: 0x4 Board State is Line Card Enabled (IOS RUN) Insertion time: 00:00:10 (00:04:51 ago) DRAM size: 33554432 bytes FrFab SDRAM size: 67108864 bytes ToFab SDRAM size: 16777216 bytes Cisco IOS Configuration Fundamentals Command Reference FR-614 .1 S/N 04529465 MBUS: MBUS Agent (1) 73-2146-06 rev 73 dev 0 HW version 1.1 S/N 04541395 Test hist: 0xFF RMA#: FF-FF-FF RMA hist: 0xFF DIAG: Test count: 0x05000001 Test results: 0x00000000 EEPROM contents (hex): 00: 01 00 01 00 49 00 08 62 06 03 00 00 00 FF FF FF 10: 30 34 35 34 31 33 39 35 FF FF FF FF FF FF FF FF 20: 01 01 00 00 00 00 00 FF FF FF FF FF FF FF FF FF 30: A5 FF A5 A5 A5 A5 FF A5 A5 A5 A5 A5 A5 A5 A5 A5 40: 00 21 01 01 00 49 00 08 E3 03 05 03 00 01 FF FF 50: 03 20 00 09 55 01 01 FF FF FF 00 FF FF FF FF FF 60: 30 34 35 32 39 34 36 35 FF FF FF FF FF FF FF FF 70: FF FF FF FF FF FF FF FF 05 00 00 01 00 00 00 00 MBUS Agent Software version 01.

HW rev 2.0 Board revision Serial number 2023387 Part number Test history 0x0 RMA number EEPROM format version 1 EEPROM contents (hex): 0x20: 01 01 01 00 00 1E DF DB 49 05 6F 03 00 0x30: A0 00 00 00 00 00 00 00 00 00 00 00 00 K0 73-1391-03 00-00-00 00 00 00 00 00 00 Cisco IOS Configuration Fundamentals Command Reference FR-615 . This card has two 4-port Token Ring port adapters located in port adapter bays 0 and 1. 4 ports EEPROM format version 1 HW rev 1. Board revision 0 Serial number: 02827613 Part number: 73-1390-04 PA Bay 1 Information: Token Ring PA. 8 ports Port adapter is analyzed Port adapter insertion time 1d18h ago Hardware revision 1. logical slot 8. Router# show diagbus 8 Slot 8: Physical slot 8. Board revision 88 Serial number: 02023786 Part number: 73-1390-04 The following is an example from the show diagbus command for the Ethernet interface in slot 2 on a Cisco 7200 series router: Router# show diagbus 2 Slot 2: Ethernet port adapter. 7500 compatible EEPROM contents (hex): 0x20: 01 15 02 02 00 32 FC 6A 49 06 94 02 00 00 00 00 0x30: 07 2B 00 2A 1A 00 00 00 00 00 00 00 00 00 00 00 Slot database information: Flags: 0x4 Insertion time: 0x3188 (01:20:53 ago) Controller Memory Size: 8 MBytes PA Bay 0 Information: Token Ring PA. 4 ports EEPROM format version 1 HW rev 1. board revision UNKNOWN Serial number: 03341418 Part number: 73-1684-02 Test history: 0x00 RMA number: 00-00-00 Flags: cisco 7000 board. CBus 0 Microcode Status 0x4 Master Enable.1.1. WCS Loaded Board is analyzed Pending I/O Status: None EEPROM format version 1 VIP2 controller. LED.Troubleshooting Commands show diag The following is an example for the Cisco 7513 router with a VIP2 in slot 8.2. ~physical slot 0x7.

and blower speeds. the current environmental parameters are displayed.Troubleshooting Commands show environment show environment To display temperature. If a measurement exceeds desired margins. power-supply. but warnings for a given test point are printed at most once every hour for sensor readings in the warning range and once every 5 minutes for sensor readings in the critical range. If a measurement is out of line Cisco IOS Configuration Fundamentals Command Reference FR-616 . hardware. (Optional) Displays blower and fan information. voltage. a warning message is printed to the system console. voltage readings. Cisco 7500 series routers. (Optional) Displays temperature information. The system software queries the sensors for measurements once a minute. (Optional) Displays hardware-specific information. leds. (Optional) Displays a detailed listing of the power supplies. (Optional) Displays information on the last measurement made. Defaults If no options are specified. This buffer is displayed on the console when show environment is invoked. fans. (Optional) Displays voltage information. (Optional) Displays power supply voltage and current information. (Optional) Displays the status of the MBus LEDs on the clock and scheduler cards and switch fabric cards. (Optional) Displays the temperature. use the show environment privileged EXEC command.2 GS Modification This command was introduced. Cisco 7200 series. Usage Guidelines Once a minute a routine is run that gets environmental measurements from sensors and stores the output into a buffer.0 11. and Cisco 12000 series Gigabit Switch Routers (GSRs). Command Modes Privileged EXEC Command History Release 10. and blower thresholds. and blower information on the Cisco 7000 series. show environment [alarms | all | fans | hardware | last | leds | power-supply | table | temperatures | voltages] Syntax Description alarms all fans hardware last leds power-supply table temperature voltages (Optional) Displays the alarm contact information. voltage. table temperature. and voltages keywords were added for Cisco 12000 series Gigabit Switch Routers. temperature readings. but has not exceeded fatal margins. The alarms.

If a shutdown occurs because of detection of fatal environmental margins. If environmental measurements are not within specification. refresh in 53 second(s) All Environmental Measurements are within specifications Table 76 describes the fields shown in the display. refresh in. This information may vary slightly depending on the platform you are using. Check cooling systems Note Blower temperatures that exceed environmental conditions do not generate a warning message. Table 76 show environment Field Descriptions Field Environmental status as of.. The date and time of the query are displayed.. along with the data refresh information and a message indicating that there are no warning conditions. Status message The Cisco 7000 Series The following are examples of messages that display on the system console when a measurement has exceeded an acceptable margin: ENVIRONMENTAL WARNING: Air flow appears marginal.Troubleshooting Commands show environment within these time segments. an automatic warning message appears on the console. Examples The following example shows the typical show environment display when there are no warning conditions in the system for the Cisco 7000 series and Cisco 7200 series. warning messages are displayed. If the Cisco 12000 series exceeds environmental conditions. a message similar to the following is displayed on the console: %GSR_ENV-2-WARNING: Slot 3 Hot Sensor Temperature exceeds 40 deg C. For environmental specifications.. Environmental measurements are output into a buffer every 60 seconds. you can query the environmental status with the show environment command at any time to determine whether a measurement is at the warning or critical tolerance. ENVIRONMENTAL WARNING: Internal temperature measured 41. Description Current date and time.310(V) The system displays the following message if voltage or temperature exceed maximum margins: SHUTDOWN: air flow problem Cisco IOS Configuration Fundamentals Command Reference FR-617 . Data is.. unless other higher-priority processes are running. As noted. the last measured value from each sensor is stored in internal nonvolatile memory. refer to the hardware installation and configuration publication for your individual chassis..3(C) ENVIRONMENTAL WARNING: +5 volt testpoint measured 5... Router> show environment Environmental Statistics Environmental status as of 13:17:39 UTC Thu Jun 6 1996 Data is 7 second(s) old.

Type of power supply installed and its status (On or Off). ON Last on 23:07:05 UTC Mon Jun 10 1996 Airflow temperature measured at 38(C) Inlet temperature measured at 25(C) Table 77 describes the fields shown in the display. unless other higher-priority processes are running.. refresh in 54 second(s) WARNING: Lower Power Supply is NON-OPERATIONAL Lower Power Supply:700W.96(V) at -12.. OFF Intermittent Powerfail(s): 2 +12 +5 -12 +24 volts volts volts volts measured measured measured measured at 12. Type of power supply installed and its status (On or Off). and the lower power supply is not functioning.. warning messages are displayed. Number of power hits (not resulting in shutdown) since the system was last booted.. there have been two intermittent power failures since a router was turned on. WARNING: Lower Power Supply Upper Power Supply Intermittent Powerfail(s) Voltage specifications Airflow and inlet temperature Cisco IOS Configuration Fundamentals Command Reference FR-618 . 1996. Description Date and time of last query. If environmental measurements are not within specification. Environmental measurements are output into a buffer every 60 seconds. Table 77 show environment all Field Descriptions for the Cisco 7000 Field Environmental status as of. at 11:07 p. June 10..Troubleshooting Commands show environment In the following example.80(V) Upper Power Supply: 700W. 7000# show environment all Environmental Statistics Environmental status as of 23:19:47 UTC Wed Jun 12 1996 Data is 6 second(s) old.. The last intermittent power failure occurred on Monday. Data is.m. refresh in..05(V) at 4. System voltage measurements. Temperature of air coming in and going out.05(V) at 23.

The router retrieves the environmental statistics at the time of the last shutdown..m.98(V) at -12.. May 19. Table 78 show environment last Field Descriptions for the Cisco 7000 Field Environmental status as of.Troubleshooting Commands show environment The following example is for the Cisco 7000 series router. If environmental measurements are not within specification. warning messages are displayed.. Environmental measurements are output into a buffer every 60 seconds. OFF No Intermittent Powerfails +12 +5 -12 +24 volts volts volts volts measured measured measured measured at 12... Displays test point values at time of the last environmental shutdown. For the Cisco 7000.00(V) at 23.. For the Cisco 7010. the last shutdown was Friday. unless other higher-priority processes are running. at 12:40 p. refresh in 54 second(s) WARNING: Upper Power Supply is NON-OPERATIONAL LAST Environmental Statistics Environmental status as of 12:40:00 UTC Fri May 19 1995 Lower Power Supply: 700W. refresh in. indicates the status of the two 700W power supplies. so the environmental statistics at that time are displayed. Router# show environment last Environmental Statistics Environmental status as of 14:47:00 UTC Sun May 21 1995 Data is 6 second(s) old. In this example..05(V) at 4. WARNING: LAST Environmental Statistics Lower Power Supply: Upper Power Supply: Cisco IOS Configuration Fundamentals Command Reference FR-619 . Data is. 1995. indicates the status of the single 600W power supply.80(V) Airflow temperature measured at 30(C) Inlet temperature measured at 23(C) Table 78 describes the fields shown in the display.. ON Upper Power Supply: 700W. Description Current date and time.

80 5. In this example. The Cisco 7200 Series The system displays the following message if the voltage or temperature enters the “Warning” range: %ENVM-4-ENVWARN: Chassis outlet 3 measured at 55C/131F The system displays the following message if the voltage or temperature enters the “Critical” range: %ENVM-2-ENVCRIT: +3. and the inlet temperature.00(V) 13. Router> show environment table Environmental Statistics Environmental status as of Mon 11-2-1992 17:43:36 Data is 52 second(s) old. Out-of-tolerance condition exists.00 12.26 -13. Air being measured. refresh in 8 second(s) WARNING: Lower Power Supply is NON-OPERATIONAL WARNING: Airflow temperature has reached CRITICAL level at 73(C) WARNING: Inlet temperature has reached WARNING level at 41(C) Voltage Parameters: SENSE CRITICAL NORMAL CRITICAL -------|--------------------|------------------------|-------------------+12(V) +5(V) -12(V) +24(V) Temperature Parameters: SENSE WARNING NORMAL WARNING CRITICAL SHUTDOWN -------|-------------|------------|-------------|--------------|----------Airflow Inlet 10 10 60 39 70 46 73(C) 88 64 10. Processor has detected condition that could cause physical damage to the system.98(V) -12. and Airflow measures the temperature of the air inside the chassis.20 4.74 -10. Table 79 show environment Field Descriptions for the Cisco 7000 Field SENSE (Voltage Parameters) SENSE (Temperature Parameters) WARNING NORMAL CRITICAL SHUTDOWN Description Voltage specification for DC line. System is approaching an out-of-tolerance condition. All monitored conditions meet normal requirements.20 20.00 41(C) Table 79 describes the fields shown in the display. There are three warning messages: one each about the lower power supply. airflow temperature is at a critical level.Troubleshooting Commands show environment The following sample output shows the current environmental status in tables that list voltage and temperature parameters. Inlet measures the air coming in.45 V measured at +3.65 V Cisco IOS Configuration Fundamentals Command Reference FR-620 . voltage parameters are shown to be in the normal range.80 28.05(V) 24. and inlet temperature is at the warning level.05(V) 4. the airflow temperature.

%ENVM-6-PSCHANGE: Power Supply 1 changed from Zytek AC Power Supply to removed The following message is sent to the console if a power supply has been powered on or off. This message relates only to systems that have two power supplies.09 V +12. %ENVM-6-PSLEV: Power Supply 1 state changed from normal to shutdown The following is sample output from the show environment all command on the Cisco 7200 series router when there is a voltage warning condition in the system: 7200# show environment all Power Supplies: Power supply 1 is unknown.45 V measured +5. Table 80 show environment all Field Descriptions for the Cisco 7200 Field Power Supplies: Temperature readings: Voltage readings: Description Current condition of the power supplies including the type and whether the power supply is on or off.15 V measured +12. This message relates only to systems that have two power supplies.95 measured measured measured measured measured at at at at at at at at 25C/77F 29C/84F 36C/96F 44C/111F +3.Troubleshooting Commands show environment The system displays the following message if the voltage or temperature exceeds the maximum margins: %ENVM-0-SHUTDOWN: Environmental Monitor initiated shutdown The following message is sent to the console if a power supply has been inserted or removed from the system. Current measurements of the chassis temperature at the inlet and outlet locations. Temperature readings: chassis inlet chassis outlet 1 chassis outlet 2 chassis outlet 3 Voltage readings: +3. Current measurement of the power supply test points. Unit is off. Power supply 2 is Zytek AC Power Supply.10 V Table 80 describes the fields shown in the display.83 V:Voltage in Warning range! +5.15 measured -11. this message can be due to the user shutting off the power supply or to a failed power supply. Unit is on.42 V -12. Cisco IOS Configuration Fundamentals Command Reference FR-621 . In the case of the power supply being shut off.

Temperature measurements at the outlet areas of the chassis.61 +10.60 -15.10 +12.3 V +5.92 12.65 11.15 V +4.10 +4. the system is approaching shutdown.67 +13. Possible shutdown reasons are power supply shutdown.57 Table 82 describes the fields shown in the display.15 V +9. Level at which a critical message is issued for an out-of-tolerance voltage condition.Troubleshooting Commands show environment The following example is for the Cisco 7200 series router. and critical voltage.91 -9.80 +5.0 V inlet outlet 1 outlet 2 outlet 3 previously previously previously previously previously previously previously previously measured measured measured measured measured measured measured measured at at at at at at at at 27C/80F 31C/87F 37C/98F 45C/113F 4.37 -14. Power supply test point measurements. Table 82 show environment table Field Descriptions for the Cisco 7200 Field Sample Point LowCritical Description Area for which measurements are taken. Table 81 show environment last Field Descriptions for the Cisco 7200 Field chassis inlet chassis outlet voltages last shutdown reason Description Temperature measurements at the inlet area of the chassis.95 V -8.37 Shutdown system at 70C/158F LowWarning HighWarning 40C/104F 43C/109F 75C/167F 55C/131F +3. This example shows the measurements immediately before the last shutdown and the reason for the last shutdown (if appropriate).34 HighCritical 50C/122F 53C/127F 75C/167F 65C/149F +4.72 -11.0 V -12. 7200# show environment last chassis chassis chassis chassis +3. This information lists the temperature and voltage shutdown thresholds for each sensor.53 +3. The system continues to operate.power supply shutdown Table 81 describes the fields shown in the display.76 +5.02 4.17 +14.45 V +2. The following example is for the Cisco 7200 series router.0 V +12. critical temperature.71 last shutdown reason . however. 7200# show environment table Sample Point LowCritical chassis inlet chassis outlet 1 chassis outlet 2 chassis outlet 3 +3.14 +6. Cisco IOS Configuration Fundamentals Command Reference FR-622 .

the Cisco 7513). The system continues to operate. power supply #2 is removed (id 7) Active fault conditions: none Fan transfer point: 100% Active trip points: Restart_Inhibit 15 of 15 soft shutdowns remaining before hard shutdown 1 0123456789012 X XX X inlet 35C/95F 35C/95F hotpoint 47C/116F 43C/109F exhaust 40C/104F 39C/102F Dbus slots: card RSP(6) RSP(7) Shutdown temperature source is ‘hotpoint’ on RSP(6).Troubleshooting Commands show environment Table 82 show environment table Field Descriptions for the Cisco 7200 (continued) Field LowWarning Description Level at which a warning message is issued for an out-of-tolerance voltage condition.31 +5V measured at 5.08 +2. For the chassis.42 A (capacity 3 A) Table 83 describes the fields shown in the display. requested RSP(6) +12V measured at 12. the power supply is shut down. For the power supply. but operator action is recommended to bring the system back to a normal state. The system continues to operate. Level at which a warning message is issued. the router is shut down. Level at which a critical message is issued.49 PS1 PS1 PS1 PS1 +5V Current +12V Current -12V Current output is 378 W measured at 59.5 reference is 2.08 A (capacity 35 A) measured at 0. backplane type 7513 (id 2) Power supply #1 is 1200W AC (id 1). but operator action is recommended to bring the system back to a normal state. The following is sample output from the show environment all command on the Cisco 7500 series router: 7500# show environment all Arbiter type 1.61 A (capacity 200 A) measured at 5. The system is shut down if the specified temperature is met. HighWarning HighCritical Shutdown system at Cisco 7500 Series The sample output for the Cisco 7500 series routers may vary depending on the specific model (for example.21 -12V measured at -12. Cisco IOS Configuration Fundamentals Command Reference FR-623 .07 +24V measured at 22.

which requires a power cycle to recover. If the router is operating below its automatic restart temperature. fans. Temperature sensor is compared against the values displayed at the bottom of the show environment table command output. the transfer point is reduced by 10 percent of the full range each minute. the system performs a hard shutdown. Temperature measurements at the inlet. Software controlled fan speed. fan failure. If the router is at or above its automatic restart temperature. If any fault conditions exist (such as power supply failure. Dual-RSP chassis can show two RSPs. Dbus slots: card. they are listed here. the cards are shut down.5) Power supply current (PS1) Cisco IOS Configuration Fundamentals Command Reference FR-624 . hotpoint. Number and type of power supply installed in the chassis. Indicates which of the three temperature sources is selected for comparison against the “shutdown” levels listed with the show environment table command. hotpoint. the system restarts. The (6) and (7) indicate the slot numbers. the transfer point is increased in the same way. When the system cools to the restart level. exhaust Indicates which chassis slots are occupied. +24V. Shutdown temperature source Voltages (+12V. and temperature too high). and the power supplies. +5V. inlet. and exhaust areas of the card. -12V. The soft shutdown counter is reset to its maximum value after the system has been up for 6 hours. Fan transfer point: Active trip points: 15 of 15 soft shutdowns remaining When the temperature increases above the “board shutdown” level. When the counter reaches zero. +2. a soft shutdown occurs (that is. and CI continue to operate). Current measured on the power supply. The system counts the number of times this occurs and keeps the up/down cycle from continuing forever.Troubleshooting Commands show environment Table 83 show environment all Field Descriptions for the Cisco 7500 Field Arbiter type 1 Power supply Active fault conditions: Description Numbers indicating the arbiter type and backplane type. Voltages measured on the backplane.

26 5. The system continues to operate.25 26.76 +24 Voltage 20. The system continues to operate.86 27. There are two level of messages: warning and critical. Hotpoint.43 Shutdown boards at 70C/158F Shutdown power supplies at 76C/168F Restart after shutdown below 40C/104F HighWarning 44C/111F 54C/129F 12. however.46 -13.15 -10.Troubleshooting Commands show environment The following example is for the Cisco 7500 series router. Voltages measured on the backplane.51 HighCritical 50C/122F 60C/140F 13. This example shows the measurements immediately before the last shutdown.17 -12.42 2. but operator action is recommended to bring the system back to a normal state. 7500# show environment last RSP(4) Inlet RSP(4) Hotpoint RSP(4) Exhaust +12 Voltage +5 Voltage -12 Voltage +24 Voltage previously previously previously previously previously previously previously measured measured measured measured measured measured measured at at at at at at at 37C/98F 46C/114F 52C/125F 12. and exhaust areas of the card. This information lists the temperature and voltage thresholds for each sensor.38 5. Level at which a critical message is issued for an out-of-tolerance voltage condition. hotpoint.38 21. Table 84 show environment last Field Descriptions for the Cisco 7500 Field RSP(4) Inlet.82 5.61 +5 Voltage 4.51 2. 7500# show environment table Sample Point LowCritical LowWarning RSP(4) Inlet RSP(4) Hotpoint RSP(4) Exhaust +12 Voltage 10. Level at which a warning message is issued for an out-of-tolerance voltage condition.78 Table 84 describes the fields shown in the display. LowWarning Cisco IOS Configuration Fundamentals Command Reference FR-625 .90 11. Exhaust Voltages Description Temperature measurements at the inlet. These thresholds indicate when error messages occur.70 -13.61 4.5 Reference 2. Table 85 show environment table Field Descriptions for the Cisco 7500 Field Sample Point LowCritical Description Area for which measurements are taken.94 -12 Voltage -10.03 23.65 Table 85 describes the fields shown in the display. the system is approaching shutdown. The following example is for the Cisco 7500 series router.

5 31.5 34. 28.5 17 3292 NA 5056 40. Try the command again. and slots 28 and 29 are the blowers. An “NA” in the table means that no values was returned. The system is shut down if the specified temperature is met. slots 16 and 17 are the clock and scheduler cards. slots 24 through 26 are the power supplies. The following is sample output from the show environment command for a Cisco 12012.0 16 3308 NA 5056 42. Level at which a critical message is issued.5 11 3288 4992 5152 40. “NA” indicates the reading could not be obtained. For the power supply.0 4 3280 4992 5120 38.5 19 3300 NA 5184 37. Cisco IOS Configuration Fundamentals Command Reference FR-626 . The system continues to operate. slots 18 through 20 are the switch fabric cards.5 24 NA 5536 5120 NA 26 NA 5544 5128 NA 28 NA NA 5128 NA 29 NA NA 5104 NA Slot # 24 26 Slot # 28 29 Router# 48V (Volt) 46 46 Fan 0 (RPM) 2160 2130 AMP_48 (Amp) 12 19 Fan 1 (RPM) 2190 2190 Fan 2 (RPM) 2160 2070 Inlet Sensor (deg C) 37.0 36. the power supply is shut down. and 29 do not have a 3V power supply so an NA is displayed).0 33. the power supply and blowers in slots 24. 26. HighCritical Shutdown boards at Shutdown power supplies at Restart after shutdown Cisco 12000 Series GSR The following examples are for the Cisco 12000 series Gigabit Switch Routers.0 33.0 31.5 7 3280 4984 5136 42. In some cases it is because the equipment is not supported for that environmental parameter (for example.0 31.5 20 3304 NA 5168 36.5 38. but operator action is recommended to bring the system back to a normal state. The system will restart when the specified temperature is met. Router# show environment Slot # 3V 5V MBUS 5V Hot Sensor (mv) (mv) (mv) (deg C) 0 3300 4992 5040 42.5 18 3304 NA 5176 36.0 31.0 9 3292 4968 5160 39. Slots 0 through 11 are the line cards.5 32. The card is shut down if the specified temperature is met.0 2 3296 4976 5136 40. the router is shut down.Troubleshooting Commands show environment Table 85 show environment table Field Descriptions for the Cisco 7500 (continued) Field HighWarning Description Level at which a warning message is issued.5 NA NA Table 86 describes the fields shown and lists the equipment supported by each environmental parameter.5 30.5 35. For the chassis.

Router# show environment all Slot # Hot Sensor Inlet Sensor (deg C) (deg C) 2 31.5 21. and 29. Measures the temperature at the hot sensor on the card. and power supplies. GRP card. and slots 24 and 26 are the power supplies.0 19 22. slots 18 through 20 are the switch fabric cards. GRP card. switch fabric cards. clock and scheduler cards. The following is sample output from the show environment all command for the Cisco 12008. The Cisco 12008 does not support slots 25. Measures the 5-volt power supply on the card.Troubleshooting Commands show environment Table 86 show environment Field Descriptions for Cisco 12000 Field Slot # Description Slot number of the equipment. slots 0 through 11 are the line cards. The inlet sensor is on the line cards. Slots 0 through 7 are the line cards. The hot sensor is on the line cards. The 5-volt MBus is on all equipment. slots 24 through 27 are the power supplies. switch fabric cards. An “NA” in the table means that no values was returned. GRP card. slots 18 through 20 are the switch fabric cards. and power supplies.0 5 33.0 22.0 24 NA 29. so an NA is displayed). the power supplies in slots 24 and 26 do not have a hot sensor.5 Slot # 2 5 16 18 19 3V (mv) 3292 3292 3272 3300 3316 5V (mv) 5008 5000 NA NA NA MBUS 5V (mv) 5136 5128 5128 5128 5128 Cisco IOS Configuration Fundamentals Command Reference FR-627 .5 26. 48V (Volt) AMP_48 (Amp) Fan 0.0 21. Measures the fan speed in rotations per minute. The 5-volt power supply is on the line cards. GRP card. 27.5 26 NA 24. Measures the 5-volt MBus on the card. Measures the AC power supplies.5 21. Fan 1. slots 16 and 17 are the clock scheduler cards (the clock scheduler cards control the fans). The 3-volt power supply is on the line cards. Fan 2 Measures the DC power supplies. Measures the 3-volt power supply on the card. and slots 28 and 29 are the blowers. 3V (mv) 5V (mv) MBUS 5V (mv) Hot Sensor (deg C) Inlet Sensor (deg C) Measures the current inlet temperature on the card. In some cases it is because the equipment is not supported for that environmental parameter (for example. clock and scheduler cards. and switch fabric cards. On the Cisco 12012. clock and scheduler cards. 28. slots 16 and 17 are the clock and scheduler cards.5 16 25.5 18 22. and blowers.

and shutdown limits on your system and includes the GRP card and line cards (slots 0-15). switch fabric cards (slots 18-20). and blowers. clock and scheduler cards (slots 16-17). The show environment table command lists the warning.Troubleshooting Commands show environment Slot # 24 26 Slot # 16 5V (mv) 0 5544 MBUS 5V 48V (mv) (Volt) 5096 3 5144 47 AMP_48 (Amp) 0 3 Fan Information Voltage 16V Speed slow: Main Fans Ok Power Supply fans Ok Alarm Indicators No alarms Slot # 16 18 19 24 26 Card Specific Leds Mbus OK SFCs Failed Mbus OK Mbus OK Input Failed Input Ok The following is sample output from the show environment table command for a Cisco 12012. Router# show environment table Hot Sensor Temperature Limits (deg C): Warning Critical Shutdown GRP/GLC (Slots 0-15) 40 46 57 CSC (Slots 16-17) 46 51 65 SFC (Slots 18-20) 41 46 60 Inlet Sensor Temperature Limits (deg C): Warning Critical Shutdown GRP/GLC (Slots 0-15) 35 40 52 CSC (Slots 16-17) 40 45 59 SFC (Slots 18-20) 37 42 54 3V Ranges (mv): Warning Below Above 3200 3400 3200 3400 3200 3400 Critical Below Above 3100 3500 3100 3500 3100 3500 Shutdown Below Above 3050 3550 3050 3550 3050 3550 GRP/GLC (Slots 0-15) CSC (Slots 16-17) SFC (Slots 18-20) 5V Ranges (mv): GRP/GLC (Slots 0-15) MBUS_5V Ranges (mv): Warning Below Above 4850 5150 Critical Below Above 4750 5250 Shutdown Below Above 4680 5320 GRP/GLC (Slots 0-15) CSC (Slots 16-17) SFC (Slots 17-20) Warning Below Above 5000 5250 4820 5150 5000 5250 Critical Below Above 4900 5350 4720 5250 4900 5350 Shutdown Below Above 4750 5450 4750 5450 4750 5450 Cisco IOS Configuration Fundamentals Command Reference FR-628 . critical.

scheduler. The show environment leds command lists the status of the MBus LEDs on the clock.Troubleshooting Commands show environment Blower Operational Range (RPM): Top Blower: Warning Below 1000 1000 1000 Critical Below 750 750 750 Fan 0 Fan 1 Fan 2 Bottom Blower: Fan 0 Fan 1 Fan 2 Warning Below 1000 1000 1000 Critical Below 750 750 750 The following is sample output from the show environment leds command for a Cisco 12012. Router# 16 leds 18 leds 19 leds 20 leds show Mbus Mbus Mbus Mbus environment leds OK OK OK OK Cisco IOS Configuration Fundamentals Command Reference FR-629 . and the switch fabric cards.

Command Modes EXEC Command History Release 11.Troubleshooting Commands show gsr show gsr To display hardware information on the Cisco 12000 series Gigabit Switch Routers (GSRs). Examples The following is sample output from the show gsr command for a Cisco 12012. Router# show gsr Slot 0 type = Route Processor state = IOS Running MASTER Slot 7 type = 1 Port Packet Over SONET OC-12c/STM-4c state = Card Powered Slot 16 type = Clock Scheduler Card state = Card Powered PRIMARY CLOCK The following is sample output from the show gsr chassis-info command for a Cisco 12012: Router# show gsr chassis-info Backplane NVRAM [version 0x20] Contents Chassis: type 12012 Fab Ver: 1 Chassis S/N: ZQ24CS3WT86MGVHL PCA: 800-3015-1 rev: A0 dev: 257 HW ver: 1. use the show gsr EXEC command.2 GS Modification This command was added to support the Cisco 12000 series Gigabit Switch Routers.0 Backplane S/N: A109EXPR75FUNYJK MAC Addr: base 0000. this option includes hexadecimal output of the backplane NVRAM information. This command shows the type and state of the card installed in the slot. Usage Guidelines Use this command to determine the type of hardware installed in your Cisco 12000 series GSR router. (Optional) In addition to the information displayed. show gsr [chassis-info [details]] Syntax Description chassis-info details (Optional) Displays backplane NVRAM information.34FF block size: 1024 RMA Number: 0x5F-0x2D-0x44 code: 0x01 hist: 0x1A Cisco IOS Configuration Fundamentals Command Reference FR-630 .EAB2.

Usage Guidelines This command displays information about the CPU interface. show gt64010 Syntax Description This command has no arguments or keywords. DRAM/device address space. Cisco IOS Configuration Fundamentals Command Reference FR-631 . timers and counters. The information is generally useful for diagnostic tasks performed by technical support only.2 Modification This command was introduced. and PCI internal registers. use the show gt64010 EXEC command. device parameters. DMA channels. Command Modes EXEC Command History Release 11.Troubleshooting Commands show gt64010 (Cisco 7200 series) show gt64010 (Cisco 7200 series) To display all GT64010 internal registers and interrupt status on the Cisco 7200 series routers.

thread_end=0x6088CEAC backup_thread=0x0. 0x80030000 0xFFFFFFFF : 0x00000000 0x07000000 0x08000000 0x0F000000 0xD0000000 0x74000000 0xF8000000 0x7E000000 0x00080000 0x00000000 0x00020000 0x7F000000 0xA0000000 (b/s 0x00000380) (b/s 0xFFFFFFFF) (b/s (b/s (b/s (b/s (b/s (b/s (b/s (b/s (b/s (b/s (b/s (b/s (b/s 0x00000000) 0x00000007) 0x00000008) 0x0000000F) 0x000000D0) 0x00000074) 0x000000F8) 0x0000007E) 0x00000800) 0x00000000) 0x00000200) 0x0000007F) 0x000000A0) : 0x00000000 (b/s 0x00000000) : 0x00000000 (b/s 0x00000000) Cisco IOS Configuration Fundamentals Command Reference FR-632 . dma_done=0x6088CECC thread=0x6088CEAC..Troubleshooting Commands show gt64010 (Cisco 7200 series) Examples The following is a partial sample output for the show gt64010 command: Router# show gt64010 GT64010 Channel 0 DMA: dma_list=0x6088C3EC. dma_complete=6231.. dma_entries=256 dma_free=0x6088CECC. backup_thread_end=0x0 dma_working=0. post_coalesce_frames=6231 exhausted_dma_entries=0. post_coalesce_callback=6231 GT64010 Register Dump: Registers at 0xB4000000 CPU Interface: cpu_interface_conf : addr_decode_err : Processor Address Space ras10_low : ras10_high : ras32_low : ras32_high : cs20_low : cs20_high : cs3_boot_low : cs3_boot_high : pci_io_low : pci_io_high : pci_mem_low : pci_mem_high : internal_spc_decode : bus_err_low bus_err_high . dma_ring=0x4B018480. dma_reqt=0x6088CECC.

Troubleshooting Commands show logging show logging To display the state of logging (syslog). it captures and saves the messages. system logging messages are sent to a UNIX host that acts as a syslog server. use the show logging privileged EXEC command. summary Command Modes Privileged EXEC Command History Release 10. Cisco IOS Configuration Fundamentals Command Reference FR-633 . If enabled. (Optional) Displays counts of messages by type for each line card. retransmission after 30 seconds 0 messages logged Router# Table 87 describes significant fields shown in the display. show logging [ slot slot-number | summary] Syntax Description slot slot-number (Optional) Displays information in the syslog history table for a specific line card. states the level. 266 messages logged. including host addresses. this field displays disabled. Trap logging: level informational. Table 87 show logging in Field Descriptions Field Syslog logging Console logging Description When enabled. Examples The following is sample output from the show logging command: Router# show logging Syslog logging: enabled Console logging: disabled Monitor logging: level debugging. Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. and whether console logging is enabled.238 SNMP logging: disabled. Logging to 192. that is.2 GS Modification This command was introduced. otherwise.180.0 11. Usage Guidelines This command displays the state of syslog error and event logging. The slot and summary keywords were added for Cisco 12000 Series platforms.2. This command also displays Simple Network Management Protocol (SNMP) configuration parameters and protocol activity. 266 messages logged.

| . Indicates a debugging message. EMERG ALERT CRIT ERROR WARNING NOTIFICE INFO DEBUG Cisco IOS Configuration Fundamentals Command Reference FR-634 . 4 warning messages. A number in the column indicates that the syslog contains that many messages for the line card. Indicates immediate action is needed. | . and 47 notification messages. | . An asterisk next to the slot number indicates the GRP card whose error message counts are not displayed. line card in slot 9 has 1 error message. Indicates a warning condition. use the show logging command. | . Indicates a critical condition. Indicates an informational message only. and the retransmission interval. For example. | | 1 | | | | | | | | | | 2 | | | | 1 | 4 | 45 | | | | 3 | | | | | | | | | | 4 | | | | 5 | 4 | 54 | | | | 5 | | | | | | | | | | 6 | | | | | | | | | | 7 | | | | 17 | 4 | 48 | | | | 8 | | | | | | | | | | 9 | | | | 1 | 4 | 47 | | | | 10 | | | | | | | | | | 11 | | | | 12 | 4 | 65 | | | +-----+-------+-------+-------+-------+-------+-------+-------+-------+ Router# Table 88 describes the logging level fields shown in the display. Indicates an error condition. Minimum level of severity required for a log message to be sent to a syslog server. | . For information on the GRP card. | . | .Troubleshooting Commands show logging Table 87 show logging in Field Descriptions Field Monitor logging Trap logging SNMP logging Description Minimum level of severity required for a log message to be sent to a monitor terminal (not the console). Indicates the system is unusable. Shows whether SNMP logging is enabled and the number of messages logged. Router# show logging summary +-----+-------+-------+-------+-------+-------+-------+-------+-------+ SLOT | EMERG | ALERT | CRIT | ERROR |WARNING| NOTICE| INFO | DEBUG | +-----+-------+-------+-------+-------+-------+-------+-------+-------+ |* 0* | . Table 88 show logging summary Field Descriptions Field SLOT Description Indicates the slot number of the line card. Indicates a normal but significant condition. The following is sample output from the show logging summary command on a Cisco 12012.

This command limits the logging messages displayed on terminal lines other than the console line to messages with a level at or above level. Logs messages to an internal buffer on a line card. Changes the number of syslog messages stored in the history table of the router.Troubleshooting Commands show logging Related Commands Command clear logging logging history size logging linecard Description Clears messages from the logging buffer. Cisco IOS Configuration Fundamentals Command Reference FR-635 .

In this example.Troubleshooting Commands show logging history show logging history To display information about the state of the syslog history table. use the show logging history privileged EXEC command. Command Modes Privileged EXEC Command History Release 10. Usage Guidelines This command displays information about the syslog history table. saving level notifications or higher 0 messages ignored. Examples The following example shows sample output from the show logging history command. such as the table size.0 Modification This command was introduced. SNMP notifications not enabled entry number 16: SYS-5-CONFIG_I Configured from console by console timestamp: 1110 Router# Table 88 describes the significant fields shown in the output. Set with the logging history size command. and text of messages stored in the table. 0 dropped. Router# show logging history Syslog History Table: 1 maximum table entries. Cisco IOS Configuration Fundamentals Command Reference FR-636 . The severity level can be configured with the logging history command. 15 table entries flushed. notifications of severity level 5 (notifications) through severity level 0 (emergencies) are configured to be written to the logging history table. Table 89 show logging history Field Descriptions Field maximum table entry Description Number of messages that can be stored in the history table. show logging history Syntax Description This command has no arguments or keywords. the status of messages. saving level notifications <x> or Level of messages that are stored in the history table and sent higher to the SNMP server (if SNMP notification is enabled). Messages stored in the table are governed by the logging history global configuration command.

Troubleshooting Commands show logging history Table 89 show logging history Field Descriptions (continued) Field messages ignored Description Number of messages not stored in the history table because the severity level is greater than that specified with the logging history command. dropped table entries flushed SNMP notifications entry number: timestamp Related Commands Command clear logging logging history logging history size logging linecard Description Clears messages from the logging buffer. Cisco IOS Configuration Fundamentals Command Reference FR-637 . Dropped messages do not appear in the history table and are not sent to the SNMP server. Limits syslog messages sent to the router's history table to a specified severity level. snmp-server enable traps The [no] snmp-server enable traps syslog form of this command controls (enables or disables) the sending of system-logging messages to a network management station. based on the up time of the router. This command limits the logging messages displayed on terminal lines other than the console line to messages with a level at or above level. The sending of syslog traps are enabled or disabled through the snmp-server enable traps syslog command. Number of messages that have been removed from the history table to make room for newer messages. the message name (CONFIG_I). the message "SYS-5-CONFIG_I Configured from console by console" indicates a syslog message consisting of the facility name (SYS). Whether syslog traps of the appropriate level are sent to the SNMP server. Changes the number of syslog messages that can be stored in the history table. Number of the message entry in the history table. that the message was generated. Number of messages that could not be processed due to lack of system resources. Time. which indicates where the message came from. the severity level (5) of the message. and the message text. In the example above. Logs messages to an internal buffer on a line card.

Usage Guidelines The show memory command displays information about memory available after the system image decompresses and loads. (Optional) Displays free memory statistics. use the show memory EXEC command. Command Modes EXEC Command History Release 10. multibus. Examples The following is sample output from the show memory command: Router# show memory Head B0EE38 Total(b) 5181896 Used(b) 2210036 Free(b) 2971860 Lowest(b) Largest(b) 2692456 2845368 Processor Address B0EE38 B0F280 B0FD08 B10708 B10F00 B11128 B11920 B11974 B11DBC B11E38 B11EB4 B11F30 Router# Processor memory Bytes Prev. including memory-free pool statistics. (Optional) Displays a summary of memory usage including the size and number of blocks allocated for each address of the system call that allocated the block.0 Modification This command was introduced. If type is not specified.Troubleshooting Commands show memory show memory To show statistics about memory. io. statistics for all memory types present are displayed. sram). Next 1056 0 B0F280 2656 B0EE38 B0FD08 2520 B0F280 B10708 2000 B0FD08 B10F00 512 B10708 B11128 2000 B10F00 B11920 44 B11128 B11974 1056 B11920 B11DBC 84 B11974 B11E38 84 B11DBC B11EB4 84 B11E38 B11F30 84 B11EB4 B11FAC Ref 1 1 1 1 1 1 1 1 1 1 1 1 PrevF NextF Alloc PC 18F132 18F132 141384 14353C 14356C 1A110E 970DE8 18F132 19ABCE 19ABCE 19ABCE 19ABCE What List Elements List Headers TTY data TTY Input Buf TTY Output Buf Interrupt Stack *Init* messages Watched Boolean Watched Boolean Watched Boolean Watched Boolean Cisco IOS Configuration Fundamentals Command Reference FR-638 . show memory [memory-type] [free] [summary] Syntax Description memory-type free summary (Optional) Memory type to display (processor.

Address of previous block (should match Address on previous line). Reference count for that memory block. Next Ref PrevF Description Hexadecimal address of block. The second section of the display is a block-by-block listing of memory use. Table 91 describes significant fields shown in the second section of the display. Sum of used bytes plus free bytes. Address of next block (should match address on next line). Table 90 show memory Field Descriptions—First Section Field Head Total(b) Used(b) Free(b) Lowest(b) Largest(b) Description Hexadecimal address of the head of the memory allocation chain. Amount of memory not in use. except that only free memory is displayed. Table 90 describes significant fields shown in the first section of the display. Table 91 Characteristics of Each Block of Memory—Second Section Field Address Bytes Prev. and the information is displayed in order for each free list. Size of block in bytes. Address of previous free block (if free). Amount of memory in use. Next 24 Free list 1 32 CEB7A4 CEB88C 52 Free list 2 72 Free list 3 76 Free list 4 80 Free list 5 80 D35E30 D35F4C 80 D27A48 D27B60 88 Free list 6 100 Free list 7 100 D0A8B0 D0A980 104 Free list 8 108 B59E8C B59F84 Ref 0 PrevF 0 NextF 0 Alloc PC 96B894 What SSE Manager 0 0 0 D35ED4 D27AE8 0 96B894 22585E SSE Manager SSE Manager 0 0 0 0 0 0 2258DA 2258DA SSE Manager (fragment) The display of show memory free contains the same types of information as the show memory display. Size of largest available free block. indicating how many different processes are using that block of memory. The first section of the display includes summary statistics about the activities of the system memory allocator. Smallest amount of free memory since last boot.Troubleshooting Commands show memory The following is sample output from the show memory free command: Router# show memory free Head B0EE38 Total(b) 5181896 Used(b) 2210076 Free(b) 2971820 Lowest(b) Largest(b) 2692456 2845368 Processor Address CEB844 D35ED4 D27AE8 D0A8F4 B59EF0 Processor memory Bytes Prev. Cisco IOS Configuration Fundamentals Command Reference FR-639 .

Address of the system call that allocated the block. this command supports the high-speed static RAM memory pool to make it easier to debug or diagnose problems with allocation or freeing of such memory. The following is sample output from the show memory io command: Router# show memory io Address Bytes 6132DA0 59264 600DDEC 500 600FE68 376 6011D54 652 614FCA0 832 6177640 2657056 Total: 2723244 Prev. The show memory io command displays the free I/O memory blocks. 6132664 600DA4C 600FAC8 60119B4 614F564 6172E90 Next 6141520 600DFE0 600FFE0 6011FEO 614FFE0 0 Ref 0 0 0 0 0 0 PrevF 0 6132DA0 600DDEC 600FE68 601FD54 614FCA0 NextF 600DDEC 600FE68 6011D54 6013D54 6177640 0 Alloc PC 3FCF0 0 0 0 0 0 What *Packet Buffer* The show memory sram command displays the free SRAM memory blocks. this command quickly shows how much unused I/O memory is available.Troubleshooting Commands show memory Table 91 Characteristics of Each Block of Memory—Second Section (continued) Field NextF Alloc PC What Description Address of next free block (if free). Name of process that owns the block. On the Cisco 4000. or “(coalesced)” if the block was coalesced from adjacent free blocks. 38178 72F0 38178 Next 0 Ref 0 PrevF 0 NextF 0 Alloc PC 0 What The show memory command on the Cisco 4000 includes information about SRAM memory and I/O memory. For the Cisco 4000. Cisco IOS Configuration Fundamentals Command Reference FR-640 . or “(fragment)” if the block is a fragment. 0 1000 17F0 1FE0 2200 2234 6E5C 72F0 Total(b) 28719324 4194304 65536 Next 17F0 1FE0 2200 2234 2268 229C 7AE0 0 Used(b) 1510864 1297088 63400 Ref 1 1 1 1 1 1 1 0 PrevF Free(b) 27208460 2897216 2136 NextF Lowest(b) Largest(b) 26511644 15513908 2869248 2896812 2136 2136 Alloc PC 3E73E 3E73E 3276A 31D68 31DAA 31DF2 3E73E 0 What *Init* *Init* *Init* *Init* *Init* *Init* Init Processor I/O SRAM Address 1000 17F0 1FE0 2200 2234 2268 72F0 7AE0 0 0 The show memory summary command displays a summary of all memory pools as well as memory usage per Alloc PC (address of the system call that allocated the block). The following is sample output from the show memory sram command: Router# show memory sram Address 7AE0 Total Bytes Prev. and appears as follows: Router# show memory Head 49C724 6000000 1000 Bytes 2032 2032 544 52 52 52 2032 38178 Prev.

Troubleshooting Commands show memory

The following is a partial sample output from the show memory summary command. This command shows the size, blocks, and bytes allocated. Bytes equal the size multiplied by the blocks. For a description of the other fields, see Table 20 and Table 21.
Router# show memory summary Head Total(b) Used(b) Free(b) Lowest(b) Largest(b) Processor B0EE38 5181896 2210216 2971680 2692456 Processor memory Alloc PC Size Blocks 0x2AB2 192 1 0x70EC 92 2 0xC916 128 50 0x76ADE 4500 1 0x76E84 4464 1 0x76EAC 692 1 0x77764 408 1 0x77776 116 1 0x777A2 408 1 0x777B2 116 1 0xA4600 24 3 0xD9B5C 52 1 ....................... 0x0 0 3413 0x0 0 28 0x0 40 3441 0x0 0 3413 0x0 0 28

2845368

Bytes 192 184 6400 4500 4464 692 408 116 408 116 72 52 2072576 2971680 137640 2072576 2971680

What IDB: Serial Info Init RIF Cache XDI data XDI data XDI data Init Init Init Init List SSE Manager Pool Summary Pool Summary (Free Blocks) Pool Summary(All Block Headers) Memory Summary Memory Summary (Free Blocks)

Related Commands

Command show processes memory

Description Displays memory used.

Cisco IOS Configuration Fundamentals Command Reference

FR-641

Troubleshooting Commands show pci

show pci
To display information about the peripheral component interconnect (PCI) hardware registers or bridge registers for the Cisco 7200 series routers, use the show pci EXEC command. show pci {hardware | bridge [register]}

Syntax Description

hardware bridge register

Displays PCI hardware registers. Displays PCI bridge registers. (Optional) Number of a specific bridge register in the range 0 to 7. If not specified, this command displays information about all registers.

Command Modes

EXEC

Command History

Release 11.2

Modification This command was introduced.

Usage Guidelines

The output of this command is generally useful for diagnostic tasks performed by technical support only.

Note

The show pci hardware command displays a significant amount of information.

Examples

The following is sample output for the PCI bridge register 1 on a Cisco 7200 series router:
Router# show pci bridge 1 Bridge 4, Port Adaptor 1, Handle=1 DEC21050 bridge chip, config=0x0 (0x00): cfid = 0x00011011 (0x04): cfcs = 0x02800147 (0x08): cfccid = 0x06040002 (0x0C): cfpmlt = 0x00010010 (0x18): (0x1C): (0x20): (0x24): cfsmlt cfsis cfmla cfpmla = = = = 0x18050504 0x22805050 0x48F04880 0x00004880

(0x3C): cfbc = 0x00000000 (0x40): cfseed = 0x00100000 (0x44): cfstwt = 0x00008020

Cisco IOS Configuration Fundamentals Command Reference

FR-642

Troubleshooting Commands show pci

The following is partial sample output for the PCI hardware register, which also includes information on all the PCI bridge registers on a Cisco 7200 series router:
Router# show pci hardware GT64010 External PCI Configuration registers: Vendor / Device ID : 0xAB114601 (b/s 0x014611AB) Status / Command : 0x17018002 (b/s 0x02800117) Class / Revision : 0x00000006 (b/s 0x06000000) Latency : 0x0F000000 (b/s 0x0000000F) RAS[1:0] Base : 0x00000000 (b/s 0x00000000) RAS[3:2] Base : 0x00000001 (b/s 0x01000000) CS[2:0] Base : 0x00000000 (b/s 0x00000000) CS[3] Base : 0x00000000 (b/s 0x00000000) Mem Map Base : 0x00000014 (b/s 0x14000000) IO Map Base : 0x01000014 (b/s 0x14000001) Int Pin / Line : 0x00010000 (b/s 0x00000100) Bridge 0, Downstream MB0 to MB1, Handle=0 DEC21050 bridge chip, config=0x0 (0x00): cfid = 0x00011011 (0x04): cfcs = 0x02800143 (0x08): cfccid = 0x06040002 (0x0C): cfpmlt = 0x00011810 (0x18): (0x1C): (0x20): (0x24): cfsmlt cfsis cfmla cfpmla = = = = 0x18000100 0x02809050 0x4AF04880 0x4BF04B00

(0x3C): cfbc = 0x00000000 (0x40): cfseed = 0x00100000 (0x44): cfstwt = 0x00008020 ...

Cisco IOS Configuration Fundamentals Command Reference

FR-643

first PCI device Port module . Command Modes EXEC Command History Release 11. C2600.2 Modification This command was introduced. show pci hardware Syntax Description This command has no arguments or keywords. use the show pci hardware EXEC command.third PCI device Port module . which also includes information on all the PCI bridge registers. device numbers are as follows: Device 0 1 2 3 4 5 6 7 8-14 15 Device number First LAN device Second LAN device AIM device (if present) Not presently used Port module .fourth PCI device Not presently used Xilinx PCI bridge For the Examples The following is partial sample output for the PCI hardware register. See Table 92 for a description of the output display fields. router# show pci hardware XILINX Host-PCI Bridge Registers: Vendor / Device ID: 0x401310EE Status / Command: 0x040001C6 PCI Slave Base Reg 0: 0x00000000 PCI Slave Base Reg 1: 0x04000000 Cisco IOS Configuration Fundamentals Command Reference FR-644 .Troubleshooting Commands show pci hardware show pci hardware To display information about the Host-PCI bridge. Usage Guidelines The output of this command is generally useful for diagnostic tasks performed by technical support only: router# show pci hardware hardware PCI hardware registers Each device on the PCI bus is assigned a PCI device number.second PCI device Port module .

The base address of PCI Target Region 0 for the Host-PCI bridge. The base address of PCI Target Region 1 for the Host-PCI bridge. This regions is used for Little-Endian transfers between PCI devices and memory. Provides status of the Host-PCI bridge. Refer to the PCI Specification for more information. The value 0x401310EE identifies the device as the Xilinx-based Host-PCI bridge for the Cisco 2600 router. This region is used for Big-Endian transfers between PCI devices and memory. Status/Command PCI Slave Base Reg 0 PCI Slave Base Reg 1 Cisco IOS Configuration Fundamentals Command Reference FR-645 .Troubleshooting Commands show pci hardware Table 92 show pci hardware Field Descriptions Field Device/Vendor ID Description Identifies the PCI vendor and device.

ME 91066 0 30 0 1784/2000 0 IPC Seat Manager 8.ME CCE7C 0 1 0 1940/2000 0 TCP Listener 19 Mwe AC49E 0 1 0 1592/2000 0 BOOTP Server 20 Mwe 10CD84 24 77 311 1652/2000 0 CDP Protocol 21 Mwe 27BF82 0 2 0 1776/2000 0 ATMSIG Input Cisco IOS Configuration Fundamentals Command Reference FR-646 .Troubleshooting Commands show processes show processes To display information about the active processes.ME 160CF4 0 1 0 1932/2000 0 MIP Mailbox 12 Mwe 125D7C 4 280 14 1588/2000 0 SMT input 13 Lwe AFD0E 0 1 0 1772/2000 0 Probe Input 14 Mwe AF662 0 1 0 1784/2000 0 RARP Input 15 Hwe A1F9A 228 549 415 3240/4000 0 IP Input 16 Msa C86A0 0 114 0 1864/2000 0 TCP Timer 17 Lwe CA700 0 1 0 1756/2000 0 TCP Protocols 18. Command Modes EXEC Command History Release 10. Examples The following is sample output from the show processes command: Router# show processes CPU utilization for five seconds: 21%/0%.ME 1462EE 0 1 0 1940/2000 0 Microcode load 10 Msi 127538 4 76 52 1608/2000 0 Env Mon 11.ME 133368 0 1 0 1928/2000 0 CXBus hot stall 9. five minutes: 2% PID QTy PC Runtime (ms) Invoked uSecs Stacks TTY Process 1 Mwe 2FEA4E 1808 464 3896 1796/3000 0 IP-EIGRP Router 2 Lst 11682 10236 109 93908 1828/2000 0 Check heaps 3 Mst 3AE9C 0 280 0 1768/2000 0 Timers 4 Lwe 74AD2 0 12 0 1492/2000 0 ARP Input 5.ME 91264 0 1 0 1936/2000 0 IPC Realm Manager 7. use the show processes EXEC command.0 Modification This command was introduced. show processes [cpu] Syntax Description cpu (Optional) Displays detailed CPU utilization statistics. one minute: 2%.ME 912E4 0 2 0 1892/2000 0 IPC Zone Manager 6.

hg (hung. Possible values: H (high). Scheduler test. CPU utilization for the last 5 minutes.).00% 0% IP Input 3 0 744 0 0% 0% 0% TCP Timer 4 0 2 0 0% 0% 0% TCP Protocols 5 0 1 0 0% 0% 0% BOOTP Server 6 16 130 123 0% 0% 0% ARP Input 7 0 1 0 0% 0% 0% Probe Input 8 0 7 0 0% 0% 0% MOP Protocols 9 0 2 0 0% 0% 0% Timers 10 692 64 10812 0% 0% 0% Net Background 11 0 5 0 0% 0% 0% Logger 12 0 38 0 0% 0% 0% BGP Open 13 0 1 0 0% 0% 0% Net Input 14 540 3466 155 0% 0% 0% TTY Background 15 0 1 0 0% 0% 0% BGP I/O 16 5100 1367 3730 0% 0% 0% IGRP Router 17 88 4232 20 0. voluntarily relinquished processor). Number of times the process has been invoked.Troubleshooting Commands show processes The following is sample output from the show processes cpu command: Router# show processes cpu CPU utilization for five seconds: 5%/2%. CPU time the process has used. E (waiting for an event). five minutes: 2% PID Runtime (ms) Invoked uSecs 5Sec 1Min 5Min TTY Process 1 1736 58 29931 0% 0% 0% Check heaps 2 68 585 116 1. the process will never execute again). but has not yet been deleted. wakeup conditions have occurred). in milliseconds. Table 93 show processes Field Descriptions Field CPU utilization for five seconds one minute five minutes PID Q Ty Description CPU utilization for the last 5 seconds. xx (dead: the process has terminated. PC Runtime (ms) Invoked uSecs Stacks TTY Process 5Sec Cisco IOS Configuration Fundamentals Command Reference FR-647 . Process queue priority. Microseconds of CPU time for each process invocation. M (medium).00% 1. sa (sleeping until an absolute time). Process ID. Terminal that controls the process. shown in bytes. L (low). Possible values: * (currently running).00% Exec Table 93 describes significant fields shown in the two displays. Low water mark/Total stack space available. The second number indicates the percent of CPU time spent at the interrupt level.20% 1.00% 0% BGP Router 18 152 14650 10 0% 0% 0% BGP Scanner 19 224 99 2262 0% 0% 1. we (waiting for an event). rd (ready to run. sp (sleeping for a time interval (alternate call). one minute: 3%. CPU utilization by task in the last 5 seconds. Name of process. CPU utilization for the last minute. Current program counter. S (ready to run. st (sleeping until a timer expires). si (sleeping for a time interval).

Related Commands Command show processes memory Description Displays memory used. CPU utilization by task in the last 5 minutes. Cisco IOS Configuration Fundamentals Command Reference FR-648 . run times are considered reliable only after a large number of invocations or a reasonable. measured run time.Troubleshooting Commands show processes Table 93 show processes Field Descriptions (continued) Field 1Min 5Min Description CPU utilization by task in the last minute. Note Because the network server has a 4-millisecond clock resolution.

Command Modes EXEC Command History Release 10. Total amount of free memory.0 Modification This command was introduced. show processes memory Syntax Description This command has no arguments or keywords..Troubleshooting Commands show processes memory show processes memory To show memory used. use the show processes memory EXEC command. Cisco IOS Configuration Fundamentals Command Reference FR-649 . Used: 2307548. Free: 3303900 PID TTY Allocated Freed Holding Getbufs 0 0 199592 1236 1907220 0 0 0 400 76928 400 0 0 0 5431176 3340052 140760 349780 1 0 256 256 1724 0 2 0 264 0 5032 0 3 0 0 0 2724 0 4 0 97932 0 2852 32760 5 0 256 256 2724 0 6 0 92 0 2816 0 7 0 0 0 2724 0 8 0 0 0 2724 0 9 0 0 0 2724 0 10 0 892 476 3256 0 11 0 92 0 2816 0 12 0 216 0 2940 0 13 0 0 0 2724 0 14 0 15659136 15658584 3276 0 . Examples The following is sample output from the show processes memory command: Router# show processes memory Total: 5611448. 77 0 116 0 2844 0 2307224 Total Retbufs 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Process *Init* *Sched* *Dead* Load Meter Exec Check heaps Pool Manager Timers CXBus hot stall IPC Zone Manager IPC Realm Manager IPC Seat Manager ARP Input SERIAL A'detect Microcode Loader RFSS watchdog Env Mon 0 IPX-EIGRP Hello Table 94 describes significant fields shown in the display.. Total amount of used memory. Table 94 show processes memory Field Descriptions Field Total Used Free PID Description Total amount of memory held. Process ID.

regardless of who originally allocated it. Cisco IOS Configuration Fundamentals Command Reference FR-650 . Bytes of memory freed by the process. Bytes of memory allocated by the process. Number of times the process has requested a packet buffer. The scheduler. Number of times the process has relinquished a packet buffer. Related Commands Command show memory show processes Description Displays statistics about memory.Troubleshooting Commands show processes memory Table 94 show processes memory Field Descriptions (continued) Field TTY Allocated Freed Holding Getbufs Retbufs Process *Init* *Sched* *Dead* Total Description Terminal that controls the process. Displays information about the active processes. Processes as a group that are now dead. including memory-free pool statistics. System initialization. Process name. Total amount of memory held by all processes. Amount of memory currently allocated to the process.

subnet mask is 255.0 Decnet cost is 5 XNS address is 2002.132.0 Decnet cost is 5 XNS address is 2001.1.168. IP. Network Protocols Configuration Guide.1. zone Magnolia Estates For more information on the parameters or protocols shown in this sample output.255. line protocol is up Internet address is 192. line protocol is up Internet address is 192.0 Modification This command was introduced. show protocols Syntax Description This command has no arguments or keywords. subnet mask is 255.255. Cisco IOS Configuration Fundamentals Command Reference FR-651 . line protocol is up Internet address is 192.AA00.129. DECnet.255. use the show protocols EXEC command.7.255.255. zone Twilight Serial 1 is down.0400.06CC AppleTalk address is 4.168. This command shows the global and interface-specific status of any configured Level 3 protocol.255.25 routing is enabled Ethernet 0 is up. Command Modes EXEC Command History Release 10.168. subnet mask is 255. Part 3. subnet mask is 255. Examples The following is sample output from the show protocols command: Router# show protocols Global values: Internet Protocol routing is enabled DECNET routing is enabled XNS routing is enabled Appletalk routing is enabled X. for example. and so on. Part 2.2.0400.1. and Network Protocols Configuration Guide. line protocol is down Internet address is 192. zone Twilight Serial 0 is up.240 AppleTalk address is 999. AppleTalk. Part 1.Troubleshooting Commands show protocols show protocols To display the configured protocols.240 Ethernet 1 is up.1.06CC AppleTalk address is 254.255.49.7. see the Network Protocols Configuration Guide. IPX.168.177.255.AA00.

use the show stacks EXEC command. RA: 0xAD20C FP: 0x29C1B0. RA: 0x3E0CA FP: 0x29C244. This information is of use only to your technical support representative in analyzing crashes in the field.Troubleshooting Commands show stacks show stacks To monitor the stack usage of processes and interrupt routines. Command Modes EXEC Command History Release 10. address 0xD0D0D1A GS Software (GS3). a saved system stack trace is displayed. It is included here in case you need to read the displayed statistics to an engineer over the phone. Usage Guidelines The display from this command includes the reason for the last system reboot. RA: 0x3BD3C Cisco IOS Configuration Fundamentals Command Reference FR-652 .1(0. RA: 0xACFD4 FP: 0x29C184.16). show stacks Syntax Description This command has no arguments or keywords. BETA TEST SOFTWARE Compiled Tue 11-Aug-92 13:27 by jthomas Stack trace from system failure: FP: 0x29C158. If the system was reloaded because of a system failure. RA: 0xAF774 FP: 0x29C214. RA: 0xAF83E FP: 0x29C228. RA: 0xAD304 FP: 0x29C1F8. Examples The following is sample output from the show stacks command following a system failure: Router# show stacks Minimum process stacks: Free/Size Name 652/1000 Router Init 726/1000 Init 744/1000 BGP Open 686/1200 Virtual Exec Interrupt level stacks: Level Called Free/Size Name 1 0 1000/1000 env-flash 3 738 900/1000 Multiport Communications Interfaces 5 178 970/1000 Console UART System was restarted by bus error at PC 0xAD1F4. Version 9. RA: 0xACFD4 FP: 0x29C1DC.0 Modification This command was introduced.

Troubleshooting Commands show stacks Related Commands Command show processes Description Displays information about the active processes. Cisco IOS Configuration Fundamentals Command Reference FR-653 .

001 1.001 1.001 1.001 1.000.000.001 1.001 1.000.000.000.001 1. Command Modes Privileged EXEC Command History Release 11.001 static_map arp ether compress alignment monvar slot oir atm ip_addrpool_sys chat dialer flash_services ip_localpool_sys nvram_common ASP sonict oc3suni oc12suni ds3suni .000.000. kernel.001 1.002 1. Table 95 describes the fields shown in this display. Cisco IOS Configuration Fundamentals Command Reference FR-654 .001 1.000. (Optional) Shows the specified subsystem. Valid classes are driver. Usage Guidelines Use the show subsys command to confirm that all required features are in the running image. Examples The following example shows partial sample output from the show subsys command: Router# show subsys Class Kernel Kernel Kernel Kernel Kernel Kernel Kernel Kernel Kernel Library Library Library Library Library Driver Driver Driver Driver Driver Driver Version 1.000.000..001 1.001 1.000.001 1.000.001 1.Troubleshooting Commands show subsys show subsys To display the subsystem information.000.001 1. protocol.000.000.001 1. library. management.001 1.000. and registry.000. use the show subsys privileged EXEC command..001 1. Use the asterisk character (*) as a wildcard at the end of the name to list all subsystems starting with the specified characters.000.000.001 1.1 Modification This command was introduced. show subsys [class class | name name] Syntax Description class class name name (Optional) Shows the subsystems of the specified class.000.

Possible classes include Kernel. Version of the subsystem.Troubleshooting Commands show subsys Table 95 show subsys Field Descriptions Field static_map Class Version Description Name of the subsystem. Registry. Class of the subsystem. Management. and SystemInit. Driver. Library. Protocol. Cisco IOS Configuration Fundamentals Command Reference FR-655 .

Examples The following is sample output from the show tcp command: Router# show tcp tty0. Foreign port: 23 Enqueued packets for retransmit: 0.1.232. maxRTT: 300 ms.Troubleshooting Commands show tcp show tcp To display the status of TCP connections.137. ACK hold: 300 ms Flags: higher precedence. retransmission timeout Datagrams (max data segment is 536 bytes): Rcvd: 41 (out of order: 0). idle user. KRTT: 0 ms minRTT: 4 ms. RTTO: 900 ms. Number identifying the TCP connection. Table 96 show tcp Field Descriptions—First Section of Output Field tty0 connection 1 Description Identifying number of the line. I/O status: 1. Cisco IOS Configuration Fundamentals Command Reference FR-656 .0 Modification This command was introduced. input: 0. Command Modes EXEC Command History Release 10.31. unread input bytes: 0 Local host: 172. show tcp [line-number] Syntax Description line-number (Optional) Absolute line number of the line for which you want to display Telnet connection status. Local port: 11184 Foreign host: 172. saved: 0 Event Timers (current time is 67341276): Timer: Retrans TimeWait AckHold Starts: 30 0 32 Wakeups: 1 0 14 Next: 0 0 0 iss: 67317172 irs: 1064896000 snduna: 67317228 rcvnxt: 1064897597 sndnxt: rcvwnd: SendWnd 0 0 0 67317228 2144 KeepAlive 0 0 0 sndwnd: delrcvwnd: GiveUp 0 0 0 4096 0 PmtuAger 0 0 0 SRTT: 317 ms. connection 1 to host cider Connection state is ESTAB.31. with data: 34. use the show tcp EXEC command. RTV: 133 ms. with data: 35. total data bytes: 55 Table 96 describes the first five lines of output shown in the display.17. total data bytes: 1596 Sent: 57 (retransmit: 1).

A connection progresses through a series of states during its lifetime. data received can be delivered to the user. CLOSEWAIT—Waiting for a connection termination request from the local user. Number of bytes that the lower-level TCP processes have read.Troubleshooting Commands show tcp Table 96 show tcp Field Descriptions—First Section of Output (continued) Field to host xxx Connection state is ESTAB Description Name of the remote host to which the connection has been made. as derived from the following equation: line-number + (512 * random-number). Transmission Control Protocol Functional Specification. IP address of the network server. CLOSING—Waiting for a connection termination request acknowledgment from the remote TCP host. (The line number uses the lower nine bits. the other bits are random. This is the normal state for the data transfer phase of the connection. Local port number. SYNSENT—Waiting for a matching connection request after having sent a connection request. I/O status: unread input bytes: Number describing the current internal status of the connection. FINWAIT2—Waiting for a connection termination request from the remote TCP host. LASTACK—Waiting for an acknowledgment of the connection termination request previously sent to the remote TCP host. TIMEWAIT—Waiting for enough time to pass to be sure the remote TCP host has received the acknowledgment of its connection termination request. CLOSED—Indicates no connection state at all. FINWAIT1—Waiting for a connection termination request from the remote TCP or an acknowledgment of the connection termination request previously sent. • • • • • • • • For more information. • • • LISTEN—Waiting for a connection request from any remote TCP and port. SYNRCVD—Waiting for a confirming connection request acknowledgment after having both received and sent a connection request. These states follow in the order in which a connection progresses through them. ESTAB—Indicates an open connection. but the higher level TCP processes have not yet processed. see RFC 793.) Local host: Local port: Cisco IOS Configuration Fundamentals Command Reference FR-657 .

The following lines of output display the number of times that various local TCP timeout values were reached during this connection. Destination port for the remote host. and it transmitted an acknowledgment many more times because there was no data on which to piggyback. 5.) The system clock setting that will trigger the next time this timer will go off. Timer: Starts: Wakeups: Next: Retrans 30 1 0 TimeWait 0 0 0 AckHold 32 14 0 SendWnd 0 0 0 KeepAlive 0 0 0 GiveUp 0 0 0 PmtuAger 0 0 0 Table 97 describes the fields in the preceding lines of output. and 6 have been received. 2. 4. Number of keepalives transmitted without receiving any response. In this example.Troubleshooting Commands show tcp Table 96 show tcp Field Descriptions—First Section of Output (continued) Field Foreign host: Foreign port: Enqueued packets for retransmit: input: saved: Description IP address of the remote host to which the TCP connection has been made. packets 1 and 2 would enter the input queue. Number of packets that are waiting on the input queue to be read by the user. The Acknowledgment timer is used to delay the sending of acknowledgments to the remote TCP in an attempt to reduce network use. if packets 1. the local host retransmitted 30 times because it received no response from the remote host. (This field is reset to zero when a response is received. Number of packets waiting on the retransmit queue. and packets 4. 5. and 6 would enter the saved queue. These are packets on this TCP connection that have been sent but have not yet been acknowledged by the remote TCP host. Table 97 show tcp Field Descriptions—Second Section of Output Field Timer: Starts: Wakeups: Next: Retrans TimeWait AckHold Description The names of the timers in the display. Number of received out-of-order packets that are waiting for all packets comprising the message to be received before they enter the input queue. The Retransmission timer is used to time TCP packets that have not been acknowledged and are waiting for retransmission. For example. The number of times the timer has been started during this connection. The following line of output shows the current time according to the system clock of the local host: Event Timers (current time is 67341276): The time shown is the number of milliseconds since the system started. Cisco IOS Configuration Fundamentals Command Reference FR-658 . The TimeWait timer is used to ensure that the remote system receive a request to disconnect a session.

The GiveUp timer determines the amount of time a local host will wait for an acknowledgement (or other appropriate reply) of a transmitted message after the the maximum number of retransmissions has been reached. If the timer expires.Troubleshooting Commands show tcp Table 97 show tcp Field Descriptions—Second Section of Output (continued) Field SendWnd KeepAlive Description The Send Window is used to ensure that there is no closed window due to a lost TCP acknowledgment. iss: 67317172 irs: 1064896000 snduna: 67317228 rcvnxt: 1064897597 sndnxt: rcvwnd: 67317228 2144 sndwnd: delrcvwnd: 4096 0 Table 98 show tcp Field Descriptions—Sequence Number Field iss: snduna: sndnxt: sndwnd: irs: rcvnxt: rcvwnd: delrcvwnd: Description Initial send sequence number. When the age timer is used. The value in this field gradually increases until it is larger than a full-sized packet. Last receive sequence number the local host has acknowledged. Delayed receive window—data the local host has read from the connection. If the MSS is smaller than what the peer connection can manage. The PMTU age timer is a time interval for how often TCP reestimates the path MTU with a larger maximum segment size (MSS). TCP path MTU becomes a dynamic process. The following lines of output display values that the local host uses to keep track of transmission times so that TCP can adjust to the network it is using. Initial receive sequence number. but has not yet subtracted from the receive window the host has advertised to the remote host. The KeepAlive timer is used to control the transmission of test messages to the remote TCP to ensure that the link has not been broken without the local TCP’s knowledge. Sequence number the local host will send next. Table 98 describes the specific fields in these lines of output. The discovery process stops when the send MSS is as large as the peer negotiated or the timer has been manually disabled by setting it to infinite. The local host and remote host each use these sequence numbers for flow control and to acknowledge receipt of datagrams. TCP window size of the remote host. reliable transport of data. a larger MSS is tried every time the age timer expires. TCP window size of the local host. at which point it is applied to the rcvwnd field. Last send sequence number the local host sent but has not received an acknowledgment for. GiveUp PmtuAger The following lines of output display the sequence numbers that TCP uses to ensure sequenced. Cisco IOS Configuration Fundamentals Command Reference FR-659 . the local host gives up retransmission attempts and declares the connection dead.

Troubleshooting Commands show tcp

Table 99 describes the fields in the following line of output.
SRTT: 317 ms, RTTO: 900 ms, RTV: 133 ms, KRTT: 0 ms minRTT: 4 ms, maxRTT: 300 ms, ACK hold: 300 ms Flags: higher precedence, idle user, retransmission timeout

Table 99

show tcp Field Descriptions—Line Beginning with “SRTT”

Field SRTT: RTTO: RTV: KRTT: minRTT: maxRTT: ACK hold: Flags:

Description A calculated smoothed round-trip timeout. Round-trip timeout. Variance of the round-trip time. New round-trip timeout (using the Karn algorithm). This field separately tracks the round-trip time of packets that have been retransmitted. Smallest recorded round-trip timeout (hard wire value used for calculation). Largest recorded round-trip timeout. Time the local host will delay an acknowledgment in order to piggyback data on it. Properties of the connection.

For more information on these fields, refer to Round Trip Time Estimation, P. Karn & C. Partridge, ACM SIGCOMM-87, August 1987. Table 100 describes the fields in the following lines of output.
Datagrams (max data segment is 536 bytes): Rcvd: 41 (out of order: 0), with data: 34, total data bytes: 1596 Sent: 57 (retransmit: 1), with data: 35, total data bytes: 55

Table 100

show tcp Field Descriptions—Last Section of Output

Field Rcvd:

Description Number of datagrams the local host has received during this connection (and the number of these datagrams that were out of order). Number of these datagrams that contained data. Total number of bytes of data in these datagrams. Number of datagrams the local host sent during this connection (and the number of these datagrams that had to be retransmitted). Number of these datagrams that contained data. Total number of bytes of data in these datagrams.

with data: total data bytes: Sent: with data: total data bytes:

Related Commands

Command show tcp brief

Description Displays a concise description of TCP connection endpoints.

Cisco IOS Configuration Fundamentals Command Reference

FR-660

Troubleshooting Commands show tcp brief

show tcp brief
To display a concise description of TCP connection endpoints, use the show tcp brief EXEC command. show tcp brief [all]

Syntax Description

all

(Optional) Displays status for all endpoints. Without this keyword, endpoints in the LISTEN state are not shown.

Command Modes

EXEC

Command History

Release 11.2

Modification This command was introduced.

Examples

The following is sample output from the show tcp brief command while a user has connected into the system via Telnet:
Router> show tcp brief TCB 609789AC Local Address Router.cisco.com.23 Foreign Address cider.cisco.com.3733 (state) ESTAB

Table 101 describes the fields shown in the display.
Table 101 show tcp brief Field Descriptions

Field TCB Local Address Foreign Address (state)

Description An internal identifier for the endpoint. The local IP address and port. The foreign IP address and port (at the opposite end of the connection). The state of the connection. States are described in syntax description of the show tcp command.

Related Commands

Command show tcp

Description Displays the status of TCP connections.

Cisco IOS Configuration Fundamentals Command Reference

FR-661

Troubleshooting Commands show tdm connections

show tdm connections
To display a snapshot of the time-division multiplexing (TDM) bus connection memory in a Cisco AS5200 access server, use the show tdm connections EXEC command. show tdm connections [motherboard | slot number]

Syntax Description

motherboard slot number

(Optional) Motherboard in the Cisco AS5200 access server. (Optional) Slot number.

Command Modes

EXEC

Command History

Release 11.2

Modification This command was introduced.

Usage Guidelines

The show tdm connections command shows the connection memory for all TDM bus connections in the access server if you do not limit the display to the motherboard or a slot.

Examples

The following example shows source stream 3 (ST3) channel 2 switched out of stream 6 (ST6) channel 2:
AS5200# show tdm connections motherboard MT8980 motherboard unit 0, Control Register = 0x1F, ODE Register = 0x06 Connection Memory for ST6: Ch0: 0x62, Ch1: 0x00, Ch2: 0x00, Ch3: 0x00 Ch4: 0x00, Ch5: 0x00, Ch6: 0x00, Ch7: 0x00 Ch8: 0x00, Ch9: 0x00, Ch10: 0x00, Ch11: 0x00 Ch12: 0x00, Ch13: 0x00, Ch14: 0x00, Ch15: 0x00 Ch16: 0x00, Ch17: 0x00, Ch18: 0x00, Ch19: 0x00 Ch20: 0x00, Ch21: 0x00, Ch22: 0x00, Ch23: 0x00 Ch24: 0x00, Ch25: 0x00, Ch26: 0x00, Ch27: 0x00 Ch28: 0x00, Ch29: 0x00, Ch30: 0x00, Ch31: 0x00

To interpret the hexadecimal number 0x62 into meaningful information, you must translate it into binary code. These two hexadecimal numbers represent a connection from any stream and a channel on any stream. The number 6 translates into the binary code 0110, which represents the third-source stream. The number 2 translates into the binary code 0010, which represents the second-source channel. Stream 6 (ST6) channel 0 is the destination for source stream 3 (ST3) channel 2 in this example.

Related Commands

Command show tcp

Description Displays the status of TCP connections.

Cisco IOS Configuration Fundamentals Command Reference

FR-662

Ch10: 0x7E. Ch17: 0x7E. Ch5: 0x7E. Ch11: 0x7E Ch12: 0x7E. Ch2: 0x7E. Ch21: 0x7E. Examples The following example shows a snapshot of TDM memory where the normal ISDN idle pattern (0x7E) is present on all channels of the TDM device resident on the motherboard: AS5200# show tdm data motherboard MT8980 motherboard unit 0. Ch25: 0x7E. Ch29: 0x7E. (Optional) Slot number. Ch3: 0x7E Ch4: 0x7E. Ch27: 0x7E Ch28: 0x7E. Ch15: 0x7E Ch16: 0x7E. Ch15: 0x7E Ch16: 0x7E. Ch19: 0x7E Ch20: 0x7E. Ch23: 0x7E Ch24: 0x7E. Ch31: 0x7E Related Commands Command Description show tdm connections Displays data about the TDM bus connection memory in a Cisco AS5200 access server. Ch26: 0x7E. Ch3: 0x7E Ch4: 0x7E. Ch30: 0x7E. Control Register = 0x1F. Usage Guidelines The data memory for all TDM bus connections in the access server is displayed if you do not specify a motherboard or slot. Ch19: 0x7E Ch20: 0x7E. Ch17: 0x7E. Ch10: 0x7E. Ch13: 0x7E. Ch7: 0x7E Ch8: 0x7E. Ch1: 0x7E. Ch21: 0x7E. Ch6: 0x7E. Ch6: 0x7E. Ch14: 0x7E. Ch30: 0x7E. Ch22: 0x7E. Ch9: 0x7E. Ch29: 0x7E. Ch9: 0x7E. Ch1: 0x7E. Ch11: 0x7E Ch12: 0x7E. Ch2: 0x7E. Ch5: 0x7E. Ch18: 0x7E. ODE Register = 0x06 Data Memory for ST0: Ch0: 0x7E. use the show tdm data EXEC command. Ch7: 0x7E Ch8: 0x7E. show tdm data [motherboard | slot number] Syntax Description motherboard slot number (Optional) Motherboard in the Cisco AS5200 access server. Ch31: 0x7E Data Memory for ST1: Ch0: 0x7E. Command Modes EXEC Command History Release 11. Ch25: 0x7E. Ch22: 0x7E. Ch13: 0x7E. Ch27: 0x7E Ch28: 0x7E. Ch14: 0x7E.2 Modification This command was introduced. Cisco IOS Configuration Fundamentals Command Reference FR-663 . Ch23: 0x7E Ch24: 0x7E.Troubleshooting Commands show tdm data show tdm data To display a snapshot of the time-division multiplexing (TDM) bus data memory in a Cisco AS5200 access server. Ch18: 0x7E. Ch26: 0x7E.

(Optional) Displays show command output specific to Open Shortest Path First Protocol (OSPF) networking. bootflash. context.3(7).2 11. (Optional) Displays show command output specific to Multilayer Switching Protocol (MPLS) forwarding and applications. (Optional) Leaves passwords and other security information in the output. Internet Group Management Protocol (IGMP) information. use the show tech-support privileged EXEC command. Passwords and other security information are removed from the output. (Optional) Displays show command output specific to Resource Reservation Protocol (RSVP) networking.Troubleshooting Commands show tech-support show tech-support To display general information about the router when reporting a problem. If not used. (Optional) Displays show command output related to the IP Multicast configuration. password cef ipc ipmulticast isis mpls ospf [ process-ID | detail] rsvp Defaults The output scrolls without page breaks. show tech-support [page] [password] [cef | ipmulticast | isis | mpls | ospf [process-ID | detail] | rsvp] Syntax Description page (Optional) Causes the output to display a page of information at a time. and traffic for all enabled protocols. 11. The output for this command was expanded to show additional information for boot. passwords and other security-sensitive information in the output are replaced with the label “<removed>” (this is the default). Command Modes Privileged EXEC Command History Release 11. (Optional) Displays show command output specific to Cisco Express Forwarding (CEF). (Optional) Displays show command output specific to Connectionless Network Service (CLNS) and Intermediate System-to-Intermediate System Protocol (ISIS). the output scrolls (that is. If not used. does not stop for page breaks).2(16) Modification This command was introduced. and Distance Vector Multicast Routing Protocol (DVMRP) information. (Optional) Displays show command output specific to Inter-Process Communications (IPC). (CSCdj06229) Cisco IOS Configuration Fundamentals Command Reference FR-664 . Use the return key to display the next line of output or use the space bar to display the next page of information. including Protocol Independent Multicast (PIM) information.

the show protocol traffic commands will be displayed for only the protocols enabled on your device. The output of the show tech-support command can include the output of the following commands: • • • • • • • • • • • • • • • • • • • • • • show apollo traffic show appletalk traffic show bootflash show bootvar show buffers show cdp neighbors show cef show clns traffic show context show controllers show decnet traffic show interfaces show ip cef show ip interface show ip traffic show isis show mpls show novell traffic show processes cpu show processes memory show running-config show stacks Cisco IOS Configuration Fundamentals Command Reference FR-665 . The show tech-support command displays the output of a number of show commands at once. Additionally. The following keyword extensions were added: • • • • • cef ipmulticast isis mpls ospf Usage Guidelines The show tech-support command is useful for collecting a large amount of information about your routing device for troubleshooting purposes. For example. Access Servers will display voice-related show output.Troubleshooting Commands show tech-support Release 11. The output from this command will vary depending on your platform and configuration.0 Modification This command was integrated into Cisco IOS Release 11. The output of this command can be provided to technical support representatives when reporting a problem.3(7)T.3(7)T 12.

and the configuration register setting. ospf. you may be asked to provide the output of the show tech-support cef command. or rsvp keywords provides a way to display a number of show commands specific to a particular protocol or process in addition to the show commands listed previously. ipc.Troubleshooting Commands show tech-support • • • • • • • • show version show vines traffic show xns traffic show file systems dir nvram: show disk0: all show process cpu show pci controller Use of the optional cef. the contents of the BOOTLDR environment variable. show appletalk traffic Displays statistics about AppleTalk traffic. show bootflash show bootvar show buffers Cisco IOS Configuration Fundamentals Command Reference FR-666 . the name of the configuration file pointed to by the CONFIG_FILE environment variable. Related Commands Command show apollo traffic Description Displays information about the number and type of Apollo Domain packets transmitted and received by the Cisco IOS software. Displays the contents of boot Flash memory. isis. if your TAC support representative suspects that you may have a problem in your Cisco Express Forwarding (CEF) configuration. refer to the documentation for the show commands listed in the “Usage Guidelines” section. Displays statistics for the buffer pools on the network server. For example. Displays the contents of the BOOT environment variable. ipmulticast. The show tech-support [page] [password] cef command will display the output from the following commands in addition to the output for the standard show tech-support command: • • • • • • • • • • show ip cef summary show adjacency summary show ip cef events summary show ip cef inconsistency records detail show cef interface show cef events show cef timers show interfaces stats show cef drop show cef not-cef-switched Examples For a sample display of the output from the show tech-support command. mpls . including MacIP traffic.

Displays ALC information. Displays the configuration of the system hardware. and the boot images. Displays information about the active processes. and forwarded). Shows the amount of memory used. Displays general information about a VIP card when reporting a problem. Displays the stack usage of processes and interrupt routines. the names and sources of configuration files. received. Displays statistics about IP traffic. Displays the statistics maintained about VINES protocol traffic. Displays information about the number and type of XNS packets transmitted and received by the Cisco IOS software.Troubleshooting Commands show tech-support Command show clns traffic show context show controllers show controllers tech-support show decnet traffic show interfaces show ip traffic show novell traffic show processes cpu show processes memory show running-config show stacks show version show vines traffic show xns traffic Description Displays a list of the CLNS packets this router has seen. Displays the DECnet traffic statistics (including datagrams sent. Displays information about the number and type of IPX packets transmitted and received. Displays context data. Displays the current configuration of your routing device. Displays information that is specific to the hardware. the software version. Cisco IOS Configuration Fundamentals Command Reference FR-667 .

Examples The following example tests the Flash memory: test flash Related Commands Command test interfaces test memory Description Tests the system interfaces on the modular router. test flash Syntax Description This command has no arguments or keywords.0 Modification This command was introduced. Performs a test of Multibus memory (including nonvolatile memory) on the modular router. Cisco IOS Configuration Fundamentals Command Reference FR-668 . Command Modes EXEC Command History Release 10. use the test flash EXEC command.Troubleshooting Commands test flash test flash To test Flash memory on MCI and envm Flash EPROM interfaces.

Troubleshooting Commands test interfaces

test interfaces
To test the system interfaces on the modular router, use the test interfaces EXEC command. test interfaces

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

Release 10.0

Modification This command was introduced.

Usage Guidelines

The test interfaces EXEC command is intended for the factory checkout of network interfaces. It is not intended for diagnosing problems with an operational router. The test interfaces output does not report correct results if the router is attached to a “live” network. For each network interface that has an IP address that can be tested in loopback (MCI and ciscoBus Ethernet and all serial interfaces), the test interfaces command sends a series of ICMP echoes. Error counters are examined to determine the operational status of the interface.

Examples

The following example tests the system interfaces:
test interfaces

Related Commands

Command test flash test memory

Description Tests Flash memory on MCI and envm Flash EPROM interfaces. Performs a test of Multibus memory (including nonvolatile memory) on the modular router.

Cisco IOS Configuration Fundamentals Command Reference

FR-669

Troubleshooting Commands test memory

test memory
To perform a test of Multibus memory (including nonvolatile memory) on the modular router, use the test memory EXEC command. The memory test overwrites memory. test memory

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

Release 10.0

Modification This command was introduced.

Usage Guidelines
Caution

The memory test overwrites memory. If you use the test memory command, you will need to rewrite nonvolatile memory. For example, if you test Multibus memory, which is the memory used by the CSC-R 4-Mbps Token Ring interfaces, you will need to reload the system before the network interfaces will operate properly. The test memory command is intended primarily for use by Cisco personnel.

Examples

The following example tests memory:
test memory

Related Commands

Command test flash test interfaces

Description Tests Flash memory on MCI and envm Flash EPROM interfaces. Tests the system interfaces on the modular router.

Cisco IOS Configuration Fundamentals Command Reference

FR-670

Troubleshooting Commands trace (privileged)

trace (privileged)
To discover the routes that packets will actually take when traveling to their destination. Use the trace privileged EXEC command. trace [protocol] [destination]

Syntax Description

protocol destination

(Optional) Protocols that can be used are appletalk, clns, ip and vines. (Optional) Destination address or host name on the command line. The default parameters for the appropriate protocol are assumed and the tracing action begins.

Defaults

The protocol argument is based on the Cisco IOS software’s examination of the format of destination. For example, if the software finds a destination argument in IP format, the protocol value defaults to ip.

Command Modes

Privileged EXEC

Command History

Release 10.0

Modification This command was introduced.

Usage Guidelines

The trace command works by taking advantage of the error messages generated by routers when a datagram exceeds its time-to-live (TTL) value. The trace command starts by sending probe datagrams with a TTL value of one. This causes the first router to discard the probe datagram and send back an error message. The trace command sends several probes at each TTL level and displays the round-trip time for each. The trace command sends out one probe at a time. Each outgoing packet may result in one or two error messages. A “time exceeded” error message indicates that an intermediate router has seen and discarded the probe. A “destination unreachable” error message indicates that the destination node has received the probe and discarded it because it could not deliver the packet. If the timer goes off before a response comes in, trace prints an asterisk (*). The trace command terminates when the destination responds, when the maximum TTL is exceeded, or when the user interrupts the trace with the escape sequence. By default, to invoke the escape sequence, type Ctrl-^ X—by simultaneously pressing and releasing the Ctrl, Shift, and 6 keys, and then pressing the X key. To use nondefault parameters and invoke an extended trace test, enter the command without a destination argument. You will be stepped through a dialog to select the desired parameters.
Common Trace Problems

Due to bugs in the IP implementation of various hosts and routers, the IP trace command may behave in odd ways.

Cisco IOS Configuration Fundamentals Command Reference

FR-671

0.NYC.1.CISCO.1) 216 msec 120 msec 132 msec 7 ABA.BARRNET.0.200. trace will time out on responses 6 through 11.mil (26. terminating only when the maximum TTL has been reached. the ICMP packets do not make it back.NET (192. Since this is zero.6 1000 msec 8 msec 4 msec Description Indicates the sequence number of the router in the path to the host.CISCO.NET (192.BARRNET. Table 102 trace Field Descriptions Field 1 DEBRIS. For example. When you trace the path to such a host. Cisco IOS Configuration Fundamentals Command Reference FR-672 . may indicate this problem.NYC.2) 8 msec 8 msec 8 msec 3 EXTERNAL-A-GATEWAY.1.180.in.180.195.EDU (192. you may see a set of TTL values with asterisks (*).0. Eventually the TTL gets high enough that the ICMP message can get back.180.200.CISCO.NYC.COM (192.110. if the host is six hops away.225) 8 msec 4 msec 4 msec 4 BB2.MIL (192. A long sequence of TTL levels with only asterisks. Tracing the route to ABA.ARC.SU.16.6) 1000 msec 8 msec 4 msec 2 BARRNET-GW.COM (192.COM 192. There is a known problem with the way some hosts handle an “ICMP TTL exceeded” message. Internet address of this router.6) 8 msec 8 msec 8 msec 5 SU.STANFORD.0.73) 412 msec 628 msec 664 msec Table 102 describes the fields shown in the display.3.mil Type escape sequence to abort. Trace IP Routes The following display shows sample IP trace output when a destination host name has been specified: Router# trace ABA.mil (26.254.73) 1 DEBRIS.42.8) 12 msec 12 msec 8 msec 6 MOFFETT-FLD-MB. Host name of this router.Troubleshooting Commands trace (privileged) Not all destinations will respond correctly to a probe message by sending back an “ICMP port unreachable” message. Some hosts generate an “ICMP” message but they reuse the TTL of the incoming packet. Round-trip time for each of the three probes that are sent.52.

209.ANS.56.203.222.NEW-YORK-CNSS32.WASHINGTON-DC-CNSS58.48.NET (140.1) 88 msec 88 msec 88 msec 8 T3-0. The default is 33434. The router will normally pick what it feels is the best source address to use.HARTFORD-CNSS48.NET (140.222.1) 92 msec 128 msec 92 msec 10 W91-CISCO-EXTERNAL-FDDI.2) 92 msec 120 msec 96 msec 12 MIT.222.ANS. Cisco IOS Configuration Fundamentals Command Reference FR-673 .EDU (18. Table 103 trace Field Descriptions Field Target IP address Source address Description You must enter a host name or an IP address.246 540 msec 88 msec 84 msec 4 T3-2. Tracing the route to MIT.T3. The trace command terminates when the destination is reached or when this value is reached.17) 72 msec 72 msec 88 msec 2 ICM-FIX-E-H0-T3. There is no default.ENSS134.3) 84 msec 116 msec 88 msec 5 T3-3.168.MIT.EDU (192.222.222.1) 96 msec 104 msec 96 msec 9 T3-0. Verbose[none]: Type escape sequence to abort.T3. Strict.NET (192.WASHINGTON-DC-CNSS56.T3.NET (140.2.EDU (18.edu Source address: Numeric display [n]: Timeout in seconds [3]: Probe count [3]: Minimum Time to Live [1]: Maximum Time to Live [30]: Port Number [33434]: Loose.ANS.1) 96 msec 92 msec 96 msec Table 103 describes the fields that are unique to the extended trace sequence.4) 80 msec 132 msec 88 msec 6 T3-0.65.T3. The default is 1.NET (140. as shown in the display.1) 92 msec 92 msec 112 msec 11 E40-RTR-FDDI.72.NET (140.157.ANS. Port Number The destination port used by the UDP probe messages.ANS.NET (192. One of the interface addresses of the router to use as a source address for the probes.58. Record. The number of probes to be sent at each TTL level. The default count is 3. The default is to have both a symbolic and numeric display. Numeric display Timeout in seconds Probe count Minimum Time to Live [1] Maximum Time to Live [30] The largest TTL value that can be used.MIT.ICP.222.108. you can suppress the symbolic display.49. but it can be set to a higher value to suppress the display of known hops.0. The number of seconds to wait for a response to a probe packet. The default is 30.233.72.NET (140.EDU (18.ANS.33. however.ICP.1) 92 msec 132 msec 88 msec 7 T3-0.HARTFORD-CNSS49.T3.Troubleshooting Commands trace (privileged) Extended IP Trace Dialog The following display shows a sample trace session involving the extended dialog of the trace command: Router# trace Protocol [ip]: Target IP address: mit. The TTL value for the first probes.229.32.T3.1) 1 ICM-DC-2-V1. The default is 3 seconds.134.2.122) 80 msec 128 msec 80 msec 3 192. Timestamp.

Table 104 ip trace Text Characters Char nn msec * ? A H N P Q U Description For each node. Host unreachable. Source quench. Related Commands Command trace (user) Description Discovers the CLNS routes that packets will actually take when traveling to their destination. Verbose Description IP header options. Record. toggling its current setting. Cisco IOS Configuration Fundamentals Command Reference FR-674 . Allows you to specify a list of nodes that must be the only nodes traversed when going to the destination. You can specify any combination. You can prevent verbose mode by selecting it again. this output indicates that an access list is blocking traffic.Troubleshooting Commands trace (privileged) Table 103 trace Field Descriptions (continued) Field Loose. The probe timed out. Network unreachable. there is no guarantee that all routers (or end nodes) will process the options. The trace command issues prompts for the required fields. Allows you to specify the number of time stamps to leave room for. Usually. the round-trip time in milliseconds for the specified number of probes. Port unreachable. If you select any option. however. Administratively unreachable. Loose Strict Record Timestamp Verbose Table 104describes the characters that can appear in trace command output. Timestamp. the verbose mode is automatically selected and trace prints the contents of the option field in any incoming packets. Unknown packet type. Protocol unreachable. Allows you to specify a list of nodes that must be traversed when going to the destination. Strict. Note that trace will place the requested options in each probe. Allows you to specify the number of hops to leave room for.

The trace command starts by sending probe datagrams with a TTL value of one. and 6 keys. Common Trace Problems Due to bugs in the IP implementation of various hosts and routers. to invoke the escape sequence. Command Modes EXEC Command History Release 10. clns. or when the user interrupts the trace with the escape sequence. Shift. The trace command terminates when the destination responds.Troubleshooting Commands trace (user) trace (user) To discover the IP routes that packets will actually take when traveling to their destination. By default. (Optional) Destination address or host name on the command line. and then pressing the X key. A long sequence of TTL levels with only asterisks. Usage Guidelines The trace command works by taking advantage of the error messages generated by routers when a datagram exceeds its time-to-live (TTL) value. type Ctrl-^ X by simultaneously pressing and releasing the Ctrl. A “time exceeded” error message indicates that an intermediate router has seen and discarded the probe. the protocol defaults to ip. trace [protocol] [destination] Syntax Description protocol destination (Optional) Protocols that can be used are appletalk. trace prints an asterisk (*). when the maximum TTL is exceeded. use the trace EXEC command. The default parameters for the appropriate protocol are assumed and the tracing action begins. The trace command sends several probes at each TTL level and displays the round-trip time for each. the IP trace command may behave in odd ways.0 Modification This command was introduced. ip and vines. The trace command sends out one probe at a time. if the software finds a destination in IP format. terminating only when the maximum TTL has been reached. Not all destinations will respond correctly to a probe message by sending back an “ICMP port unreachable” message. Each outgoing packet may result in one or two error messages. Defaults The protocol argument is based on the Cisco IOS software examination of the format of the destination argument. A “destination unreachable” error message indicates that the destination node has received the probe and discarded it because it could not deliver the packet. may indicate this problem. Cisco IOS Configuration Fundamentals Command Reference FR-675 . For example. If the timer goes off before a response comes in. This causes the first router to discard the probe datagram and send back an error message.

NET (192.CISCO.200.6) 8 msec 8 msec 8 msec 5 SU. Unknown packet type. Trace IP Routes The following display shows sample IP trace output when a destination host name has been specified: Router# trace ip ABA.BARRNET.CISCO.0.254.COM (192.COM (192.1) 216 msec 120 msec 132 msec 7 ABA. Table 106 describes the characters that can appear in trace output.COM 192. this output indicates that an access list is blocking traffic.180. Round-trip time for each of the three probes that are sent. the round-trip time in milliseconds for the specified number of probes.NET (192.6) 1000 msec 8 msec 4 msec 2 BARRNET-GW.73) 412 msec 628 msec 664 msec Table 105 describes the fields shown in the display. Since this is zero.1. Table 106 ip trace Text Characters Char nn msec * ? A H N P Q U Description For each node. Network unreachable.NYC.180. Usually. you may see a set of TTL values with asterisks (*). Port unreachable.STANFORD.mil Type escape sequence to abort.EDU (192.0.0.CISCO. Protocol unreachable. Eventually the TTL gets high enough that the “ICMP” message can get back.mil (26. the ICMP packets do not make it back.1. Administratively unreachable. Tracing the route to ABA. Table 105 trace Field Descriptions Field 1 DEBRIS.mil (26. if the host is six hops away. Some hosts generate an ICMP message but they reuse the TTL of the incoming packet.8) 12 msec 12 msec 8 msec 6 MOFFETT-FLD-MB.110. Host name of this router.16.42.2) 8 msec 8 msec 8 msec 3 EXTERNAL-A-GATEWAY.61 1000 msec 8 msec 4 msec Description Indicates the sequence number of the router in the path to the host. Source quench.180.0.MIL (192.200.195.ARC.52. When you trace the path to such a host.in.SU. The probe timed out. For example.BARRNET.NYC. Host unreachable.NYC. trace will time out on responses 6 through 11.225) 8 msec 4 msec 4 msec 4 BB2. Cisco IOS Configuration Fundamentals Command Reference FR-676 . Internet address of this router.Troubleshooting Commands trace (user) There is a known problem with the way some hosts handle an “ICMP TTL exceeded” message.73) 1 DEBRIS.3.

Troubleshooting Commands trace (user) Related Commands Command trace (privileged) Description Probes the routes that packets follow when traveling to their destination from the router. Cisco IOS Configuration Fundamentals Command Reference FR-677 .

Troubleshooting Commands trace (user) Cisco IOS Configuration Fundamentals Command Reference FR-678 .

Sign up to vote on this title
UsefulNot useful