CCNA命令总结,考试复习.doc:..CISCO设备IOS命令总结(-)路由器配置:router>enablerouter>logoutrouter#disableorexitrouter#setuprouter#reloadrouter#configterminalrouter#configmemoryrouter#workrouter(config)#hostnamerlendorctrl+z〃从川户模式进入特权模式〃退出控制台操作〃从特权模式退出到用户模式〃进入设置对话状态〃重启路由器〃进入全局配置模式〃改变存储在NVRAM中的配置文件,会与RAM中的配置文件合并〃改变存储在TFTP主机中的路由器配置文件/配置路山器名为n/从各种配置模式退到特权模式router#showhistoryrouter#terminalhistorysizerouter#showrunning-config1begininterfacerouter#showrunning-config1includeinterface〃杏看路山器上最近输入的命令〃改变历史缓存空间的大小〃使用管道符号〃使川管道符号router(config-if)#clockrate64000router(config-if)#bandwidth64〃如果是DCE使需要设置时钟速率,果是DTE就不必设置〃设置端口带宽为64Krouter#clearcountersinterface(具体接口)〃清除接口上的计数器router(config)#bootsystemflashc2800nm-advsecurityk9--(config)#bootsystemtftpc2800nm-advsecurityk9-m乙124-//bootsystem命令router(config)#noipdomain-lookuprouter(config)#ipdomain-lookuprouter(config)#ipname-〃关闭动态域名解析〃打开动态域名解析〃打开动态域名解析之后便町以指定DNS服务router(config)#interfaceserial0router(config-if)#noshutdown〃进入serial0的接口配置模式〃路由器出厂默认所有端口关闭,使用此命令使它们打开router(config-if)# 〃进入相应的接口,配置相应的IP地址router(config-if)# //给接口添加第二个IP地址router(config-if)#descriptionlinktostsdrouter#clockset11:15:1125aug2010router#showversion〃设置时间〃提供系统硬件的基本配置显示,述包括软件的版本号及引导映像rl(config)#bannermotd#text#router(config)#lineconsole0router(config-line)#loginrouter(config-line)#passwordciscorouter(config-line)#loggingsynchronousrouter(config-line)#exec-timeout00〃配置进入用户模式的密码〃输入同步〃禁」hW为一•段时间没有输入而跳出router(config)#linevtyO4router(config-line)#loginrouter(config-linc)#passwordcisco自动打开〃进入虚拟线程配置模式,功能进行配置〃配置iclncl密码,的功能是关闭的,配了密码Z后会router(config)#enablepasswordciscorouter(config)#enablesecretcisco〃配置进入enable模式的密码,区分大小写〃配置进入enable模式的密码,是加密的密码,showrun是看不见的router(config)#-zerorouter(config)#servicepassword-encryption//使零子网和最后一个子网可用router#copytftpstartup-configrouter#copyrunning-configtftprouter#copytftpflashrouter#showrunning-configrouter#showstartup-con
CCNA命令总结,考试复习 来自淘豆网m.daumloan.com转载请标明出处.