![2-1 VRP系统路由器信息_第1页](http://file4.renrendoc.com/view2/M03/33/3A/wKhkFmYCVcWAe5GuAADXyBAdf80075.jpg)
![2-1 VRP系统路由器信息_第2页](http://file4.renrendoc.com/view2/M03/33/3A/wKhkFmYCVcWAe5GuAADXyBAdf800752.jpg)
![2-1 VRP系统路由器信息_第3页](http://file4.renrendoc.com/view2/M03/33/3A/wKhkFmYCVcWAe5GuAADXyBAdf800753.jpg)
![2-1 VRP系统路由器信息_第4页](http://file4.renrendoc.com/view2/M03/33/3A/wKhkFmYCVcWAe5GuAADXyBAdf800754.jpg)
![2-1 VRP系统路由器信息_第5页](http://file4.renrendoc.com/view2/M03/33/3A/wKhkFmYCVcWAe5GuAADXyBAdf800755.jpg)
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
2024/3/26之VRP系统泰克路由交换精英培训前言
通用路由平台VRP(VersatileRoutingPlatform)是华为公司数据通信产品的通用操作系统平台,它以IP业务为核心,采用组件化的体系结构,在实现丰富功能特性的同时,还提供了基于应用的可裁剪和可扩展的功能,使得路由器和交换机的运行效率大大增加。能对VRP熟练地进行配置和操作是对网络工程师的一种基本要求。学习目标
学完本课程后,您应该能:掌握交换机和路由器的应用场景掌握冲突域和广播域的区别了解VRP的基础知识VRP介绍无线交换网管安全路由VRP的发展集中式设计适用中低端设备性能比较低分布式设计分布式平台支持众多特性支持核心路由器组件化设计应用于华为多个产品高性能多进程组件化设计支持多CPU、多框1998-20011999-20002000-20042004-Now2009-Now集中式分布式高可靠性多进程、多框、多核VRP1VRP2VRP3VRP5VRP8设备管理接口ConsoleMiniUSBAR2200ES5720ConsoleConsole口登录主机ARTAConsole线Console口COM口参数配置PressanykeytogetstartedLoginauthenticationUsername:adminPassword:Warning:Thereisariskinthecurrentconfigurationfile.Pleasesaveconfigurationassoonaspossible.<Huawei>Warning:Auto-Configisworking.Beforeconfiguringthedevice,stopAuto-Config.IfyouperformconfigurationswhenAuto-Configisrunning,theDHCP,routing,DNS,andVTYconfigurationswillbelost.DoyouwanttostopAuto-Config?[y/n]:yInfo:Auto-Confighasbeenstopped.<Huawei>MiniUSB口登录主机ARTAUSB线MiniUSB口USBMiniUSB驱动安装参数配置PressanykeytogetstartedLoginauthenticationUsername:adminPassword:Warning:Thereisariskinthecurrentconfigurationfile.Pleasesaveconfigurationassoonaspossible.<Huawei>Warning:Auto-Configisworking.Beforeconfiguringthedevice,stopAuto-Config.IfyouperformconfigurationswhenAuto-Configisrunning,theDHCP,routing,DNS,andVTYconfigurationswillbelost.DoyouwanttostopAuto-Config?[y/n]:yInfo:Auto-Confighasbeenstopped.<Huawei>设备初始化启动Page12BIOSCreationDate:Jan52013,18:00:24DDRDRAMinit:OKStartMemoryTest?('t'or'T'istest):skipCopyingData:DoneUncompressing:Done……PressCtrl+Btobreakautostartup...1Nowbootfromflash:/AR2220E-V200R007C00SPC600.cc,……<Huawei>Warning:Auto-Configisworking.Beforeconfiguringthedevice,stopAuto-Config.IfyouperformconfigurationswhenAuto-Configisrunning,theDHCP,routing,DNS,andVTYconfigurationswillbelost.DoyouwanttostopAuto-Config?[y/n]:Y命令行视图接口视图用户视图系统视图协议视图查看运行状态或其他参数配置设备的系统参数等配置接口参数配置路由协议<Huawei>system-viewEntersystemview,returnuserviewwithCtrl+Z.[Huawei]interfaceGigabitEthernet0/0/0[Huawei-GigabitEthernet0/0/0]命令行功能命令功能CTRL+A把光标移动到当前命令行的最前端CTRL+C停止当前命令的运行CTRL+Z回到用户视图CTRL+]终止当前连接或切换连接<Huawei>system-view
Entersystemview,returnuserviewwithCtrl+Z.[Huawei]^z//Ctrl+Z<Huawei>命令行功能命令功能Backspace删除光标左边的第一个字符←orCtrl+B光标左移一位→orCtrl+F光标右移一位TAB输入一个不完整的命令并按TAB键,就可以补全该命令[Huawei]inter//TAB[Huawei]interface命令行在线帮助命令行在线帮助部分帮助<Huawei>d?<Huawei>displayh?完全帮助<Huawei>?<Huawei>display?[Huawei]d?
ddns
dhcp
dhcpv6diagnose
display
dns
domaindot1x基本配置步骤命令功能sysname配置设备名称<Huawei>system-viewEntersystemview,returnuserviewwithCtrl+Z.[Huawei]sysnameRTA[RTA]配置系统时钟命令功能clocktimezone设置所在时区clockdatetime设置当前时间和日期clockdaylight-saving-time设置采用夏时制<Huawei>clocktimezoneBJadd08:00:00<Huawei>clockdatetime10:20:292016-04-11<Huawei>displayclock2016-04-1110:20:48ThursdayTimeZone(BJ):UTC+08:00命令功能headerlogin配置在用户登陆前显示的标题消息headershell配置在用户登陆后显示的标题消息配置标题消息[Huawei]headerlogininformation"welcometohuaweicertification!"[Huawei]headershellinformation"Pleasedon'trebootthedevice!"……welcometohuaweicertification!LoginauthenticationPassword:Pleasedon'trebootthedevice!<Huawei>命令等级用户等级命令等级名称00访问级10and1监控级20,1and2配置级3-150,1,2and3管理级<Huawei>system-view[Huawei]command-privilegelevel3viewusersave用户界面类型编号Console0VTY0-4用户界面VTY接口最大可配范围为0-14。<Huawei>system-view[Huawei]user-interfacevty04[Huawei-ui-vty0-4]配置用户界面命令命令功能idle-timeout设置超时时间10screen-length设置指定终端屏幕的临时显示行数24history-commandmax-size设置历史命令缓冲区的大小10#Setthesizeofthehistorycommandbufferto20.<Huawei>system-view[Huawei]user-interfaceconsole0[Huawei-ui-console0]history-commandmax-size20#Setthetimeoutdurationto1minuteand30seconds.[Huawei-ui-console0]idle-timeout130配置登陆权限命令功能userprivilege配置指定用户界面下的用户级别setauthenticationpassword配置本地认证密码#SettheuserlevelontheVTY0userinterfaceto2.<Huawei>system-view[Huawei]user-interfacevty0[Huawei-ui-vty0]userprivilegelevel2[Huawei-ui-vty0]setauthenticationpasswordcipherEnterPassword(<8-128>):huawei123配置接口IP地址RTARTBG0/0/0G0/0/0#ConfigureanIPaddress/24andanIPaddress/32forLoopBack0.<Huawei>system-view[Huawei]interfacegigabitethernet0/0/0[Huawei-GigabitEthernet0/0/0]ipaddress[Huawei-GigabitEthernet0/0/0]interfaceloopback0[Huawei-LoopBack0]ipaddress32/24/32基本查询命令功能命令查看当前目录pwd显示当前目录下的文件信息dir查看文本文件的具体内容more<Huawei>dirDirectoryofflash:/
IdxAttrSize(Byte)DateTimeFileName
0drw--Apr10201609:30:35src
1-rw-28Apr10201609:31:38private-data.txt
2-rw-120Apr10201609:32:38wzbk1.cfg……32,004KBtotal(31,995KBfree)目录操作功能命令修改用户当前界面的工作目录cd创建新的目录mkdir删除目录rmdir<Huawei>mkdirtestInfo:Createdirectoryflash:/testDone.<Huawei>dirDirectoryofflash:/
IdxAttrSize(Byte)DateTimeFileName
0drw--Apr10201609:30:35src
1-rw-28Apr10201609:31:38private-data.txt
2-rw-120Apr10201609:32:38wzbk1.cfg3drw--Apr10201609:53:11test……32,004KBtotal(31,995KBfree)文件操作功能命令复制文件copy移动文件move重命名文件rename<Huawei>renametest.txthuawei.txtRenameflash:/test.txttoflash:/huawei.txt?[Y/N]:yInfo:Renamefileflash:/test.txttoflash:/huawei.txtDone.<Huawei>dirDirectoryofflash:/
IdxAttrSize(Byte)DateTimeFileName
0drw--Apr10201609:30:35src
1-rw-28Apr10201609:31:38private-data.txt
2-rw-120Apr10201609:32:38wzbk1.cfg
3-rw-12Apr10201609:53:11huawei.txt……32,004KBtotal(31,995KBfree)文件操作功能命令删除/永久删除文件delete
/unreserved恢复删除的文件undelete彻底删除回收站中的文件resetrecycle-bin<Huawei>delete/unreservedflash:/huawei.txt
<Huawei>dirDirectoryofflash:/
IdxAttrSize(Byte)DateTimeFileName
0drw--Apr10201609:30:35src
1-rw-28Apr10201609:31:38private-data.txt
2-rw-120Apr10201609:32:38wzbk1.cfg……32,004KBtotal(30,995KBfree)配置文件管理RAMCurrent-ConfigurationFileFlash/SD卡Saved-ConfigurationFile保存加载设备启动时,会加载保存的配置文件到RAM,并作为当前配置文件。配置文件查询<Huawei>displaycurrent-configuration#sysnameHuawei……#Return<Huawei>displaysaved-configuration#sysnameHuawei……#Return功能命令显示当前配置文件displaycurrent-configuration显示保存的配置文件displaysaved-configuration配置文件保存<Huawei>saveThecurrentconfigurationwillbewrittentothedevice.Areyousuretocontinue?(y/n)[n]:yItwilltakeseveralminutestosaveconfigurationfile,pleasewaitConfigurationfilehadbeensavedsuccessfullyNote:Theconfigurationfilewilltakeeffectafterbeingactivated功能命令保存当前配置信息save系统启动文件查询<Huawei>displaystartupMainBoard:Startupsystemsoftware:flash:/AR2220E-V200R007C00SPC600.ccNextstartupsystemsoftware:flash:/AR2220E-V200R007C00SPC600.ccBackupsystemsoftwarefornextstartup:nullStartupsaved-configurationfile:flash:/vrpcfg.zipNextstartupsaved-configurationfile:flash:/vrpcfg.zipStartuplicensefile:
nullNextstartuplicensefile:nullStartuppatchpackage:
nullNextstartuppatchpackage:nullStartupvoice-files:nullNextstartupvoice-files:
null功能命令查看系统启动配置参数displaystartup系统启动配置文件修改<Huawei>startupsaved-configurationflash:/huawei.zipThisoperationwilltakeseveralminutes,pleasewaitInfo:Succeededinsettingtheconfigurationforbootingsystem.<Huawei>displaystartupMainBoard:Startupsystemsoftware:flash:/ar2220E-V200R007C00SPC600.ccNextstartupsystemsoftware:flash:/ar2220E-V200R007C00SPC600.ccStartupsaved-configurationfile:flash:/vrpcfg.zipNextstartupsaved-configurationfile:flash:/huawei.zipStartuppaffile:
NULLNextstartuppaffile:NULLStartuplicensefile:
NULLNextstartuplicensefile:NULLStartuppatchpackage:NULLNextstartuppatchpackage:NULL功能命令配置系统下次启动时使用的配置文件startupsaved-configuration比较当前配置和保存的配置<Huawei>compareconfiguration======Currentconfigurationline36======
ipaddress#interfaceGigabitEthernet0/0/2#interfaceGigabitEthernet0/0/3#interfaceNULL0
======Configurationfileline37======interfaceGigabitEthernet0/0/2#interfaceGigabitEthernet0/0/3#……功能命令比较当前配置与下次启动的配置compareconfiguration配置文件重置<Huawei>resetsaved-configurationWarning:Thiswilldeletetheconfigurationintheflashmemory.Thedeviceconfigurationswillbeerasedtoreconfigure.Areyousoure?[Y/N]:yInfo:Cleartheconfigurationinthedevicesuccessfully.功能命令清除下次启动时加载的配置文件resetsaved-configuration存储设备SDRAMFlashNVRAMSDCardUSB<Huawei>displayversion……SDRAMMemorySize:1024MbytesFlashMemorySize:512MbytesNVRAMMemorySize:512Kbytes……存储设备修复<Huawei>fixdiskflash:Fixdiskflash:willtakelongtimeifneeded%Fixdiskflash:completed.<Huawei>fixdisksd1:sd1:/-diskcheckinprogress……%Fixdisksd1:completed.当存储设备的文件系统出现异常时,可以通过fixdisk命令进行修复。存储设备格式化<Huawei>formatflash:Alldata(includeconfigurationandsystemstartupfile)onflash:willbelost,proceedwithformat?(y/n)[n]:<Huawei>formatsd1:Alldata(includeconfigurationandsystemstartupfile)onsd1:willbelost,proceedwithformat?(y/n)[n]:格式化会导致数据丢失!升级VRPVRPVersion5.160VRPVersion5.90随着VRP版本的更新,VRP支持的特性也越来越多,可根据需求更新VRP版本。文件传输RTAFTP服务器VRP文件日志文件配置文件网络设备可以从服务器获取VRP系统文件,也可以将日志文件、配置文件保存到服务器作为备份。文件传输协议RTAFTP服务器TCP连接FTPRTBTFTP服务器TFTP(UDP)常用的文件传输协议有FTP和TFTP两种。VRP系统文件更新配置-与FTP服务器连通FTPFTP服务器RTAG0/0/1/24/24<huawei>system-view[huawei]sysnameRTA[RTA]interfaceGigabitEthernet0/0/1[RTA-GigabitEthernet0/0/1]ipaddress24……VRP系统文件更新配置-查看剩余存储空间当剩余存储空间不足时,可以删除无关的VRP文件或其他文件以释放空间。<RTA>dir……508,248KBtotal(2,334KBfree)<RTA>delete/unreservedflash:/ar2220E_v100r006c00.cc……FTPFTP服务器RTAG0/0/1/24/24VRP系统文件更新配置-从FTP服务器获取VRP<RTA>ftpTrying...PressCTRL+KtoabortConnectedto.220FTPserviceready.User(:(none)):huawei331Passwordrequiredforhuawei.Enterpassword:230Userloggedin.[ftp]getAR2220E-V200R007C00SPC600.ccFTPFTP服务器RTAG0/0/1/24/24VRP系统文件更新配置-从TFTP服务器获取VRP<RTA>tftpgetAR2220E-V200R003C00SPC600.ccTFTPTFTP服务器RTBG0/0/1/24/24ARG3路由器只需使用上述命令即可从TFTP服务器获取VRP文件。VRP系统文件更新配置-指定下次启动时加载的VRP<RTA>startupsystem-softwareAR2220E-V200R007C00SPC600.ccInfo:Succeededinsettingthesoftwareforbootingsystem<RTA>displaystartupMainBoard:Startupsystemsoftware:flash:/ar2220E_V200R007C00SPC600.cc
Nextstartupsystemsoftware:flash:/ar2220E_V200R007C00SPC600.ccStartupsaved-configurationfile:
NULL
Nextstartupsaved-configurationfile:NULL……
FTPFTP服务器RTAG0/0/1/24/24VRP系统文件更新配置-重启设备设备在重启后,将会加载新的VRP系统。FTPFTP服务器RTAG0/0/1/24/24<RTA>reboot
Info:Thesystemisnowcomparingtheconfiguration,pleasewait.Warning:Alltheconfigurationwillbesavedtotheconfigurationfileforthenextstartup,Continue?[Y/N]:nSystemwillreboot!Continue?[Y/N]:yFTP的应用FTP客户端FTP服务器VRPFTP客户端FTP服务器日志文件配置文件FTP提供了一种在服务器和客户机之间上传和下载文件的有效方式。FTP传输文件的过程用户用户接口控制进程数据传输进程文件系统控制进程数据传输进程文件系统客户端服务器控制连接数据连接使用FTP传输数据时,需要在服务器和客户机之间建立控制连接和数据连接。FTP传输模式传输模式ASCII模式二进制模式传输模式定义了数据在客户端和服务器之间传输时的格式。FTP配置[Huawei]ftpserverenable[Huawei]setdefaultftp-directoryflash:/FTP客户端FTP服务器/24FTP配置FTP服务器[Huawei]aaa[Huawei-aaa]local-userhuaweipasswordcipherhuawei12[Huawei-aaa]local-userhuaweiservice-typeftp[Huawei-aaa]local-userhuaweiftp-directoryflash:/[Huawei-aaa]local-userhuaweiaccess-limit200[Huawei-aaa]local-userhuaweiidle-timeout00[Huawei-aaa]local-userhuaweiprivilegelevel3FTP客户端/24FTP配置<Huawei>ftpTrying...PressCTRL+KtoabortConnectedto.220FTPserviceready.User(:(none)):huawei331Passwordrequiredforhuawei.Enterpassword:230Userloggedin.
[ftp]binary200TypesettoI.[ftp]getvrp.cc/24FTP服务器FTP客户端/24Telnet应用场景Telnet客户端本地配置环境Telnet服务器Telnet服务器Telnet客户端远程配置环境Telnet可以通过终端对本地和远程的网络设备进行集中管理。Telnet服务器Telnet连接Telnet客户端伪终端驱动TCP/IP终端驱动TCP/IPTCPTelnet客户端和服务器基于TCP连接来传输命令。认证模式认证模式描述AAAAAA认证Password登录时只通过密码实现认证Telnet配置Telnet客户端/24Telnet服务器/24Ethernet2/0/0[Huawei]interfaceEthernet2/0/0
[Huawei-Ethernet2/0/0]ipaddress24[Huawei]user-interfacevty04[Huawei-ui-vty0-4]authentication-modepassword
[Huawei-ui-vty0-4]setauthenticationpasswordcipherEnterPassword(<8-128>):huawei12Telnet配置Telnet客户端/24Telnet服务器/24Ethernet2/0/0<Host>telnetTrying...PressCTRL+KtoabortConnectedto...LoginauthenticationPassword:Info:ThemaxnumberofVTYusersis10,andthenumber
ofcurrentVTYusersonlineis1.
Thecurrentlogintimeis2013-04-1916:32:00.<Huawei>前言
AAA是Authentication(认证)、Authorization(授权)和Accounting(计费)的简称,它提供了认证、授权、计费三种安全功能。AAA可以通过多种协议来实现,目前华为设备支持基于RADIUS(RemoteAuthenticationDial-InUserService)协议或HWTACACS(HuaweiTerminalAccessControllerAccessControlSystem)协议来实现AAA。AAA应用场景企业总部AAA服务器NASAAA提供对用户进行认证、授权和计费三种安全功能。企业分支服务器A服务器B认证主机A服务器A服务器B用户名和密码
用户名密码主机AHuawei123主机XPass123……RTANAS认证:验证用户是否可以获得网络访问的权限。AAA支持的认证方式有:不认证,本地认证,远端认证。AAA服务器认证成功/失败授权设备组用户组时间权限级别Privateadmin09:00-12:00
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2020-2025年中国电力电缆行业发展前景预测及投资战略研究报告
- 现代物流配送系统的绿色包装策略
- 成都龙泉驿区2024年七年级《语文》上册期末试卷与参考答案
- 陕西国际商贸学院《现代教育技术与信息素养》2023-2024学年第二学期期末试卷
- 重庆艺术工程职业学院《短视频策划与传播》2023-2024学年第二学期期末试卷
- 生态旅游的长期发展与环境保护策略分析
- 射频同轴电缆项目风险分析和评估报告
- 5万套瓷酒瓶项目可行性报告-图文
- 公共营养师基础知识考试题及答案
- 刑事再审申请书
- 建筑工地春节前安全教育
- DL-T 5148-2021水工建筑物水泥灌浆施工技术条件-PDF解密
- 宗教知识的课件
- GB/T 22849-2024针织T恤衫
- (详尽多应用版)钢结构工程合同范本(完整版)
- 设备维保的维修流程与服务流程
- 隔膜计量泵维护检修规程培训
- 《生物制品技术》课程标准
- 心血管内科高血压一病一品
- 七年级历史上册-2024年中考历史复习教材必考知识点教案(人教部编版统编版)
- JB T 7946.1-2017铸造铝合金金相
评论
0/150
提交评论