欢迎来到天天文库
浏览记录
ID:40522687
大小:15.86 KB
页数:3页
时间:2019-08-04
《CCNA2COMMANDS实验常用命令》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、HostnameRouter>enable:gotopriveledgemodeRouter#configterminal:gotoglobalconfigmode,useconftRouter(config)#hostnamelab_Z:sethostnameoftherouterPassword:priv.modeRouter(config)#enablesecretclass:passwordforpriv.modeifpassw.encryptionisonRouter(config)#enablepasswordc
2、isco:passwordforpriv.modeifpassw.encryptionisoffPassword:consoleRouter(config)#lineconsole0:console0Router(config-line)#passwordcisco:consolepasswordRouter(config-line)#loginPassword:telnetRouter(config)#linevty04:configuretelnetRouter(config-line)#passwordcisco:te
3、lnetpasswordRouter(config-line)#loginBannerRouter(config)#bannermotd#message#Interfaces:s2/0Router(config)#interfaces2/0Router(config-if)#ipaddress(adres)(subnet)Router(config-if)#noshutdownRouter(config-if)#clockrate64000:onlyifDCE,notforDTE!Router(config-if)#exit
4、Interfaces:fa0/0Router(config)#interfacefa0/0Router(config-if)#ipaddress(adres)(subnet)Router(config-if)#noshutdownInterfaces:loopback0Router(config)#interfacelo0Router(config-if)#ipaddress(adres)(subnet)Routingprotocols-RIPRouter(config)#routerripRouter(config-rou
5、ter)#network192.5.5.0:(networkpartoftheaddress)Router(config-router)#network…Ripversion2Router(config)#routerripRouter(config-router)#version2Routingprotocols-EIGRPRouter(config)#routereigrp1Router(config-router)#network192.5.5.00.0.0.255:(networkpartoftheaddress+w
6、ildcardmask)Router(config-router)#network…Router(config-router)#noauto-summaryRouter(config-router)#redistributestaticRouter(config-if)ipsummary-addresseigrp1networkaddresssubnetmaskRoutingprotocols-OSPFRouter(config)#routerospf1Router(config-router)#network192.5.5
7、.00.0.0.255area0:(networkpartoftheaddress+wildcard)Router(config-router)#network…Router(config-router)#default-informationoriginateOSPFtimers(mustbethesameonbothrouters)Router(config-if)#ipospfhello-interval10Router(config-if)#ipospfdead-interval40StaticroutesDesti
8、nationmaskDefaultgatewayoroutgoinginterfaceGAD(config)#iproute192.168.16.0255.255.255.0192.168.15.2GAD(config)#iproute192.168.16.0255.255.255.0s0
此文档下载收益归作者所有