Cisco router Tcl script 2nd tests

Source: Internet
Author: User


The security of Cisco routers is certain. Password verification is required for remote login. The Cisco passwords are encrypted in the following ways:

1 not encrypted, plaintext display


2. bidirectional encryption (type 7)


3. Blowfish encryption for vswitches: mainly the blowfish Encryption Algorithm for CAT vswitches. In cisco vswitches, the first letter is $2 $, which is also a one-way algorithm.


4. MD5 Encryption

It is not encrypted. It is unnecessary to display the plaintext. You can see it when you download the CONFIG file using TFTP. Two-way encryption (cype 7) is also not secure. A tool dedicated to cracking this encryption algorithm is available, and it will be converted in one second. Currently, MD5 encryption and Blowfish encryption are secure encryption methods. We strongly recommend that you use them as administrators.

Generally, you can use TELNET or HTTP to log on to CISCO. Both must verify the password.


Enter the correct password and then enter normal mode. You can perform some common queries. To perform settings and changes, enter a special password.


To write a TCL script, you must enter the TCL Script Mode to write commands.


Then input the TCL script,


Set the remote Telnet port to 9898.


Tlenet logs on to port 9898 of the Cisco router and displays that the password verification is completely bypassed.


Enter the Cisco command directly after the enter ios command. The disadvantage is that only one command can be entered at a time. Run the command and exit SHELL. Then, TELNET to log on.

PS: tcl shell won't be pasted here as mentioned in all the articles of the blog in February.

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: 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.