如何设置交换机,路由器华为交换机设置telnett管理

小白求助中兴交换机如何配置telnet
输入手机号码,报价结果将发送到您手机
装修顾问-馨馨
4年行业经验,24h可咨询
10秒闪电通过好友
报价短信已发送到您的手机
因材料品牌及工程量不同,具体报价以量房实测为准
稍候装修管家将回电您,免费提供装修咨询服务
您的装修预算约
*装修管家将回电您,免费提供装修咨询服务
*装修管家将回电您,免费提供装修咨询服务
*因材料品牌及工程量不同,具体报价以量房实测为准
装修顾问 -馨馨
(四年装修行业经验)
微信扫一扫
3.&您家小区名称 :&&
请选择您家的装修时间
小白求助中兴交换机如何配置telnet
提问者:鲁鹤梦|
浏览次数:1101|
时间: 18:32:41
我来帮他解答
还可以输入1500字
已有3条回答
回答数:47991
被采纳数:23
设备第一次上电必须使用Console口登录,使用Console口登录设备的方式是实现其他登录方式的前提。例如使用Telnet登录设备所需的IP地址,需要预先通过Console口登录设备后进行配置。使用串口线将PC的COM口和交换机的Console口连接,即可进行配置。
1. 配置设备的管理IP地址(参见1.1)。
2. 配置PC与交换机路由可达,可以ping通:
若PC与交换机直连,将PC的地址设置为与交换机管理地址同一网段;
若PC与交换机非直连,则要配置对应的路由。
3. 配置交换机Telne验证方式为AAA认证 [Quidway]user-interface vty 0 4 [Quidway-ui-vty0-4]authentication-mode aaa
4. 配置telnet登录用户参数,用户名、密码、等级等。 [Quidway]aaa //进入AAA视图 [Quidway-aaa]local-user admin password cipher admin//配置本地用户admin,密码为admin [Quidway-aaa]local-user admin privilege level 3 //配置用户admin等级为3 [Quidway-aaa]local-user admin service-type telnet //配置用户admin的服务类型telnet
若不配置用户等级,则默认为3级。(0级——参观级,1级——监控级,2级——配置级,3级——管理级);以上仅供参考。
回答数:32392
被采纳数:35
1、首先,开启CISCO的TELNET
2、Router&
这是把设备开启之后的用户模式;
3、Router&enable
这个命令是进入特权模式的命令;
4、Router#conf
这个命令是进入全局模式的命令;
5、Router(config)#enable
这个命令是给特权模式设上密码;
6、Router(config)#inter
这个命令是进入路由器的相关端口
给路由器设上密码;
7、Router(config-if)#ip
192.168.2.1
255.255.255.0
设好IP地址;
8、Router(config-if)#no
激活端口;
9、Router(config-if)#exit
退出端口;
10、Router(config)#line
进入这个端口是关于远程登陆的
所以我们要进去设置下;
11、Router(config-line)#password
给这个端口设置上密码;
12、Router(config-line)#
开起验证;
13、Router(config-line)#
回答数:71335
被采纳数:14
登陆以后输入以下内容:
CNTL/en Switch#confi ConfiguriZ?
configuration
commands?.168,
[terminal],
memory.255!. Switch(config)#username
123 Switch(config)#enable实验一:配置路由器/交换机的Telnet登录 - 192.168.1.1-路由器设置 | 192.168.0.1-无线路由器设置
192.168.1.1-路由器设置 | 192.168.0.1-无线路由器设置
实验一:配置路由器/交换机的Telnet登录
1、【实验目的】
学习如何在交换机上启用 Telent,实现通过 Telnet 远程访问交换机。
2、【背景描述】
企业园区网覆盖范围较大时,交换机会分别放置在不同的地点,如果每次配置交换机
都需要在交换机所在地点现场配置,管理员的工作量会很大。此时可以在交换机上进行
Telnet 配置,这样再需要配置交换机时,管理员可以远程以 Telnet 方式登录配置。
3、【需求分析】
需要掌握如何配置交换机的密码,以及如何配置 Telnet,掌握以 Telnet 的方式远程访
问交换机的方法。
4、【实验设备】
二层交换机 1 台;三层交换机 1 台
5、【实验原理】
在两台交换机上配置VLAN 1的 IP 地址, 用双绞线将两台交换机的F0/1端口连接起来,
分别配置 Telnet,然后就可以实现在每台交换机以 Telnet 的方式登录另一台交换机。
6、【实验步骤】
第一步:在两台交换机上配置主机名、管理 IP& 地址
S3760(config)#hostname RRR
!配置 3 层交换机的主机名
RRR(config)#interface vlan 1
!配置 3 层交换机的管理 IP 地址
RRR(config-if)#ip address 192.168.1.1 255.255.255.0
RRR(config-if)#no shutdown
RRR(config-if)#end
S2126G (config)#hostname RR
!配置 2 层交换机的主机名
RR(config)#interface vlan 1
!配置 2 层交换机的管理 IP 地址
RR(config-if)#ip address 192.168.1.2 255.255.255.0
RR(config-if)#no shutdown
RR(config-if)#end
第二步:在三层交换机上配置 Telnet
RRR(config)#enable password 0 star
!配置 enable 的密码
RRR(config)#line vty 0 4
!进入线程配置模式
RRR(config-line)#password 0 star
!配置 Telnet 的密码
RRR(config-line)#login
!启用 Telnet 的用户名密码验证
RRR(config-line)#exit
第三步:在二层交换机上配置 Telnet
RR(config)#enable secret level 1 0 star
!配置 Telnet 的密码,即 level 1 的密码
RR(config)#enable secret 0 star
!配置 enable 密码,默认是 level 15 的密码
第四步:使用 Telnet 远程登录
可以在 3 层交换机 RRR 上以 Telnet 的方式登录 2 层交换机 L2-SW,进行验证:
RRR#telnet 192.168.1.2
Trying 192.168.1.2, 23...
User Access Verification
!提示输入 Telnet 密码,输入设置的密码 star
!提示输入 enable 密码,输入设置的密码 star
!现在已经进入了二层交换机 RR,可以正常的进行配置
!使用 exit 命令退出 Telnet 登录
可以在 2 层交换机 L2-SW 上以 Telnet 的方式登录 3 层交换机RRR,进行验证:
RR#telnet 192.168.1.1
Trying 192.168.1.1 ... Open
User Access Verification
!提示输入 Telnet 密码,输入设置的密码 star
!提示输入 enable 密码,输入设置的密码 star
[Connection to 192.168.1.1 closed by foreign host]
!使用 exit 命令退出 Telnet 登录
【备注事项】
如果没有配置 enable 的密码,将不能登录到交换机进行配置,可以进入用户模式,但
无法进入特权模式,二层交换机此时的提示信息为&% No password set& ,三层交换
机此时的提示信息为&Password required, but none set& 。
7、【具体实现代码】
相关文章列表
本站精华推荐阅读
本类编辑最新推荐
本类热门文章阅读
本站热点推荐阅读
关于我们 -
- 友情链接 -
- 版权声明分享给朋友:Telnet远程管理交换机路由器下载至电脑扫码用手机看用或微信扫码在手机上继续观看二维码2小时内有效Telnet远程管理交换机路由器扫码用手机继续看用或微信扫码在手机上继续观看二维码2小时内有效,扫码后可分享给好友没有优酷APP?立即下载请根据您的设备选择下载版本
药品服务许可证(京)-经营- 请使用者仔细阅读优酷、、、Copyright(C)2017 优酷
版权所有不良信息举报电话:一、实验目标
& 掌握采用telnet方式配置交换机的方法
二、技术原理
&配置交换机的管理IP地址(计算机的IP地址与交换机管理IP地址在同一网段);
&为telnet用户配置用户名和登录口令:
&Switch(config)#enble password& xxxx&&&&&&&&&& //设置进入特权模式的密码;
&Switch(config-line)#password xxxx &&&&&&&&&&&& //可以设置通过console端口连接设备及telnet远程登录时所需要的密码。
Switch(config)#line console 0Switch(config-line)#password xxxx&&&&&&&&&&&&&&&&& //设置通过console端口连接设备的密码Switch(config-line)#loginSwitch(config)#line vty 0 4Switch(config-line)#password xxxx &&&&&&&&&&&&&&&& //设置telnet远程登录密码Switch(config-line)#login
三、实验步骤
Switch&enSwitch#conf tEnter configuration commands, one per line.& End with CNTL/Z.
1、配置交换机的管理IP地址
Switch(config)#interface vlan 1&&&&&&&&&&&&&&&&&&&&&&&&&& //默认情况下交换机所有端口都处于 vlan 1 当中Switch(config-if)#ip address 192.168.1.1 255.255.255.0&&&&& //配置交换机管理IP地址Switch(config-if)#no shutdown&&&&&&&&&&&&&&&&&&&&&&&&&& //开启Interface Vlan1%LINK-5-CHANGED: Interface Vlan1, changed state to upSwitch(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to upSwitch(config-if)#exit
2、设置进入特权模式的密码
Switch(config)#enable password 123456&&&&&&&&&&&& //设置进入特权模式的密码Switch(config)#line console ?& &0-0&& First Line number
3、设置通过console端口连接设备的密码
Switch(config)#line console 0Switch(config-line)#password asdf&&&&&&&&&&&&&&&&&&&&& //设置通过console端口连接设备的密码Switch(config-line)#loginSwitch(config-line)#exitSwitch(config)#line vty ?& &0-15&& First Line number
4、设置telnet远程登录密码
Switch(config)#line vty 0 4Switch(config-line)#password abc123&&&&&&&&&&&&&&&&& //设置telnet远程登录密码Switch(config-line)#login Switch(config-line)#endSwitch#%SYS-5-CONFIG_I: Configured from console by console
5、查看配置情况
Switch#show running-config Building configuration...Current configuration : 1064 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!enable password 123456!!!interface FastEthernet0/1!......!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1&ip address 192.168.1.1 255.255.255.0!!line con 0
&password asdf&login
!line vty 0 4&password abc123&loginline vty 5 15&login!!endSwitch#
1、验证通过console端口连接设备的密码
Press RETURN to get started.User Access VerificationPassword:&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& //这里输入asdf
2、验证进入特权模式的密码
Switch&enPassword:&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& //这里输入123456
3、验证telnet远程登录密码
a. 给PC机设置IP地址
b. 打开Command Prompt
Packet Tracer PC Command Line 1.0
PC&ipconfig
IP Address......................: 192.168.1.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.1.1
PC&ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Request timed out.
Reply from 192.168.1.1: bytes=32 time=32ms TTL=255
Reply from 192.168.1.1: bytes=32 time=32ms TTL=255
Reply from 192.168.1.1: bytes=32 time=31ms TTL=255
Ping statistics for 192.168.1.1:
&&& Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
&&& Minimum = 31ms, Maximum = 32ms, Average = 31ms
PC&telnet 192.168.1.1&&&&&&&&&&&&&&&&&&&&&&&&&&&& //远程登录
Trying 192.168.1.1 ...Open
User Access Verification
Password: &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&//vty密码
Password: &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&//enable密码
Switch#show running-config
Building configuration...
Current configuration : 1063 bytes
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
hostname Switch
enable password 123456
interface FastEthernet0/1
interface FastEthernet0/24
interface GigabitEthernet1/1
interface GigabitEthernet1/2
interface Vlan1
&ip address 192.168.1.1 255.255.255.0
line con 0
&password asdf&login
line vty 0 4
&password abc123
line vty 5 15
阅读(...) 评论()}

我要回帖

更多关于 交换机设置telnet 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信