Router Initial Configuration Wizard

Source: Internet
Author: User
Tags lost password
I. Initial Sequence of router startup
  
When a vro is initialized, The vro performs the following operations:
  
1) perform power-on self-check from Rom to detect basic operations of CPU, memory, and interface circuit.
  
2) boot from the ROM and install and download the operating system to the primary storage.
  
3) if the boot operating system is pre-determined by the boot of the configuration register to be downloaded by flash or the network
  
Run the boot system command to determine the exact position.
  
4) the operating system is downloaded to the low-address memory. After the download, the operating system determines the working hardware and software of the router.
  
And display the results on the screen.
  
5) the configuration files stored in NVRAM are loaded to the main memory and executed. Configure to start the routing process and provide
  
Port address and set media features. If there is a valid configuration file in NVRAM, enter the setup session mode.
  
.
  
6) then enter the system configuration session to display the configuration information, such as the configuration information of each interface.
  
   
  
Ii. Setup session
  
When there is no valid configuration file in NVRAM, The vro automatically enters the setup session mode. Later
  
Enter setup in the command line for configuration.
  
The setup command is an interactive command. Each question has a default configuration.
  
Enter the Input key for configuration. If the system has already been configured, the current configuration value is displayed. If this is the first time
  
The factory settings are displayed. When "------ more ------" is displayed, type the Space key to continue;
  
If you exit from setup, type ctrl-C.
  
   
  
1. Main Parameters of setup:
  
Configure its general parameters, including:
  
Host Name: Hostname
  
Privileged password: Enable Password
  
Virtual terminal password: virtual terminal Password
  
SNMP Network Management: SNMP Network Management
  
IP: IP
  
IGRP Routing Protocol: IGRP Routing
  
Rip route protocol: Rip Routing
  
Decnet: decnet.
  
   
  
Set the secret and password of the console:
  
Enable secret
  
Enable Password
  
Set the password of virtual terminor:
  
Line vty
  
Password
  
Host Name settings:
  
Hostname
  
   
  
2. Setup interface parameters:
  
Set interface parameters, such as Ethernet port, tokenring port, synchronous port, and asynchronous port. Including IP addresses, sub-accounts
  
Network blocking and tokengring speed.
  
   
  
3. Setup description:
  
After setting the above parameters, the command prompts whether to use the above configuration. If the answer is "yes", the system
  
Will store the above configuration parameters, the system can use.
  
   
  
4. SETUP commands:
  
Show config
  
Write memory
  
Write erase
  
Reload
  
Setup
  
   
  
5. Recovery of vro lost Password
  
The following methods can be restored:
  
Enable secret password (suitable for 10. 3 (2) or updated version)
  
Enable Password
  
Console Password
  
Modify configuration register (Factory: 0x2102) so that the router ignores the password.
  
Then you can access the vro to see the Enable password and console password,
  
Ble secret password is encrypted and can only be replaced. Configuration registe
  
The R value is 0x142.
  
   
  
· Running password recovery may cause the system to be down for an hour and a half;
  
· Connect the console terinal to the Console port of the router, and confirm that the terminal is set to 9600bps, 8
  
Data bit, no parity, 1 stop bit;
  
· Show version: configuration register 0x2102 is displayed;
  
· Shut down and open again. Press "Ctrl + break" to enter the ROM monitor status. The prompt is "> ";
  
· Type "> O/R 0x142", modify configuration register to 0x142, and ignore the original
  
Password;
  
· Type "> initialize" to initialize the vro. After a period of time, the following prompt appears on the vro.
  
:
  
"System Configuration diaglog ...... "
  
Enter "no"
  
Prompt "Press return to get started! ", Press" enter"
  
· Enter the privileged Mode
  
Router> enable
  
Router # Show startup-config
  
In this way, you can obtain the password (enable & console password)
  
· Change Password
  
"Router # config ter"
  
"Router (config) # enable secret Cisco"
  
"Router (config) # enable password cisco1"
  
"Router (config) # Line con 0"
  
"Router (config) # password Cisco"
  
"Router (config) # config-register 0x2102"
  
"Ctrl + z"
  
"Router # copy running-config startup-config"
  
"Reload"
  
· Use password Cisco to access privileged users.
  
   
  
Iii. router configuration
  
1) router Mode
  
In a Cisco router, the command interpreter is called exec. Exec interprets the command you typed and runs the corresponding
  
Before entering the exec command, you must log on to the vro. For security reasons, exec Sets
  
Two Access Permissions: user-level and privileged-level. user-level executable commands are a subset of privileged-level commands.
  
At the privileged level, you can use: configuration, interface, subinterface, line, rout
  
Er, router-map, and other commands.
  
   
  
2) Configuration Mode
  
Use the config command to enter the configuration mode. After entering this mode, exec prompts you to use the available configuration methods.
  
For example, terminal, NVRAM, and network, the default mode is terminal mode.
  
   
  
3) IP routing protocol Mode
  
In configuration mode, enter the router command to enter the IP address routing protocol mode. The optional routing protocols generally include
  
: BGP, EGP, IGRP, VPN, Rip, and other dynamic and static routes.
  
   
  
4) Interface Configuration Mode
  
You can set many features on each port. The interface configuration command modifies Ethernet, The Ring Plate network, and FDDI.
  
Or synchronous or asynchronous ports.
  
   
  
5) password configuration
  
You can use a password to restrict access to the vro. The password can be set to a specific line or a special privilege.
  
Xec mode.
  
Line console 0 command set console terminal Password
  
Line vty 0 command to set the Telnet virtual terminal Password
  
Enable-PASSWORD command to set the Privileged EXEC access permission
  
   
  
6) vro name
  
Use hostname in configuration mode, for example:
  
Hostname roupid
  
   
  
Iv. user help prompt
  
1. type at the user prompt? Common commands can be listed. The following commands are usually used:
  
Connect opens a middle-end connection
  
Disconnect closes an existing Telnet session
  
Enable entry to privileged level
  
Exit to exit Exec
  
Help interactive help System Description
  
Lock terminal lock
  
Login logs in as a specific user
  
Log out of Exec
  
Ping to send Echo information
  
Resume resumes an activated Telnet connection.
  
Show Displays running system information
  
Running at: displays running system information.
  
Telnet to open a telnet connection
  
Set terminal line parameters
  
Where lists the activated Telnet connections
  
   
  
2. Help
  
Upper and lower-level help includes:
  
Symbol Conversion: the prompt is displayed when an error occurs when you type a command;
  
Keyword: enter a part of the command word;
  
Command memory: You can use "" to call up previous commands;
  
Command Prompt: When the command is incomplete, it is available "? "Substitution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.