




已阅读5页,还剩2页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
华为基础实验实验要求:一、对R1、R2进行基础配置二、使R2能用telnet远程管理R1三、配置用户huawei和qwer,权限分别为15和1,都允许用户用telnet远程管理R1实验配置:一、基础配置:以R1的配置为例:system-view /进入全局模式 Huaweisysname R1 /重命名路由器 R1user-interface console 0 /进入console口的配置模式R1-ui-console0idle-timeout 0 0 /设置会话永不超时R1-ui-console0quitR2的基础配置与R1配置相似,在此省略。二、实现R2以telnet方式远程管理R11 先配置R1和R2的IP地址,并测试连通性。R1配置:R1int g0/0/0R1-GigabitEthernet0/0/0ip add 24 R1-GigabitEthernet0/0/0undo shutdownR2的配置:R2int g0/0/0R2-GigabitEthernet0/0/0ip add 24R2-GigabitEthernet0/0/0undo shutdown在R1上pingR2测试连通性:R1ping PING : 56 data bytes, press CTRL_C to break Reply from : bytes=56 Sequence=1 ttl=255 time=10 ms Reply from : bytes=56 Sequence=2 ttl=255 time=1 ms Reply from : bytes=56 Sequence=3 ttl=255 time=1 ms Reply from : bytes=56 Sequence=4 ttl=255 time=1 ms Reply from : bytes=56 Sequence=5 ttl=255 time=1 ms - ping statistics - 5 packet(s) transmitted 5 packet(s) received 0.00% packet lossround-trip min/avg/max = 1/2/10 ms测试成功,配置telnet密码,实现R2以telnet的远程管理R1。R1上的配置:R1user-interface vty 0 4 /设置vty模式R1-ui-vty0-4authentication-mode password /设置登录密码为huaweiPlease configure the login password (maximum length 16):huaweiR1-ui-vty0-4user privilege level 3 /用户权限为3R1-ui-vty0-4quit在R2进行telnet测试:telnet Press CTRL_ to quit telnet mode Trying . Connected to .Login authenticationPassword:system-view Enter system view, return user view with Ctrl+Z.R1 /登陆成功三、在R1分别配置用户huawei和qwer,并赋予权限先分别为15和3,并在R2上进行测试。R1上的配置:R1user-interface vty 0 4 R1-ui-vty0-4authentication-mode aaa /设置认证模式为AAAR1-ui-vty0-4quitR1aaa /进入AAA配置模式R1-aaalocal-user huawei password cipher huawei privilege level 15 /设置用户名、密码和用户权限R1-aaalocal-user huawei service-type telnet /允许用户以telnet方式管理R1-aaaquit在R2上以用户华为登陆,并测试。telnet Press CTRL_ to quit telnet mode Trying . Connected to .Login authenticationUsername:huaweiPassword:syssystem-view Enter system view, return user view with Ctrl+Z.R1R2登陆成功,并且能进入全局模式。在R1建立用户qwer,并设置权限为1,在R2上进行测试。R1aaaR1-aaalocal-user qwer password cipher qwer privilege level 1R1-aaalocal-user qwer service-type telnet R1-aaaquit在R2上测试:telnet Press CTRL_ to quit telnet mode Trying . Connected to .Login authenticationUsername:qwerPassword:syssys Error: Unrecognized command found at position.由于qwer的权限较低,所以只能以telnet方式登陆R1进行查看,但不能进行管理。配置登录提示信息:R1上的配置:R1header login information Welcome to TECH-LABR1header shell information Welcome to Huawei-labR2上用huawei用户以telnet登录进行测试,查看提示信息。telnet Press CTRL_ to quit telnet mode Trying . Connected to .Welcome to TECH-LAB /login关键字是配置登录以前的提示信息Login authenticationUsername:huaweiPassword:Welcome to Huawei-lab /shell关键字是配置登录以后的提示信息 - User last login information: - Access Type: Telnet IP-Address : Time : 2014-07-18 16:17:48-05:13 -sysystem-view Enter system view, return user view with Ctrl+Z.R1实验配置的导出:R1的实验配置:R1display current-configuration V200R003C00# sysname R1 header shell information Welcome to Huawei-lab header login information Welcome to TECH-LAB# snmp-agent local-engineid 800007DB03000000000000 snmp-agent # clock timezone Indian Standard Time minus 05:13:20 clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23 00:00 2005 2005 #portal local-server load portalpage.zip# drop illegal-mac alarm# set cpu-usage threshold 80 restore 75#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user qwer password cipher %$%$q$ZN1.v$OEMOINjS7ko/%$%$ local-user qwer privilege level 1 local-user qwer service-type telnet local-user admin password cipher %$%$K8m.Nt84DZe#!Cn&KSOUUHLJFkdN|%$%$ local-user huawei privilege level 15 local-user huawei service-type telnet#firewall zone Local priority 15#interface Ethernet0/0/0#interface Ethernet0/0/1#interface Ethernet0/0/2#interface Ethernet0/0/3#interface Ethernet0/0/4#interface Ethernet0/0/5#interface Ethernet0/0/6#interface Ethernet0/0/7#interface GigabitEthernet0/0/0 ip address #interface GigabitEthernet0/0/1#interface NULL0#user-interface con 0 authentication-mode password idle-timeout 0 0user-interface vty 0 4 authentication-mode aaa user privilege level 3user-interface vty 16 20#wlan ac#returnR1R2的实验配置:display current-configuration V200R003C00# sysname R2# snmp-agent local-engineid 800007DB03000000000000 snmp-agent # clock timezone Indian Standard Time minus 05:13:20 clock daylight-saving-time Day Light Saving Time repeating 12:32 9-1 12:32 11-23 00:00 2005 2005 #portal local-server load portalpage.zip# drop illegal-mac alarm# set cpu-usage threshold 80 restore 75#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher %$%$K8m.Nt84DZe#08bmE3Uw%$%$ local-user admin service-type http#firewall zone Local priority 15#interface Ethernet0/0/0#interface Ethernet0/0/1#interface Ethernet0/0/2#interface Ethernet0/0/3#interface Ethernet0/0/4#interface Ethernet0/0/5#interface Ethernet0/
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年高端体育场馆装修与全方位运动设备配置安装合同
- 2025年高新技术产品专利授权与合作开发合同
- 2025年度生物制药进口代理与销售合作框架协议
- 2025年知名咖啡连锁品牌加盟店保密协议及禁止同业竞争合同
- 2025年跨境电商平台运营策略咨询及全网营销服务合同
- 钢筋班组年度职业发展及技能培训合作协议
- 2025年度专业术后康复护理服务合作协议
- 2025年度绿色建筑办公楼智能化改造项目施工总承包协议
- 2025电子商务企业客户服务专员聘用协议书
- 2025版全新智能物流系统保密协议模板
- (2025)全国学生学宪法讲宪法知识题库附含答案
- 2025 年小升初临汾市初一新生分班考试数学试卷(带答案解析)-(人教版)
- 华东师大版(2024)七年级体育与健康全一册教案
- 基层农业知识培训课件
- 2025版劳动合同范本下载
- 2025-2026学年西师大版(2024)小学数学二年级上册教学计划及进度表
- 2025年全国“质量月”质量知识竞赛题库及答案
- 福建卷(未来总是甜的)-2025年中考语文作文题解读
- 子宫多发性平滑肌瘤的个案护理
- 项目保密管理措施及方案
- 山东护士招聘考试题库及答案
评论
0/150
提交评论