|
|
|
The CNA system has a password recovery mechanism that allows you to obtain a command prompt without logging in through a user account.
To use this feature, you must be connected to the management module’s console port.
The system will show several startup messages:
LILO Loading ........... Uncompressing ramdisk... Mounting ramdisk... INIT: version 2.78 booting Copyright 2001 Avaya, Inc. All rights reserved. Unauthorized access not permitted.
When you see the Unauthorized access not permitted message, you have a two-minute window to enter the following on the command line (followed by the ENTER key):
-p
During a normal boot (without -p), the CNA system will next undergo an initialization process and a series of system startup messages will be displayed:
--- CNA System Startup --- Initialize logging mechanism [ OK ] Find installed CNA modules [ OK ] slot 0 - management [ OK ] slot 2 - engine [ OK ] slot 3 - reporting [ OK ] slot 4 - ustat [ OK ] slot 5 - ustat [ OK ] Start internal communication servers Load initial boot configuration Initialize internal DNS Apply default access restrictions Out-of-the-box state Start NTP and synchronize modules -----------------------------------
When the password recovery process is initiated, however, the CNA System Startup messages should then be overwritten by the following:
Press Enter to Continue
If you get a login: prompt instead of Press Enter to Continue, you will have to reboot the device and try again.
When you press the Enter key, you will be given a command-line prompt:
CNA>
The running configuration will be empty, but you will have access to your previously saved startup configuration, which you can copy to the running configuration. First, enter the enable command (since your running configuration is empty, there is no password), and then the copy command:
CNA> enable CNA# copy startup-config running-config
Now use the show running-config command.
You can now locate the username commands which you entered previously to create user accounts. If passwords are displayed in clear text, note your log-in password for future reference.
Or, if you had previously configured the CNA system to not display passwords in clear text, you can re-enter the username command (enter configuration mode first, with the configure terminal command) to change your log-in password:
CNA# config t CNA(config)# username test password test
NOTE: Using the show startup-config command to locate a username and password is not enough. You will not be allowed to terminate the CNA session using the exit command unless there is a user defined in the running configuration. You must either copy the startup configuration into the running configuration or enter configuration mode (config) and create a user with the username command before you can exit the CNA session.
|
|
|