导航:首页 > 程序命令 > telnet命令登陆路由

telnet命令登陆路由

发布时间:2023-03-29 16:35:55

⑴ 路由器如何开启telnet

路由器开启telnet具体步骤:

1、首先打开思科稿毁滚模拟器软件,并熟悉思科模拟器软件里面的基本工具栏,如下图所示:

⑵ 思科路由器(cisco)配置telnet登录和ssh登录应用举例

Telnet协议是TCP/IP协议族中的一员,是Internet远程登录服务的标准协议和主要方式。它为用户提供了在本地计算机上完成远程主机工作的能力。在终端使用者的电脑上使用telnet程序,用它连接到服务器。终端使用者可以在telnet程序中输入命令,这些命令会在服务器上运行,就像直接在服务宴宏核器的控制台上输入一样。可以在本地就能控制服务绝绝器。

SSH 为 Secure Shell 的缩写,由 IETF 的网络小组(Network Working Group)所制定;SSH 为建立在应用层基础上的安全协议。SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性的协议。利用 SSH 协议可以有效防止远程管理过程中的信息泄露问题。SSH最初是UNIX系统上的一个程序,后来又迅速扩展到其他操作平台。SSH在正确使用时可弥补网络中的漏洞。SSH客户端适用于多种平台。几乎所有UNIX平台—包括HP-UX、Linux、AIX、Solaris、Digital UNIX、Irix,以及其他平台,都可运行SSH。

思科telnet/ssh登录配置案例:

要求:

R2可以telnet R1

R3可以ssh R2

配置AR1

R1(config)#enable password 123

R1(config)#line vty 0 4

R1(config-line)#password 123

R1(config-line)#login

R1(config-line)#transport input telnet

R1(config)#interface ethernet 0/0

R1(config-if)#ip address 192.168.12.1 255.255.255.0

R1(config-if)#no shutdown

R1(config-if)#exit

配置AR2

Router(config)#interface ethernet 0/1

Router(config-if)# ip address 192.168.12.2 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#interface ethernet 0/0

Router(config-if)#ip address 192.168.13.2 255.255.255.0

Router(config-if)#no shutdown

Router#telnet 192.168.12.1 //晌掘telnet R1

Trying 192.168.12.1 ... Open

User Access Verification

Password:

R1>enable

Password:

R1#exit

[Connection to 192.168.12.1 closed by foreign host]

又回到R2

Router(config)#hostname R2

R2(config)#ip domain name www.163.com

R2(config)#crypto key generate rsa molus 1024

The name for the keys will be: R2.www.163.com

% The key molus size is 1024 bits

% Generating 1024 bit RSA keys, keys will be non-exportable...

[OK] (elapsed time was 0 seconds)

R2(config)#username glab1 secret glab1

R2(config)#line vty 0 4

R2(config-line)#login local

R2(config-line)#transport input ssh

R2(config)#enable password 123

R2(config)#

R2(config)#do show ip interface brief

Interface IP-Address OK? Method Status Protocol

Ethernet0/0 192.168.13.2 YES manual up up

Ethernet0/1 192.168.12.2 YES manual up up

Ethernet0/2 unassigned YES unset administratively down down

Ethernet0/3 unassigned YES unset administratively down down

R2(config)#

配置AR 3

Router(config)#hostname R3

R3(config)#interface ethernet 0/1

R3(config-if)#ip address 192.168.13.2 255.255.255.0

R3(config-if)#no shutdown

ssh R2开始

R3#ssh -l glab1 192.168.13.2

Password:

Password:

R2>

⑶ 怎么在dos下使用telnet命令登陆路由器

直接在dos窗口里面telnet x.x.x.x即可

注意:x.x.x.x是路由器的地址,在保证电脑能够ping通路由器的情况下才可以远程,

另外,所有的xp系统的电脑,默认是开启了telnet服务的,但是win 7系统默认则是关闭的,需要手动开起来开启的方法如下:

1、打开控制面板

⑷ 通过Telnet方式配置和登录

一、Telnet方式配置:

1.画出拓扑图

2.给主机0进行终端配置

3.进入命令行模式

Router>enable

Router#configure terminal

Router(config)#enable password 123(设置密码为123)

Router(config)#exit

Router# running-config startup-config(存在配置文件中)

Router#show running-config(查看当前配置)

4.忘记密码时,重置路由器

(1)先重启路由器

(2)再重启时,抓紧时间按Ctrl+C,进入rommon(监控模式)

rommon 1 > confreg 0x2142(将第6位置0)

rommon 2 > reset

此铅槐岁时主机0就不再需要登录槐睁密码

Router>enable

Router#config terminal

Router#exit

Router# running-config startup-config

Router#config terminal

Router(config)#config-register 0x2102(将寄存器的值改为原来默认值)

Router#exit

Router# running-config startup-config

二、 配置明冲telnet登陆

Router#config terminal

Router(config)#line vty 0 4

Router(config-line)#password 123

Router(config-line)#exit

Router(config)#enable password 123(两个密码要相同)

此时加主机1

Router(config)#interface fastEthernet 0/0(进入连接主机1的接口,配置主机1的ip地址)

Router(config-if)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#no shutdown(打开端口)

此时主机1与路由器相同,变绿

配置主机1的IP地址

打开主机1的命令提示符

PC>telnet 192.168.1.1

即可在终端配置路由器

⑸ 用telnet方式登录路由器时,可以选择哪几种验证方式

用telnet方式登录路由器时,可以选择以下几种验证方式。
1、在安全设瞎模置中选择网络安全设置中的wpa认证方式。
2、使用的为无线AP的WEP加密模式,则可选择无线安磨郑缓全设置中的WPA-PSK/WPA2-PSk+AES算法模式。若使用WPA-PSK/LWPA-AES加密模式时,建议将密码加密后在进行传输。
3、使用的是无线丛樱AP和无线路由器的AP模式,则需要在安全协议中选择WEP无线连接协议(AP)+WPA/WEP加密,并选择相应的密码验证方式。
4、使用wifi智能路由器作为有线网关或无线接入点(AP)的话,则需要在无线安全设置中进行认证,具体认证方式请参照下面的图片。

阅读全文

与telnet命令登陆路由相关的资料

热点内容
程序员放弃后会怎样 浏览:182
河北模具编程 浏览:187
adb查找命令 浏览:321
安卓手机视频文件夹怎么打开 浏览:309
平板加密手机后怎么关闭 浏览:567
流媒体服务器应该注意什么 浏览:536
d8命令编译 浏览:964
压缩包解压需要多少空间 浏览:145
如何查找app属性 浏览:388
android人脸识别技术 浏览:321
pc104编程 浏览:335
二维码反编译破解推广 浏览:682
修改服务器的mac地址 浏览:528
好玩的编程软件 浏览:899
编程语言创始人有钱吗 浏览:804
短视频app怎么获客 浏览:15
查看云服务器的应用 浏览:435
javadump工具 浏览:565
程序员16g 浏览:445
程序员没有办法成为top怎么办 浏览:218