Login, password recovery and application of switch

Source: Internet
Author: User
Tags config

First, login switch

First find a console line that connects the computer's serial port to the console port of the switch. (Note: console[console] One end of the line for the RJ45 Crystal Head, one end with the DB9 of the serial port, if you want to make this line, you can use a UTP cable will be used to connect the two ends, that is, the opposite ends of the line sequence, and then with a RJ45 to DB9 connector

Click "Start" in the computer--"All Programs"--"accessories"-"communications"-"HyperTerminal", a dialog box will appear, enter some numbers (optional), return to create a connection name, just enter some characters, all the way to return.

Power up the switch, the HyperTerminal dialog box will show the whole process of switch startup, and all subsequent operations on the switch are in this interface.

Note: Switch power on the START process

After powering the switch, it will first read the boot stream file in the ROM, boot the system, and then it will look for Flash (flash memory, the equivalent of a computer's hard disk). Bin end of the compressed file, because this file is the switch's operating system iOS (Internet OPERATION system network operating system), Also check flash if there are no config.text configuration files, if they are loaded together, and then loaded into RAM (equivalent to the computer's memory, after the start of the work done all in this area.) )。 Note that the configuration file, which records all of our changes to the switch (the first time the switch is not configured, the switch will load a default profile), including host name, password, port description, and so on. If the switch does not find this file during loading, the default configuration is enabled, and all previous changes have been restored to their original state, and it is the switch's password recovery that is used to make the password recovery possible.

The basic operation of the switch

Once the boot is complete, we can operate the switch. Each time you enter the switch, the first entry into the user mode, in this mode can not modify the switch, or even some information can not be viewed, this is also for security sake. Prompt in user mode is >

In order to further operate the switch, we must go into privileged mode or global mode, and from user mode can only enter the privileged mode, and then from the privileged mode into the global mode, that is, not across the level. To enter privileged mode from user mode, it is OK to type enable or EN, but note that if the switch has a password, the next step will allow you to enter the password. If you do not know the password, then the operation is over, wait a moment to teach you how to crack Oh!

After entering privileged mode, the prompt becomes #, in privileged mode, only to view and commands that are not in RAM, such as copying, saving, and so on. If you want to modify the switch, you must enter the global mode, which is the essence of the switch. From privileged mode to enter the global mode, type Config TERMINAL, also can be abbreviated to Conf T, at this time need not what password, because you can enter the privileged mode, prove that you are an administrator, so from the privileges to the overall situation will no longer need to gild the lily.

The global mode of the identifier (config) #, you can set the password, set the hostname, and enter the interface mode to operate the interface.

For example, to set the host name ABC, enter the following command: hostname ABC, the first half of the prompt was found to be ABC, that is:

ABC (config) #

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.