




已阅读5页,还剩53页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
网络管理与维护 Network Administration And Maintenance 二、配置管理(2),2010年8月,网络管理与维护,1 配置管理(configuration management) 2 故障管理(fault management) 3 性能管理(performance management) 4 安全管理(security management) 5 记帐管理(accounting management),Quidway S3026交换机,配置端口:Console 固定端口:100BASE-TX: 24 扩展插槽:2 扩展模块:1口100BASE-FX单模模块 1口100BASE-FX多模模块 1口100BASE-TX模块 1口1000BASE-SX单模模块 1口1000BASE-LX多模模块 1口1000BASE-T模块,超级终端设置,配置视图 用户视图 系统视图 以太网端口视图 VLAN视图 VLAN接口视图 用户界面视图 ,各种视图的关系,对应于Cisco的模式,用户视图,? User view commands: boot Set boot option cd Change the current path clock Specify the system clock cluster Run cluster command copy Copy the file debugging Enable system debugging functions delete Delete the file,系统视图,Quidway?,配置接口,Quidway-Ethernet0/1?,与Cisco的不同,Console口从用户视图进入系统视图不需要密码(一般在机器所在才能操作,免),默认是3级(最高) 从端口(典型vty)登陆上去,默认是0级: quidway-ui-vty0 authentication-mode none|password|scheme quidway-ui-vty0 4set authentication password simple|cipher xxx none:直接可以登陆,默认0级 password:验证密码后才能登陆,默认是0级 schme:进行用户名和口令验证 需要用到在系统视图下配置的用户(密码、服务类型、登陆级别) 从端口(典型vty)登陆上去的级别可调整(事先Console上去配): quidway-ui-vty0 4user privilege level level quidwayservice-type telnet level level quidwaysuper password level level simple|cipherxxx telnet上去后用super命令,然后输入密码 quidwaytelnet server enable要事先启动telnet服务,用户管理(1),一、设置用户登录验证方式(用户视图下) 设置验证方式:authentication-mode password|scheme 不验证(默认):authentication-mode none 1. 本地口令验证(用户视图下端口) 进入登录限制端口: quidway user-interface vty 0 设置本地验证模式为口令:quidway-ui-vty0 authentication-mode password 设置本地验证口令: quidway-ui-vty0 set authentication password cipher|simple password 取消本地验证口令: quidway-ui-vty0 undo set authentication password,用户管理(2),2. 本地或远端用户名和口令验证(接口模式下) quidway-ui-vty0authentication-mode scheme quidwaylocal-user huawei quidway-user-huaweipassword simple quidway 二、设置指定用户登录后可以访问的命令级别 0参观,1监控,2配置,3管理 本地用户视图下: service-type telnet level level undo service-type telnet level,用户管理(3),三、设置从某用户界面登录后可以访问的命令级别 user privilege level level undo user privilege level 缺省情况: 从console口用户界面登录后可以访问的命令级别为3级 从vty用户界面登录后可以访问的命令级别为0级 注:如果2个级别设置的不同,则以用户的命令级别为准(高于端口的命令级别)。验证!,配置路由器,通过console口配置 通过拨号远程配置 通过telnet方式配置 通过哑终端方式配置 通过FTP方式传送配置文件,通过console口配置,建立本地配置环境,配置口(Console),配置口(console)电缆,R232 串口,步骤一:连接配置电缆,将路由器随机所带的配置电缆取出 RJ45头一端接在路由器的console口上 9针(或25针)RS232接口一端接在PC的串行口上,步骤二:创建超级终端(1),点击“开始 ”“程序”“附件”“超级终端”,步骤二:创建超级终端(2),通过拨号线路远程配置路由器,将路由器和PC分别与modem连接,备份电缆,modem,modem,PSTN/ISDN,通过Telnet配置本地路由器,Quidwaylogin telnet Quidwaylocal-user huawei service-type exec-operator password simple quidway,通过哑终端配置,Quidway-Serial0physical-mode async,同/异步串口口,18,通过FTP配置,在路由器上启动FTP服务器 在终端上启动FTP客户程序,FTP server ,FTP client ,Ethernet,通过FTP配置,启动FTP服务器功能 Quidwayftp server enable 增加用户名并设置密码 Quidwaylocal-user tt Quidway-luser-ttservice-type ftp Quidway-luser-ttpassword simple tt,进入路由器配置界面,Press ENTER key to get start when you see ATS0=1. System now is starting. ATS0=1 Quidway,console,系统视图命令列表,Quidway ?,接口视图命令列表,Quidwayinterface serial 0 Quidway-Serial0?,在线帮助,Quidway display ? aaa AAA information aaa-client Display the buffered voice information acl Display access-list information arp ARP table information bgp BGP protocol information bridge Remote bridge information ,25,命令行错误信息,Quidwaydispaly Incorrect command Quidwaydisplay Incomplete command Quidwaydisplay interface serial 0 0 Too many parameters,历史命令,Quidwaydisplay history-command interface serial 0 exit 或 上一条历史纪录 或 下一条历史纪录,编辑特性,普通按键 输入字符到当前光标位置 退格键BackSpace 删除光标位置的前一个字符 删除键Delete 删除光标位置字符 左光标键 光标相左移动一个字符位置 右光标键 光标相右移动一个字符位置 上下光标键 显示历史命令,显示特性,远程登陆,Vlan接口配置ip地址 interface Vlan-interface1 ip address 54 设置登陆验证方式 user-interface vty 0 4 authentication-mode none | password | scheme 如果选择none,则什么都不需要,但telnet上去后的功能有限(0级),如果选择password,则设置密码,telnet上去后的功能有限 set authentication password cipher | simple 123456 建立telnet用户和密码,可以设置登陆权限03级(3级最高) local-user cai password simple 123456 service-type telnet level 3,保存配置到flash,退出到用户视图 Save 回答Y,ftp,交换机上的一个VLAN 接口配上IP 地址,PC配上IP 地址,交换机和PC 之间路由可达。 在交换机上开启FTP 服务,设置好用户名、密码和路径: Quidway ftp server enable Quidway local-user switch Quidway-luser-switch service-type ftp ftp-directory flash: Quidway-luser-switch password simple hello,在PC 上运行FTP Client 程序,同交换机建立FTP 连接,同时从交换机上下载配置文件vrpcfg.txt,30,口令忘了!怎么办?,进入系统的口令忘了?,重启路由器 按下Ctrl+b 输入Bootrom密码 选择清除密码,重启路由器 修改密码,升级路由器,通过console口升级 通过FTP升级 通过TFTP升级,更多的功能 更简便的配置,通过Console口升级路由器,Quidwayreboot WARNING: System will REBOOT! Continue ?Y/Ny CTR+B Boot Menu: 1: Download application program with XMODEM 2: Download application program with TFTP 3: Clear application password 4: Clear configuration 5: Exit and reboot Enter your choice(1-5): 1,console,通过Console口升级路由器(续),通过FTP升级路由器,FTP server ,启动FTP服务器功能 Quidwayftp-server enable 增加用户名并设置密码 Quidwaylocal-user XXX service-type ftp password simple | cipher 123,ftp,交换机上的一个VLAN 接口配上IP 地址,PC配上IP 地址,交换机和PC 之间路由可达。 在交换机上开启FTP 服务,设置好用户名、密码和路径: Quidway ftp server enable Quidway local-user switch Quidway-luser-switch service-type ftp ftp-directory flash: Quidway-luser-switch password simple hello,在PC 上运行FTP Client 程序,同交换机建立FTP 连接,同时从交换机上下载配置文件vrpcfg.txt,通过TFTP升级路由器,TFTP server ,TFTP client ,Ethernet,选择指定的以太口 在配置电脑上运行TFTP服务器程序 指定应用程序所在的路径 运行超级终端,36,通过TFTP升级路由器,重启路由器并按下“N”键 修改参数(IP地址,文件名等等) 按“C”(continue) 路由器重启后按Ctr+B Boot Menu: 1: Download application program with XMODEM 2: Download application program with TFTP 3: Clear application password 4: Clear configuration 5: Exit and reboot Enter your choice(1-5): 2,基本操作命令,系统状态和系统信息查看命令:display 调试命令:debugging、monitor 测试工具:ping、tracert,38,常用display命令,display version display current-configuration display interface,display version,Quidwaydisplay version Copyright Notice: All rights reserved (Apr 10 2003). Without the owners prior written consent, no decompiling or reverse-engineering shall be allowed. Huawei Versatile Routing Platform Software VRP (R) software, Version 1.74 Release 0006 Copyright (c) 1997-2003 HUAWEI TECH CO., LTD. Quidway R2630E uptime is 0 days 0 hours 3 minutes 10 seconds System returned to ROM by reboot. Quidway R2630E with 1 MPC 8240 Processor Router serial number is 00E0FC067AF8523E 64M bytes SDRAM 8192K bytes Flash Memory 128K bytes NVRAM Config Register points to NVRAM Hardware Version is MTR 1.1 CPLD Version is CPLD 3.0 Bootrom Version is 4.33 AUX AUX Hardware Version is 1.0, Driver Version is 1.0 LAN 1FE Hardware Version is 2.0, Driver Version is 2.0 Slot 1 RTB22SA Hardware Version is 1.1, Driver Version is 1.2,display current-configuration,Quidwaydisplay current-configuration Current configuration sysname huawei-bj ! interface Ethernet0 ip address ! interface Serial0 link-protocol ppp ip address 52 quit ip route-static preference 60 ! return,display interface:显示接口信息,Quidwaydisplay interface serial 0 Serial0 is up, line protocol is up physical layer is synchronous, baudrate is 64000 bps interface is DCE, clock is DCECLK, cable type is RS232 Internet address is 52 Encapsulation is PPP LCP opened, IPCP opened, IPXCP initial 5 minutes input rate 52.63 bytes/sec, 0.96 packets/sec 5 minutes output rate 60.00 bytes/sec, 1.19 packets/sec Input queue is 0/75/0 (current/max/drops) Queueing strategy: FIFO Output Queue :(size/max/drops) 0/75/0 539 packets input, 24907 bytes, 0 no buffers 670 packets output, 29586 bytes, 0 no buffers DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP,调试命令:debugging, info-center,Quidway info-center enable Quidway info-center console debugging Quidway info-center monitor debugging,VLAN 示意,0x8100,Priority,CFI,VLAN ID,标准以太帧,trunk,VLAN1,VLAN2,VLAN tag 帧,VLAN基本配置,配置端口聚合,配置端口聚合 link-aggregation port_num1 to port_num2 ingress | both Quidway link-aggregation ethernet 0/7 to ethernet 0/10 ingress 清除端口聚合 undo link-aggregation master_port_num | a
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 重庆市属事业单位招聘笔试真题2024
- 平面网架屋顶课件
- Flindersine-生命科学试剂-MCE
- FAP-IN-6-生命科学试剂-MCE
- 秦皇岛市抚宁区招聘社区工作者笔试真题2024
- 2025年兴城市事业单位考试真题
- 央企安全培训平台教育课件
- 2025年新能源企业生产设备采购流程优化报告
- 农发行重庆市垫江县2025秋招笔试专业知识题专练及答案
- 2025年文化创意产业园区品牌塑造与产业集聚区域文化产业竞争力研究报告
- GB/T 18747.1-2002厌氧胶粘剂扭矩强度的测定(螺纹紧固件)
- GB 5226.1-2008机械电气安全机械电气设备第1部分:通用技术条件
- 《毛泽东思想和中国特色社会主义理论体系概论》全套课件
- 分时租赁介绍课件
- 第七章-大学生创业实践案例课件
- 燃机三菱控制系统简述课件
- 全尺寸测量报告FAI
- (完整)农村污水处理工程施工组织设计
- 认识五线谱精选PPT
- 维力能醋酸钠林格注射液
- 五四制青岛版2022-2023五年级科学上册第四单元第12课《安全用药》课件(定稿)
评论
0/150
提交评论