Switch password modification skills to master kangzhuang Road

Source: Internet
Author: User
Tags telnet program

The vswitch password modification technique leads to the master's kangzhuang Road. The technique of modifying the vro and vswitch password is discussed in three aspects: You can set the vro in five ways: the vswitch password modification procedure is as follows:

In normal work, I often have friends who ask me: the routers and switches of our company were originally configured by someone or company, he didn't tell the password, but now we want to do some switch password modification skills and we can't find him. How can I change the password? Next I will talk about how to change the vswitch password based on my years of experience.

Set the vro mode. Generally, you can set the vro in five ways:
◆ Set through the SNMP network management workstation on the Ethernet;
◆ The AUX port is connected to a MODEM and is connected to a remote terminal or a computer running the terminal simulation software through a telephone line;
◆ Use the TFTP server on Ethernet;
◆ You are advised to disable this method through the TELNET program on Ethernet );
◆ It is recommended that the Console port be connected to the terminal or the computer that runs the terminal simulation software ).

Note: The first vro setting must be performed in 5th ways. In this case, the hardware of the terminal is set to baud rate: 9600, data bit: 8, parity: None, stop bit: 1, and traffic control: none.

The vswitch password modification procedure is as follows:

Use a general WIN98 computer as the terminal, and use a dedicated connector and a set of cable to connect the Console port of the router and the serial port of the computer. Call the "Super Terminal" program of WIN98. Give the new connection a name that is easy to remember. The baud rate is 9600, data bit: 8, parity: None, stop bit: 1, traffic control: none.

Run the command showversion. Take a Cisco2600 router as an example:
Router> shver
CiscoInternetworkOperatingSystemSoftware
IOStm) C2600SoftwareC2600-IS-M), Version12.07) T, RELEASESOFTWAREfc2)
Copyrightc) 1986-%byciscosystems, Inc.
......
Configurationregisteris0x2102

Note that in the above line, the original value of the Register is generally 0x2102 or 0x102. Write down this value. Turn off the power of the vro and turn it on after 30 seconds. Press the Break Key within 60 seconds after the vro starts, ignoring the NVRAM boot. At the "rommon1>" prompt, type the command confreg0x2142 or o/r0x214225 series ). At the "rommon2>" prompt, type the command rommon2> reset to restart the router.

When you restart the vrouter, all the questions are answered: NO or press Ctrl-C. After you see the "Router>" prompt, type the command: enable. You can see the "Router #" prompt. Now you are in the privileged user status. Run configmem or copystartrunning to test the content in NVRAM into the memory. Note: Do not use the "configterm" command.

Enter the command wrterm or showrunning. Then, you can see that the configuration of the vro includes the password. If the password is not encrypted, you can record it. Otherwise, you need to change the password. Enter the command: configterm. The prompt is displayed: hostnameconfig) #. Enter the command: enablesecret. Change the password.

Switch password modification tips: We recommend that you use the command: showipinterfacebrief to check whether the status of each port is UP. If not, set it UP. type the command: config-register0x2102. the original value of the Register in this command is the same as the value recorded in step 2nd. Press Ctrl-z to exit the configuration and return to the prompt: hostname #. type the command: writemem. Save the configuration file.

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.