侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

CCNA实验:配置VTY接口使用本地用户名与密码进行登录

2023-04-03 星期一 / 0 评论 / 0 点赞 / 78 阅读 / 1092 字

第一步:配置用户名密码R2(config)#username admin privilege 15 password adminR2(config)#username cisco autocomman

.

第一步:配置用户名密码
R2(config)#username admin privilege 15 password admin
R2(config)#username cisco autocommand show ip int b
R2(config)#username cisco password cisco
R2(config)#line vty 0 4
R2(config-line)# login local

第二步:验证admin用户
R1#telnet 12.0.0.2
Trying 12.0.0.2 ... Open

User Access Verification

Username: admin
Password:
R2#
(已经成功远程登录到R2)
第三步:验证cisco用户,上面配置此用户只能查看show ip int b命令

R1#telnet 12.0.0.2
Trying 12.0.0.2 ... Open

User Access Verification

Username: cisco
Password:
(输入密码后直接运行命令)
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 12.0.0.2 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
[Connection to 12.0.0.2 closed by foreign host]

.

广告 广告

评论区