Today, the company broke the switch, called the engine room replaced on standby, backup switch management IP, was accidentally cleaned by colleagues, can not be remote, wipe.
Call the machine room to connect the console port to the server and install the mimicom
#apt-get Install minicom
Configuration:
#minicom-S
Pop-up menu-select "Serial Port Setup" to enter level two menu, the first uppercase character of each option, you can set the item by that letter, my settings are as follows:
A-serial Device:/DEV/TTYS0 # My machine has only one serial port, so it's 0.
B-lockfile Location:/var/lock #lockfile Path Default
C-callin Program:
D-callout Program:
e-bps/par/bits:9600 8N1 #set baud rate 9600
F-hardware Flow Control:no #Turn off hardware flow control
G-software Flow Control:no # Turn off software flow control
after Setup is complete, type enter
After the setup is complete, select Save Setup asDFL and choose "Exit from Minicom" to exit
#minicom #进入minicom, it's already connected to the switch (H3C 5024).
[H3c]interface vlan-interface 1 #进入vlan 1
[H3c-vlan-interface1]ip address 192.168.41.233 255.255.255.0 #设置远程ip, the previous account password is still in, so do not set the remote user password
[H3c-vlan-interface1]quit #退出
[H3c]quit
Is you sure? [Y/n]y #保存
Press CTRL + A and press Q again to exit minicom
Setting the network Clamp interface eth1:1 #此交换机接口为eth1
#vim/etc/network/interfaces #添加如下内容
Auto Eth1:1
Iface eth1:1 inet Static
Address 192.168.41.254
Netmask 255.255.255.0
#ifdown eth1:1 && ifup eth1:1 #重启网卡
#telnet 192.168.41.233 #已经可以登录了
This article is from the "Running Snail" blog, please make sure to keep this source http://guoniu.blog.51cto.com/9315436/1774839
Under Debian, minicom management switch