文档密级2020-4-16华为保密信息,未经授权禁止扩散第1页,共86页最终配置参考第一章eNSP及VRP基础操作1.2熟悉VRP基本操作最终配置R1displaycurrent-configuration[V200R003C00]#sysnameR1headershellinformationWelcometoHuaweicertificationlabheaderlogininformationhello#clocktimezoneBJadd08:00:00clockdaylight-saving-timeDayLightSavingTimerepeating12:329-112:3211-2300:0020052005#interfaceGigabitEthernet0/0/0ipaddress10.1.1.1255.255.255.0#Return1.3熟悉常用的IP相关命令最终配置R1displaycurrent-configuration[V200R003C00]#sysnameR1#interfaceGigabitEthernet0/0/0ipaddress10.0.1.254255.255.255.0#文档密级2020-4-16华为保密信息,未经授权禁止扩散第2页,共86页interfaceGigabitEthernet0/0/1ipaddress10.0.2.254255.255.255.0#return1.4配置通过Telnet登录系统最终配置R1displaycurrent-configuration#sysnameR1#interfaceGigabitEthernet0/0/0ipaddress10.1.1.254255.255.255.0#ReturnR2displaycurrent-configuration#sysnameR2#interfaceEthernet0/0/0ipaddress10.1.1.1255.255.255.0#returnR3displaycurrent-configuration#sysnameR3#interfaceEthernet0/0/0ipaddress10.1.1.2255.255.255.0#return1.5配置通过STelnet登录系统文档密级2020-4-16华为保密信息,未经授权禁止扩散第3页,共86页最终配置R1displaycurrent-configurationsysnameR1#setcpu-usagethreshold80restore75#rsapeer-public-key10.1.1.254public-key-codebegin30470240B910F7D8EF50B04ECCF8692A4F1B3FB3202C3E66B6D2C7EBFDBF0909ED160F5E76B5D916CBB29432F9044E048434B0ABE8FAB9681672958BF732F7880DA94F850203010001public-key-codeendpeer-public-keyend#interfaceGigabitEthernet0/0/0ipaddress10.1.1.1255.255.255.0#sshclient10.1.1.254assignrsa-key10.1.1.254sshclientfirst-timeenableR2displaycurrent-configurationsysnameR2#aaaauthentication-schemedefaultauthorization-schemedefaultaccounting-schemedefaultdomaindefaultdomaindefault_adminlocal-useradminpasswordcipher%$%$K8m.Nt84DZ}e#0`8bmE3Uw}%$%$local-useradminservice-typehttplocal-userhuawei1passwordcipher%$%$cRb~BL,]5D(!v-QiMgd$:RxE%$%$local-userhuawei1privilegelevel3local-userhuawei1service-typessh#interfaceGigabitEthernet0/0/0ipaddress10.1.1.254255.255.255.0#文档密级2020-4-16华为保密信息,未经授权禁止扩散第4页,共86页stelnetserverenable#user-interfacevty04authprotocolinboundssh1.6配置通过FTP进行文件操作最终配置R1displaycurrent-configuration[V200R003C00]#sysnameR1ftpserverenable#aaalocal-userftppasswordcipher%$%$%/xlTEcUeFU_=WB+iPI_n:M%$%$local-userftpftp-directoryflash:local-userftpservice-typeftp#interfaceGigabitEthernet0/0/0ipaddress10.0.1.254255.255.255.0#interfaceGigabitEthernet0/0/1ipaddress10.0.2.254255.255.255.0#Return第二章静态路由2.1静态路由及默认路由基本配置最终配置R1displaycurrent-configuration#sysnameR1文档密级2020-4-16华为保密信息,未经授权禁止扩散第5页,共86页#interfaceEthernet0/0/0ipaddress192.168.10.1255.255.255.0#interfaceSerial0/0/0link-protocolpppipaddress10.0.12.1255.255.255.0#iproute-static0.0.0.00.0.0.010.0.12.2#ReturnR2displaycurrent-configuration#sysnameR2#interfaceSerial0/0/0link-protocolpppipaddress10.0.23.2255.255.255.0#interfaceSerial0/0/1link-protocolpppipaddress10.0.12.2255.255.255.0#iproute-static192.168.10.0255.255.255.0Serial0/0/1iproute-static192.168.20.0255.255.255.010.0.23.3#ReturnR3displaycurrent-configuration#sysnameR3#interfaceEthernet0/0/0ipaddress192.168.20.3255.255.255.0#interfaceSerial0/0/1link-protocolpppipaddress10.0.23.3255.255.255.0#iproute-static0.0.0.00.0.0.0Serial0/0/1#Return文档密级2020-4-16华为保密信息,未经授权禁止扩散第6页,共86页2.2浮动静态路由及负载均衡最终配置R1displaycurrent-configuration#sysnameR1#interfaceGigabitEthernet0/0/0ipaddress192.168.10.1255.255.255.0#interfaceSerial1/0/0link-protocolpppipaddress10.1.12.1255.255.255.0#interfaceSerial1/0/1link-protocolpppipaddress10.1.13.1255.255.255.0#iproute-static192.168.20.0255.255.255.010.1.13.3iproute-static192.168.20.0255.255.255.010.1.12.2#ReturnR2displaycurrent-configuration#sysnameR2#interfaceSerial1/0/0link-protocolpppipaddress10.1.12.2255.255.255.0#interfaceSerial1/0/1link-protocolpppipaddress10.1.23.2255.255.255.0#iproute-static192.168.10.0255.255.255.010.1.12.1iproute-static192.168.20.0255.255.255.010.1.23.3#Return文档密级2020-4-16华为保密信息,未经授权禁止扩散第7页,共86页R3displaycurrent-configuration#sysnameR3#interfaceGigabitEthernet0/0/0ipaddress192.168.20.1255.255.255.0#interfaceSerial1/0/0link-protocolpppipaddress10.1.23.3255.255.255.0#interfaceSerial1/0/1link-protocolpppipaddress10.1.13.3255.255.255.0#iproute-static192.168.10.0255.255.255.010.1.13.1iproute-static192.168.10.0255.255.255.010.1.23.2#Return第三章RIP3.1RIP路由协议基本配置最终配置R1displaycurrent-configuration#sysnameR1#interfaceEthernet0/0/0ipaddress10.0.12.1255.255.255.0#interfaceLoopBack0ipaddress10.0.1.1255.255.255.0#rip1version2network10.0.0.0#文档密级2020-4-16华为保密信息,未经授权禁止扩散第8页,共86页returnR2displaycurrent-configuration#sysnameR2#interfaceEthernet0/0/0ipaddress10.0.12.2255.255.255.0#interfaceLoopBack0ipaddress10.0.2.2255.255.255.0#rip1version2network10.0.0.0#return3.2配置RIPv2的认证最终配置R1displaycurrent-configuration#sysnameR1#interfaceGigabitEthernet0/0/0ipaddress192.168.10.1255.255.255.0#interfaceGigabitEthernet0/0/1link-protocolpppipaddress10.0.12.1255.255.255.0ripauthentication-modemd5nonstandard$GOOD_=eh*)f8\~B3e~&Z5%#1#rip1version2network192.168.10.0network10.0.0.0#returnR2displaycurrent-configuration文档密级2020-4-16华为保密信息,未经授权禁止扩散第9页,共86页#sysnameR2#interfaceGigabitEth