




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、课程目标 通过本章的学习,你可以获得以下收获: 掌握ZXR10的基本操作 掌握文件管理系统的操作 掌握接口配置方式 掌握权限分级配置 观察ZXR10基本信息第1页/共48页目录 ZXR10的基本操作 ZXR10系统模式 ZXR10的文件系统 系统参数配置 CLI权限分级配置 端口及接口配置 系统信息第2页/共48页ZXR10配置方式 串口连接配置 TELNET连接配置 SSH连接配置 SNMP连接配置第3页/共48页示例 串口连接1,将PC机与ZXR10进行正确连线之后,点击系统的开始程序附件通讯超级终端,进行超级终端连接2,弹出连接描述对话框时,为新建的连接输入名称并为该连接选择图标 3,选
2、择连接串行口4,设置所选串行口的端口属性。第4页/共48页示例 Telnet连接 在主机上运行telnet命令n点击确定按钮,显示TELNET窗口第5页/共48页CLI特征ZXR10#cl? clear clock ZXR10#clock ? set Set the time and date ZXR10#clock set? setZXR10#clock set ? hh:mm:ss Current TimeZXR10#clock set 17:30:00 ?ZXR10#clok % Invalid input detected at marker. 错误提示在线帮助ZXR10e?enabl
3、e exitZXR10en?enableZXR10enPassword:ZXR10#ZXR10#shZXR10#show ruZXR10#show running-config使用Tab键使简写命令完整显示命令简写第6页/共48页目录 ZXR10的基本操作 ZXR10系统模式 ZXR10的文件系统 系统参数配置 CLI权限分级配置 端口及接口配置 系统信息第7页/共48页System command modes系统上电后通过终端连接启动命令行界面(CLI)1用户模式2特权模式(enable模式) 3全局配置模式4接口配置模式5. Vlan 配置模式6通道配置模式7路由配置模式8. BOOTP模
4、式第8页/共48页用户模式1: 用户模式 登录系统时,将自动进入用户模式; 用户模式下可以执行ping,telnet等命令,还可以查看一些系统信息。ZXR10?Exec commands:disable Turn off privileged commandsenable Turn on privileged commandsExit Exit from the EXECLogin Login as a particular userlogout Exit from the EXECPing Send echo messagesping6 Send IPv6 echo messagesQuit
5、 Quit from the EXECshow Show running system informationtelnet Open a telnet connectiontelnet6 Open a telnet6 connectiontrace Trace route to destinationtrace6 Trace route to destination using IPv6who List users who are logining on第9页/共48页特权模式2:特权模式 在用户模式下输入enable命令和相应口令后,即可进入特权模式 特权模式下可以查看配置信息,也可以进入配
6、置模式进行相关命令配置ZXR10enablePassword: (The input password will not be displayed on the screen)ZXR10#ZXR10# ?Exec commands: cd Change current working directory clear Reset functions clock Manage the system clock configure Enter configuration mode copy Copy from one file to another debug Debugging functions
7、-More-第10页/共48页配置模式3. 配置模式 全局配置模式 接口配置模式 Vlan配置模式 通道配置模式 路由配置模式ZXR10# configure terminalZXR10(config)#ZXR10(config)# interface fei_2/1 ZXR10(config-if)#ZXR10(config)# router ospf 1ZXR10(config-router)#第11页/共48页BOOTP模式4. BOOTP模式 不使用CLI命令 系统维护操作 系统异常时升级版本 配置系统密码System Bootstrap, ZXR10-T1200 System Boo
8、t Version: 1.0Creation date: Apr 18 2007, 10:55:19Copyright (c) 2005 by ZTEPress any key to stop for change parameters.8ZXR10 Boot:ZXR10 Boot:c. = clear field; - = go to previous field; D = quitBoot Location 0:Net,1:Flash : 0(0 indicates booting from the background TFTP,and 1 indicates booting from
9、the FLASH)(Corresponding to the address of the management Ethernet port)第12页/共48页目录 ZXR10的基本操作 ZXR10系统模式 ZXR10的文件系统 系统参数配置 CLI权限分级配置 端口及接口配置 系统信息第13页/共48页Flash文件系统ZXR10# dir -Displays files, subdirectory informationDirectory of flash:/Attribute size date time name1 drwx 4096 JUN-27-2007 15:28:56 cfg
10、2 drwx 4096 JUN-27-2007 15:28:56 data3 drwx 4096 JUL-08-2007 07:51:56 img130015232 bytes total (82857984 bytes free)ZXR10# cd img -Into a file directoryZXR10# pwd -Displays current directory pathflash:/imgZXR10#dir Directory of flash:/imgattribute size date time name1 drwx 4096 JUL-08-2007 07:51:56
11、.2 drwx 4096 JUL-08-2007 07:51:56 .3 -rwx 16364919 MAY-11-2007 11:37:06 ZXR10.ZAR130015232 bytes total (82857984 bytes free) IMG 系统映象文件即版本信息 ZXR10.zar CFG 配置文件 STARTRUN.DAT DATA 记录异常信息 *.zte第14页/共48页系统配置文件 启动文件(startrun.dat) 存在FLASH中,断电重启仍然在 运行文件(running) 存在内存中,断电重启不在Consoleshowrunning-configRAMflas
12、hOr startrun.datRunning-Config第15页/共48页保存配置文件 将现行配置(将现行配置( running)保存到启动配置文件(保存到启动配置文件( startrun.dat)中,中,下次重启时使用该配置。下次重启时使用该配置。ZXR10#ZXR10# writeBuilding configuration.okZXR10#第16页/共48页文件备份n点击菜单项Security,选择User/Rightsn把路由器作为FTP客户端与后台FTP服务器进行通信,执行wftpd32.exe第17页/共48页文件备份n在User/Rights安全设置对话框中进行以下操作, i
13、.点击New User按钮新建一个用户,如target,并设置密码。 ii.在User Name下拉框中选中用户名target。 iii. 在Home Directory框中输入存放版本文件或配置文件的目录。第18页/共48页文件备份n为防止配置信息遭到破坏,可以将其备份,备份操作可用copy命令实现n举例 用户名是who,密码是who,现要将设备文件系统cfg目录中的startrun.dat文件上传至IP地址为的ftp服务器上,操作如下:ZXR10# copy Starting copying file.file copying successful.第19页/共48页文件恢复n执行如下命令
14、可将FLASH中的配置文件从后台TFTP服务器恢复出来n举例 到IP地址为的TFTP服务器上下载名称为“startrun.dat”的文件,并重命名为“startrun.bak”:ZXR10# copy Starting copying file.file copying successful.第20页/共48页目录 ZXR10的基本操作 ZXR10系统模式 ZXR10的文件系统 系统参数配置 CLI权限分级配置 端口及接口配置 系统信息第21页/共48页配置基本系统信息ZXR10(config)# hostname zte-universityzte-university(config)# e
15、xitzte-university# writeBuilding configuration.okzte-university#系统主机名ZXR10(config)# banner incoming #You have entered a secured system.Authorized access only!#ZXR10(config)#系统启动问候语第22页/共48页系统时间ZXR10#clock set 23:12:01 feb 23 2001n配置系统时间ZXR10# clock set 实例:配置系统时间为2001年2月23日23:12: 01。第23页/共48页密码ZXR10(
16、config)#ZXR10(config)# enable secret zteZXR10(config)#n设置登录各级权限的密码ZXR10(config)# enable secret level 0 | 5 |nTelnet用户名和密码配置ZXR10(config)# username password ZXR10(config)# username who password who第24页/共48页目录 ZXR10的基本操作 ZXR10系统模式 ZXR10的文件系统 系统参数配置 CLI权限分级配置 端口及接口配置 系统信息第25页/共48页CLI权限分级 CLI(Command Li
17、ne Interpretation)命令行解析系统,可以针对不同的用户绑定不同的权限等级,从而控制用户使用命令的权限。权限等级越低,可用命令越少;等级越高,可用命令越多;有用最高权限等级的用户(即管理员)能给不同的命令设置不同权限等级,从而完全实现了对命令权限的自定义配置 命令权限分级管理 主要功能是命令权限配置。用户可以执行privilege命令配置或删除某个命令的权限。 用户权限分级管理 功能主要包括:用户配置及删除、用户权限设定、用户登录认证及授权。用户的权限级别分为0-15级共16个级别,默认权限为1,其中0级最低,15级最高,用户权限与用户名、密码信息统一管理。第26页/共48页配置
18、CLI权限分级ZXR10# enable ZXR10# disable 提高或降低当前权限等级,范围015,缺省为15n设置特权模式密码ZXR10(config)# enable secret level 0 | 5 | n设置TELNET的用户和密码ZXR10(config)# username password privilege n配置命令的权限等级ZXR10(config)# privilege all level n显示当前终端的权限级别及命令的权限配置信息ZXR10# show privilege cur-mode | show-mode detail| level | mode
19、第27页/共48页CLI权限分级配置实例 给操作设备的两类用户设置不同的使用权限: A类用户的权限级别为15级(最高级),能够进行查看、配置等所有操作; B类用户的权限级别为5级,但需要能够使用show clock命令来查看设备系统时钟; B类用户可以通过enable命令提高自身权限级别至8级,从而进行时区设置。第28页/共48页CLI权限分级配置实例 修改设备上show clock命令的权限级别,5级 修改设备上clock timezone命令的权限级别,7级ZXR10(config)# privilege show all level 5 show clockZXR10(config)#
20、privilege configure level 7 clockZXR10(config)# privilege configure level 7 clock timezonen创建A、B类两用户,用户名分别为ZTE_A、ZTE_B,用户权限级别分别为15级和5级。ZXR10(config)# username ZTE_A password ZTE_A_15 privilege 15ZXR10(config)# username ZTE_B password ZTE_B_5 privilege 5n设置将用户权限级别提高到8级时的enable密码。ZXR10(config)# enable
21、 secret level 8 level-8第29页/共48页查看用户权限ZTE-A 查看用户名ZTE_A的用户权限:Username: ZTE_APassword:ZXR10#show privilegeCurrent privilege level is 15n显示用户ZTE_A在特权配置模式下能够操作的命令ZXR10# ?Exec commands:alarm-confirm Confirm the alarm by flowidcd Change current directorycfm Executing CFM detecting functionsClear Reset fun
22、ctionsclock Manage the system clockconfigure Enter configuration modecopy Copy from one file to another by ftp/tftpcp Copy from one file to another locallydebug Debugging functionsdelete Delete a file-More第30页/共48页查看命令权限ZTE-An显示用户ZTE_A在全局配置模式下能够操作的命令ZXR10# configure terminalEnter configuration comma
23、nds, one per line. End with CTRL/Z.ZXR10(config)# ?Configure commands:aaa-accounting-template AAA accounting template configurationsaaa-authentication-template AAA authentication template configurationsaaa-authorization-template AAA authorization template configurationsalarm Configure the alarm para
24、metersarp Enter ARP configuration modebanner Terminal line bannerbfd Configure bfdCfm Enter CFM configuration modeclass-map Configure H-QoS class mapclear Clear controller-counter infoclock Configure board clock-More第31页/共48页查看用户权限ZTE-B 查看用户名ZTE_B的用户权限:Username: ZTE_BPassword:ZXR10# show privilegeCu
25、rrent privilege level is 5n显示用户ZTE_B在特权配置模式下能够操作的命令ZXR10# ?Exec commands:cd Change current directoryclock Manage the system clockconfigure Enter configuration modedebug Debugging functionsdir List files on a filesystemdisable Turn off privileged commandsenable Turn on privileged commandsexit Exit fr
26、om the EXECkick-off Kick off DHCP usersl2trace Trace route to destination第32页/共48页查看命令权限ZTE-Bn显示用户ZTE_B在全局配置模式下能够操作的命令ZXR10# configure terminalEnter configuration commands, one per line. End with CTRL/Z.ZXR10(config)# ?Configure commands:clear Clear controller-counter infoend Exit from configure mod
27、eexit Exit from configure modeshow Show running system informationZXR10(config)#ZXR10(config)# show ?clock Show current system clockprivilege Show current privilege levelZXR10(config)# show clock ?detail Display detailed informationpiu Show interface subcard clock mode第33页/共48页查看用户权限ZTE-Bn将用户名ZTE_B的
28、权限级别提升至8级Username: ZTE_BPassword:ZXR10#show privilegeCurrent privilege level is 5ZXR10# enable 8Password:ZXR10# show privilegeCurrent privilege level is 8n显示用户ZTE_B在全局配置模式下能够操作的命令ZXR10(config)#?Configure commands:clear Clear controller-counter infoclock Configure board clockend Exit from configure m
29、odeexit Exit from configure modeno Negate a command or set its defaultsshow Show running system informationZXR10(config)# clock ?timezone Configure time zone第34页/共48页目录 ZXR10的基本操作 ZXR10系统模式 ZXR10的文件系统 系统参数配置 CLI权限分级配置 端口及接口配置 系统信息第35页/共48页端口类型 FEI: 快速以太网端口 GEI: 千兆以太网端口 XGEI: 万兆以太网端口命名规则 _/第36页/共48页以
30、太网端口配置1. 进入端口配置模式ZXR10(config)# interface 2. 打开以太网端口ZXR10(config-if)# no shutdown3. 启用以太网端口自动协商ZXR10(config-if)# negotiation auto4. 设置以太网端口双工模式ZXR10(config-if)# duplex half|full5. 设置以太网端口速率ZXR10(config-if)# speed 10|100|1000第37页/共48页查看端口信息ZXR10(config)# show interface gei_2/1gei_2/1 is down, line pr
31、otocol is downDescription is noneKeepalive set:10 secThe port is electricDuplex halfMdi type:autovlan mode is access, pvid 2Vrpf All Discard Count:0 BW 1000000 KbitsLast clearing of show interface counters never120 seconds input rate 0 Bps, 0 pps120 seconds output rate 0 Bps, 0 ppsInterface peak rat
32、e : input 0 Bps, output 0 BpsInterface utilization: input 0%, output 0%/* Statistic of input/output transmit message,including statistic of error message */Input:Packets : 338 Bytes: 41572Unicasts : 0 Multicasts: 328 Broadcasts: 10 查看以太网端口状态信息ZXR10(config)# show interface 第38页/共48页查看端口信息ZXR10(config
33、)# show running-config interface fei_2/4Building erface fei_2/4negotiation autobroadcast-limit 10switchport access vlan 1switchport qinq normal查看以太网端口配置信息ZXR10(config)# show running-config interface 第39页/共48页目录 ZXR10的基本操作 ZXR10系统模式 ZXR10的文件系统 系统参数配置 CLI权限分级配置 端口及接口配置 系统信息第40页/共48页系统
34、信息硬件版本ZXR10# show version hardwareMEC, panel 2, masterMain processor: PowerPC MPC8541 ProcessorSystem Memory : 1024M bytes , System Flash : 64M bytesSystem Serial : 15206 , System BaudRate : 9600System Nvram : 8192 bytes , Temperature : 26 Celsius degreeCPUcard CPLD : V1.4 , CPLD Version : V1.2Syste
35、m SD : 0M bytesBoard Serial : N/ABoard Name : RS-8902-MCSNPCI, panel 1Main processor: PowerPC MPC8347EAT ProcessorSystem Memory : 1024M bytes , System Flash : 16M bytesBoard Type : UMTE , Port Number : 12CPLD Version : V1.2Temperature : 31 Celsius degreeBoard Name : RS-89E3-12GE-RJ4SFPNetwork Proces
36、sor : OnlineNetwork Processor Status : ENABLENetwork Processor Temperature : No.1: 49 Celsius degree,47 Celsius degree第41页/共48页系统信息软件版本ZXR10# show version softwareSOFTWARECopyright (c) 2001-2009 by ZTE CorporationCompiled Jan 11 2011, 12:12:47ZXR10 Router Operating System Software, ZTE CorporationSy
37、stem image files are local: /flash/img/zxr10.zarZXR10# show version mec 2 PanelNo 2 MEC (Master) version information: PCB Version: 071200 FPGA Version: Vf.f CPLD Version: V1.2 Processor version information: Boot Version: V2.00 DRAM memory size: 1024M Bytes Flash memory size:64M Bytes NVRAM memory si
38、ze:8192K BytesZXR10# show version npc 1 PanelNo 1 NPC main version information: PCB Version: 071201 FPGA Version: V1.0 CPLD Version: V1.2 Processor1 (Master NP) version information: Boot Version: V1.85 DRAM memory size:1024M Bytes第42页/共48页系统信息配置和CPUZXR10# show run Building erface vlan 1ZXR10# show processorM: Master processorS: Slave
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 银行引流推广活动方案
- 焊工考试题 题库及答案
- 共性学法考试题及答案
- 公交操作考试题及答案
- 幼儿园教学教案设计:安全用吸管
- 房产行业考试题及答案
- 企业培训需求分析工具员工成长支持
- 安全健康作业保障承诺书3篇
- 把握文章的内在逻辑:初中语文课文深度解读教案
- 医疗用品购销及设备租赁合同
- 2025至2030年中国密炼机上辅机系统行业投资前景及策略咨询研究报告
- 《T CPSS 1013-2021-开关电源电子元器件降额技术规范》
- 四川省德阳市中江县2024-2025学年九年级上学期期中考试英语试题(无答案)
- 2024年职工职业技能大赛数控铣工赛项理论考试题库-下(多选、判断题)
- 房地产行业市场调查报告
- 资金分析师职业鉴定考试复习题及答案
- 三级筑路工(高级)职业技能鉴定考试题库(含答案)
- 中职英语第三版第一册Unit1-Lesson1-课件
- 窗帘订购合同范本简单
- 人教版:生命生态安全六年级上册教案
- 抖音洗浴按摩足浴商家本地团购短视频直播运营策划方案【抖音本地生活运营】
评论
0/150
提交评论