各种ccna命令

各种ccna命令

ID:37714590

大小:28.34 KB

页数:6页

时间:2019-05-29

各种ccna命令_第1页
各种ccna命令_第2页
各种ccna命令_第3页
各种ccna命令_第4页
各种ccna命令_第5页
资源描述:

《各种ccna命令》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、1.路由器支持的命令:路由器显示命令:router#showrun;显示配置信息router#showinterface;显示接口信息router#showiproute;显示路由信息router#showcdpnei;显示邻居信息router#reload;重新起动路由器口令设置:router>enable;进入特权模式router#configterminal;进入全局配置模式router(config)#hostname;设置交换机的主机名router(config)#enablesecretxxx;

2、设置特权加密口令router(config)#enablepasswordxxb;设置特权非密口令router(config)#lineconsole0;进入控制台口router(config-line)#linevty04;进入虚拟终端router(config-line)#login;要求口令验证router(config-line)#passwordxx;设置登录口令xxrouter(config)#(Ctrl+z);返回特权模式router#exit;返回命令路由器配置:router(config)

3、#ints0/0;进入Serail接口router(config-if)#noshutdown;激活当前接口router(config-if)#clockrate64000;设置同步时钟router(config-if)#ipaddress;设置IP地址router(config-if)#ipaddresssecond;设置第二个IProuter(config-if)#intf0/0.1;进入子接口router(config-subif.1)#ipaddress;设置子接口IProuter(config-s

4、ubif.1)#encapsulationdot1q;绑定vlan中继协议router(config)#config-register0x2142;跳过配置文件router(config)#config-register0x2102;正常使用配置文件router#reload;重新引导路由器文件操作:router#copyrunning-configstartup-config;保存配置router#copyrunning-configtftp;保存配置到tftprouter#copystartup-con

5、figtftp;开机配置存到tftprouter#copytftpflash:;下传文件到flashrouter#copytftpstartup-config;下载配置文件ROM状态:Ctrl+Break;进入ROM监控状态rommon>confreg0x2142;跳过配置文件rommon>confreg0x2102;恢复配置文件rommon>reset;重新引导rommon>copyxmodem:flash:;从console传输文件rommon>IP_ADDRESS=10.65.1.2;设置路由器IPr

6、ommon>IP_SUBNET_MASK=255.255.0.0;设置路由器掩码rommon>TFTP_SERVER=10.65.1.1;指定TFTP服务器IPrommon>TFTP_FILE=c2600.bin;指定下载的文件rommon>tftpdnld;从tftp下载rommon>dirflash:;查看闪存内容rommon>boot;引导IOS静态路由:iproute;命令格式router(config)#iproute2.0.0.0255.0.0.01.1.1.2;静态路由举例router(con

7、fig)#iproute0.0.0.00.0.0.01.1.1.2;默认路由举例动态路由:router(config)#iprouting;启动路由转发router(config)#routerrip;启动RIP路由协议。router(config-router)#network;设置发布路由router(config-router)#negihbor;点对点帧中继用。帧中继命令:router(config)#frame-relayswitching;使能帧中继交换router(config-s0)#enc

8、apsulationframe-relay;使能帧中继router(config-s0)#fram-relaylmi-typecisco;设置管理类型router(config-s0)#frame-relayintf-typeDCE;设置为DCErouter(config-s0)#frame-relaydlci16;router(config-s0)#frame-relaylocal-dlci20;设置虚电路号r

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。