Telnet实验

要求:
1,配置三台路由器的主机名,IP地址
2,配置R1为Password认证,级别=15
3,配置R2为AAA认证,用户名为hcip,级别=1
4,配置R3为AAA认证,用户名为hcip,级别=2

拓扑图:

配置命令:

AR1

sys
sysname R1
int g0/0/0
ip add 1.0.0.2 24
q
user-interface vty 0 4
user privilege level 15
set authentication password cipher hcia

AR2

sys 
sysname R2
int g0/0/0
ip add 1.0.0.3 24
q
user-interface vty 0 4
authentication-mode aaa
user privilege level 1
aaa
local-user hcip password chipher passwd
local-user hcip privilege level 1
loacal-user hcip service-type telnet

AR3

sys
sysname R3
int g0/0/0
ip add 1.0.0.4 24
q
user-interface vty 0 4
authentication-mode aaa
user privilege level 2
aaa
local-user hcip password chipher passwd
local-user hcip privilege level 2
local-user hcip service-type telnet

验证:

R3Telnet登录R1

<R3>telnet 1.0.0.2
  Press CTRL_] to quit telnet mode
  Trying 1.0.0.2 ...
  Connected to 1.0.0.2 ...

Login authentication

Password:
<R1>

R1Telnet登录R3

<R1>telnet 1.0.0.4
  Press CTRL_] to quit telnet mode
  Trying 1.0.0.4 ...
  Connected to 1.0.0.4 ...

Login authentication

Username:hcip
Password:
<R3>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值