Log on to the vswitch through a serial port in linux

Source: Internet
Author: User
Article Title: log on to the vswitch through a serial port in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Today, more than 10 servers and a layer-3 Cisco 3560 switch are installed in the IDC. As the management ip address and telnet functions need to be configured on the switch, as the data center notebook does not have a serial port and no connection is made using the consystemic line, we asked the data center staff to connect the three-tier switch to one of our servers and establish a com connection under linux, in linux, the tool for connecting to com is mini-com. You need to go to the following tool: Ghost.

When monicom is used for the first time, an error is reported because of configuration problems. Therefore, we need to modify the configuration first.

# Minicom-s

The following interface is displayed on the screen |:

............... [Configuration]……

...... Filename and paths ...........................

...... File transfer and protocols ..................

...... Serial port setup .....................

...... Modem and dialing ..............................

...... Screen and keyboard ............

...... Save setup as df1 .....................

...... Save setup ....................................

...... Exit ..............................

...... Exit from minicom ..............................

....................................

Set serial port setup

Use the down arrow to select serial port setup. The specific options are displayed:? Serial Device:/dev/ttyS1 B? Lockfile Location:/var/lock C? Calling Program: D? Callout Program: E? Bps/par/Bits: 51200 8N1 F? Hardware Flow Control: yes g? Software Flow Control: NO Change with setting?

Set the value of option A to/dev/ttyS1, indicating that the serial port is 0.

Set the value of option E to 9600. I found that many requests are changed to 51200, but I cannot do it here. It may be because of different systems. Set Hardware Flow Control to NO.

Note: you only need to change the address by pressing the letter specified above. After the setting is complete, press enter to OK.

Set Modem and dialing

Use the direction arrow to select the modem and dialing items, then modify the settings in the modem and dialing options. Which of the following statements must be modified? Initing string ...... B? Reset string ...... K? Hang-up string values after the three configuration items.

4. select Save as df1

Select the Save as df1 option to Save the modified settings as the default settings.

5. Exit from minicom

Select the Exit from minicom option to return to the command line from the settings menu.

6. Restart Minicom.

Use minicom to start minicom and connect to the router through serial port in linux to implement the ultimate terminal function.

# Minicom is available

This article is from the "linux learning" blog, please be sure to keep this source http://wiliiwin.blog.51cto.com/928128/221337

Related Article

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.