![]() |
LightStream 1010 ATM Switch Troubleshooting Guide
|
|||||||||||||||||||||
Troubleshooting Security Implementations
![]() |
||||||||||||||||||||||
|
Table of ContentsTroubleshooting TACACS+ and Recovering PasswordsErrors Unarchiving Source File Cannot Compile Daemon Daemon Is Not Up and Running Daemon Does Not Run Users Cannot Connect Using TACACS+ Recovering a Lost Password Troubleshooting TACACS+ and Recovering PasswordsThis chapter describes troubleshooting information relating to security implementations and contains the following sections: If you want detailed information about configuring and using Terminal Access Controller Access Control System+ (TACACS+), refer to the LightStream 1010 ATM Switch Software Configuration Guide and LightStream 1010 ATM Switch Software Command Reference publication. In addition, for TACACS+, download the TACACS+ User Guide from the TACACS+ Software Images page on Cisco Connection Online. Errors Unarchiving Source FileSymptom: Errors are generated when unarchiving the TACACS+ archive file (tac_plus.2.1.tar). Table 8-1 outlines the problems that might cause this symptom and describes solutions to those problems. Table 8-1 TACACS+: Errors Unarchiving Source File
Cannot Compile DaemonSymptom: Attempts to compile the TACACS+ daemon result in errors. Table 8-2 outlines the problems that might cause this symptom and describes solutions to those problems. Table 8-2 TACACS+: Cannot Compile Daemon Daemon Is Not Up and RunningSymptom: The TACACS+ daemon is not running. Table 8-3 outlines the problems that might cause this symptom and describes solutions to those problems. Table 8-3 TACACS+: Daemon Is Not Up and Running Daemon Does Not RunSymptom: The TACACS+ daemon does not run when invoked. Table 8-4 outlines the problems that might cause this symptom and describes solutions to those problems. Table 8-4 TACACS+: Daemon Does Not Run Users Cannot Connect Using TACACS+Symptom: Users cannot log in using TACACS+. Either users cannot get the Username prompt or they get the prompt but authentication or authorization fails. Table 8-5 outlines the problems that might cause this symptom and describes solutions to those problems. Table 8-5 TACACS+: Users Cannot Log in Using TACACS+
Recovering a Lost PasswordThis section describes the procedure to recover a lost login or to enable a password. The procedure differs depending on the platform and the software used, but in all cases, password recovery requires that the switch be taken out of operation and powered down. If you need to perform the following procedure, make certain that there are secondary systems that can temporarily serve the functions of the switch undergoing the procedure. If this is not possible, advise all potential users and, if possible, perform the procedure during low-use hours. All of the procedures for recovering lost passwords depend on changing the configuration register of the switch. This is done by reconfiguring the switch software. More recent Cisco platforms run from Flash memory or are netbooted from a network server and can ignore the contents of nonvolitile random-access memory (NVRAM) when booting. By ignoring the contents of NVRAM, you can bypass the configuration file (which contains the passwords) and gain complete access to the switch. You can then recover the lost password or configure a new one. Figure 8-1 is a flow chart of the password recovery procedure. Figure 8-1 Password Recovery Note To complete this procedure, you must have a terminal or a personal computer (running terminal emulation software) connected to the console port of the switch. In addition, make sure you know the break command key sequence. Following is the password-recovery procedure: Step 1 Power the switch off and back on. Step 2 Use the break key sequence for your terminal or terminal emulation software within 60 seconds of turning on the power. The ROM monitor (>) prompt will appear. Step 3 Enter the command, e/s 2000002. This command examines the short (16-bit) memory location for the software configuration register. Record the output resulting from this command. This output is the software configuration register value. Step 4 Enter q (quit) to return to the ROM monitor (>) prompt. Step 5 Enter the o/r 0x42 command. The value 42 sets the software configuration register bit to position 6, which allows the switch to ignore the contents of NVRAM when booting. (Be sure to enter 0x followed by the configuration register value.) Step 6 Enter i (initialize) at the ROM monitor (>) prompt. The switch reboots. Step 7 Answer no to all of the Setup questions. Step 8 Enter the enable EXEC command at the Switch> prompt. Step 9 Enter the show startup-config or show configuration privileged EXEC command to see if your password is cleartext (is not encrypted) or if it is encrypted. Step 10 If your password is cleartext, proceed to Step 14. If your password is encrypted, continue with Step 11. Step 11 If your password is encrypted, enter the configure memory privileged EXEC command. This transfers the stored configuration into running memory. Step 12 Enter the configure terminal privileged EXEC command to enter switch configuration mode. Step 13 If you lost the enabled password, use the enable-password global configuration command to configure a new password and press ^Z to exit configuration mode. If you lost the login password, configure the console line using the login and password line configuration commands. Enter ^Z to exit configuration mode and proceed to Step 15. Step 14 If you lost the enabled password, locate the enable-password global configuration command entry in the configuration and record the password. If you lost the login password, find the configuration entries for the console line and record the password indicated by the password line configuration command. Step 15 Use the copy running-config startup-config or write memory privileged EXEC command to write the configuration into running memory.
Step 16 The switch is now fully functional, and you can use your recovered or reconfigured passwords as usual. Note Restore the software configuration register to its original value as soon as possible. If it is not returned to the value you noted in Step 3, the switch will always ignore the contents of NVRAM and enter the Setup routine upon booting. Continue with Step 17 to return the software configuration register to its original value. Step 17 In privileged EXEC mode, enter switch configuration mode using the configure terminal privileged EXEC command. Step 18 Change the software configuration register to its original value using the config-register global configuration command. Enter 0x and then the software configuration register value that you recorded in Step 3. Using the example value of 2102, the command would be config-register 0x2102. Step 19 Exit from switch configuration mode by entering ^Z. The next time the switch is power cycled or restarted with the reload privileged EXEC command, the bootup process will proceed as normal. Use your new or recovered password to gain access to the switch after it reboots.
|
|||||||||||||||||||||
|
|