ZXR10--设备基本操作(ZXR10-路由交换机基本操作和配置)_第1页
ZXR10--设备基本操作(ZXR10-路由交换机基本操作和配置)_第2页
ZXR10--设备基本操作(ZXR10-路由交换机基本操作和配置)_第3页
ZXR10--设备基本操作(ZXR10-路由交换机基本操作和配置)_第4页
ZXR10--设备基本操作(ZXR10-路由交换机基本操作和配置)_第5页
已阅读5页,还剩43页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、ZXR10 路由交换机基本操作和配置V2.1课程目标n通过本章的学习,你可以获得以下收获:l掌握ZXR10的基本操作l掌握文件管理系统的操作l掌握接口配置方式l掌握权限分级配置l观察ZXR10基本信息目录nZXR10的基本操作的基本操作nZXR10系统模式nZXR10的文件系统n系统参数配置nCLI权限分级配置n端口及接口配置n系统信息ZXR10配置方式n串口连接配置串口连接配置nTELNET连接配置连接配置nSSH连接配置连接配置nSNMP连接配置连接配置示例 串口连接1,将PC机与ZXR10进行正确连线之后,点击系统的开始程序附件通讯超级终端,进行超级终端连接2,弹出连接描述对话框时,为新

2、建的连接输入名称并为该连接选择图标 3,选择连接串行口4,设置所选串行口的端口属性。示例 Telnet连接n在主机上运行telnet命令n点击确定按钮,显示TELNET窗口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. 错误提示错误提示在线帮助在线帮

3、助ZXR10e?enable exitZXR10en?enableZXR10enPassword:ZXR10#ZXR10#shZXR10#show ruZXR10#show running-config使用Tab键使简写命令完整显示命令简写命令简写目录nZXR10的基本操作nZXR10系统模式系统模式nZXR10的文件系统n系统参数配置nCLI权限分级配置n端口及接口配置n系统信息System command modesn系统上电后通过终端连接启动命令行界面(CLI)1用户模式2特权模式(enable模式) 3全局配置模式4接口配置模式5. Vlan 配置模式6通道配置模式7路由配置模式8.

4、BOOTP模式用户模式1: 用户模式l登录系统时,将自动进入用户模式;l用户模式下可以执行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 Q

5、uit 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特权模式2:特权模式:特权模式n在用户模式下输入enable命令和相应口令后,即可进入特权模式n特权模式下可以查看配置信息,也可以进入配置模式进行

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-More

7、-配置模式3. 配置模式l全局配置模式l接口配置模式lVlan配置模式l通道配置模式l路由配置模式ZXR10# configure terminalZXR10(config)#ZXR10(config)# interface fei_2/1 ZXR10(config-if)#ZXR10(config)# router ospf 1ZXR10(config-router)#BOOTP模式4. BOOTP模式n不使用CLI命令 n系统维护操作n系统异常时升级版本n配置系统密码System Bootstrap, ZXR10-T1200 System Boot Version: 1.0Creation

8、 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 the FLASH)Client IP 0:

9、bootp: 68(Corresponding to the address of the management Ethernet port)Netmask: 目录nZXR10的基本操作nZXR10系统模式nZXR10的文件系统的文件系统n系统参数配置nCLI权限分级配置n端口及接口配置n系统信息Flash文件系统ZXR10# dir -Displays files, subdirectory informationDirectory of flash:/Attribute size date time name1 drwx 4096 JUN-27-

10、2007 15:28:56 cfg2 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-

11、08-2007 07:51:56 .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)nIMG 系统映象文件即版本信息 ZXR10.zarnCFG 配置文件 STARTRUN.DATnDATA 记录异常信息 *.zte系统配置文件n启动文件(startrun.dat) 存在FLASH中,断电重启仍然在n运行文件(running) 存在内存中,断电重启不在Consoleshowrunning-confi

12、gRAMflashOr startrun.datRunning-Config保存配置文件 将现行配置(将现行配置( running)保存到启动配置文件(保存到启动配置文件( startrun.dat)中,下次重中,下次重启时使用该配置。启时使用该配置。ZXR10#ZXR10# writeBuilding configuration.okZXR10#文件备份n点击菜单项Security,选择User/Rightsn把路由器作为FTP客户端与后台FTP服务器进行通信,执行wftpd32.exe文件备份n在User/Rights安全设置对话框中进行以下操作, i.点击New User按钮新建一个用户

13、,如target,并设置密码。 ii.在User Name下拉框中选中用户名target。 iii. 在Home Directory框中输入存放版本文件或配置文件的目录。文件备份n为防止配置信息遭到破坏,可以将其备份,备份操作可用copy命令实现n举例 用户名是who,密码是who,现要将设备文件系统cfg目录中的startrun.dat文件上传至IP地址为44的ftp服务器上,操作如下:ZXR10# copy ZXR10#copy root /cfg/startrun.dat 44/startrun.datwho:whoStarting

14、copying file.file copying successful.文件恢复n执行如下命令可将FLASH中的配置文件从后台TFTP服务器恢复出来n举例 到IP地址为44的TFTP服务器上下载名称为“startrun.dat”的文件,并重命名为“startrun.bak”:ZXR10# copy ZXR10# copy ftp: /44/startrun.datwho:who root /cfg/startrun.bakStarting copying file.file copying successful.目录nZXR10的基本操作nZXR1

15、0系统模式nZXR10的文件系统n系统参数配置系统参数配置nCLI权限分级配置n端口及接口配置n系统信息配置基本系统信息ZXR10(config)# hostname zte-universityzte-university(config)# exitzte-university# writeBuilding configuration.okzte-university#系统主机名系统主机名ZXR10(config)# banner incoming #You have entered a secured system.Authorized access only!#ZXR10(config)

16、#系统启动问候语系统启动问候语系统时间ZXR10#clock set 23:12:01 feb 23 2001n配置系统时间ZXR10# clock set 实例:配置系统时间为2001年2月23日23:12: 01。密码ZXR10(config)#ZXR10(config)# enable secret zteZXR10(config)#n设置登录各级权限的密码ZXR10(config)# enable secret level 0 | 5 |nTelnet用户名和密码配置ZXR10(config)# username password ZXR10(config)# username who

17、 password who目录nZXR10的基本操作nZXR10系统模式nZXR10的文件系统n系统参数配置nCLI权限分级配置权限分级配置n端口及接口配置n系统信息CLI权限分级nCLI(Command Line Interpretation)命令行解析系统,可以针对不同的用户绑定不同的权限等级,从而控制用户使用命令的权限。权限等级越低,可用命令越少;等级越高,可用命令越多;有用最高权限等级的用户(即管理员)能给不同的命令设置不同权限等级,从而完全实现了对命令权限的自定义配置l 命令权限分级管理命令权限分级管理 主要功能是命令权限配置。用户可以执行privilege命令配置或删除某个命令的权

18、限。l用户权限分级管理用户权限分级管理 功能主要包括:用户配置及删除、用户权限设定、用户登录认证及授权。用户的权限级别分为0-15级共16个级别,默认权限为1,其中0级最低,15级最高,用户权限与用户名、密码信息统一管理。配置CLI权限分级ZXR10# enable ZXR10# disable n提高或降低当前权限等级,范围015,缺省为15n设置特权模式密码ZXR10(config)# enable secret level 0 | 5 | n设置TELNET的用户和密码ZXR10(config)# username password privilege n配置命令的权限等级ZXR10(c

19、onfig)# privilege all level n显示当前终端的权限级别及命令的权限配置信息ZXR10# show privilege cur-mode | show-mode detail| level | mode CLI权限分级配置实例n给操作设备的两类用户设置不同的使用权限:lA类用户的权限级别为15级(最高级),能够进行查看、配置等所有操作;lB类用户的权限级别为5级,但需要能够使用show clock命令来查看设备系统时钟;lB类用户可以通过enable命令提高自身权限级别至8级,从而进行时区设置。CLI权限分级配置实例n修改设备上show clock命令的权限级别,5级n

20、修改设备上clock timezone命令的权限级别,7级ZXR10(config)# privilege show all level 5 show clockZXR10(config)# 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(con

21、fig)# username ZTE_B password ZTE_B_5 privilege 5n设置将用户权限级别提高到8级时的enable密码。ZXR10(config)# enable secret level 8 level-8查看用户权限ZTE-An查看用户名ZTE_A的用户权限:Username: ZTE_APassword:ZXR10#show privilegeCurrent privilege level is 15n显示用户ZTE_A在特权配置模式下能够操作的命令ZXR10# ?Exec commands:alarm-confirm Confirm the alarm b

22、y flowidcd Change current directorycfm Executing CFM detecting functionsClear Reset functionsclock 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查看命令权限ZT

23、E-An显示用户ZTE_A在全局配置模式下能够操作的命令ZXR10# configure terminalEnter configuration commands, 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-te

24、mplate AAA authorization template configurationsalarm Configure the alarm parametersarp 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查看用户权限

25、ZTE-Bn查看用户名ZTE_B的用户权限:Username: ZTE_BPassword:ZXR10# show privilegeCurrent 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

26、off privileged commandsenable Turn on privileged commandsexit Exit from the EXECkick-off Kick off DHCP usersl2trace Trace route to destination查看命令权限ZTE-Bn显示用户ZTE_B在全局配置模式下能够操作的命令ZXR10# configure terminalEnter configuration commands, one per line. End with CTRL/Z.ZXR10(config)# ?Configure commands:cl

27、ear Clear controller-counter infoend Exit from configure modeexit 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

28、 interface subcard clock mode查看用户权限ZTE-Bn将用户名ZTE_B的权限级别提升至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 infoc

29、lock Configure board clockend Exit from configure modeexit Exit from configure modeno Negate a command or set its defaultsshow Show running system informationZXR10(config)# clock ?timezone Configure time zone目录nZXR10的基本操作nZXR10系统模式nZXR10的文件系统n系统参数配置nCLI权限分级配置n端口及接口配置端口及接口配置n系统信息端口类型nFEI: 快速以太网端口nGEI

30、: 千兆以太网端口nXGEI: 万兆以太网端口命名规则 _/以太网端口配置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查看端口信息ZXR10(config)# show interface gei_2/1ge

31、i_2/1 is down, line protocol 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

32、 ppsInterface peak rate : 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 查看端口信

33、息ZXR10(config)# 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 目录nZXR10的基本操作nZXR10系统模式nZXR10的文件系统n系统参数配置nCLI权限分级配置n端口及接口配置n系统信息系统信息系统信

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.2System

35、 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 Process

36、or : OnlineNetwork Processor Status : ENABLENetwork Processor Temperature : No.1: 49 Celsius degree,47 Celsius degree系统信息软件版本ZXR10# show version softwareZXR10 8902 Software, Version ZXR10 G-Series&8900&6900 V2.8.02.C.50.P07, RELEASESOFTWARECopyright (c) 2001-2009 by ZTE CorporationCompiled J

37、an 11 2011, 12:12:47ZXR10 Router Operating System Software, ZTE CorporationZXR10 ROS Version V4.08.24R1System 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 i

38、nformation: Boot Version: V2.00 DRAM memory size: 1024M Bytes Flash memory size:64M Bytes NVRAM memory size: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系统信息配置和CPUZXR10# show run Building erface vlan 1 ip address 10.40.

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论