思科设备路由器静态路由配置

思科设备路由器静态路由配置

ID:38699088

大小:60.90 KB

页数:3页

时间:2019-06-17

思科设备路由器静态路由配置_第1页
思科设备路由器静态路由配置_第2页
思科设备路由器静态路由配置_第3页
资源描述:

《思科设备路由器静态路由配置》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、本次讲解路由器静态路由的配置(包含串口配置):本例配置模型图命令行:以下为RA配置:Router>enableRouter#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#ints1/0Router(config-if)#ipaddress192.168.255.1255.255.255.252Router(config-if)#clockrate64000//使用串口线Router(config-if)#baRouter

2、(config-if)#bandwidth64Router(config-if)#exitRouter(config)#intf0/0Router(config-if)#ipaddress192.168.0.1255.255.255.0Router(config-if)#exitRouter(config)#intf0/1Router(config-if)#ipaddress192.168.0.2255.255.255.0Router(config-if)#ipaddress192.168.1.1255.255.25

3、5.0Router(config-if)#noshutdown%LINK-5-CHANGED:InterfaceFastEthernet0/1,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/1,changedstatetoupRouter(config-if)#intf0/0//之前没有激活端口,在此激活Router(config-if)#noshutdown%LINK-5-CHANGED:InterfaceFastE

4、thernet0/0,changedstatetoup%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoupRouter(config-if)#ints1/0//之前没有激活端口,在此激活Router(config-if)#noshutdown%LINK-5-CHANGED:InterfaceSerial1/0,changedstatetodownRouter(config-if)#exitRouter(config)#e

5、xit%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleRouter#showintf0/1FastEthernet0/1isup,lineprotocolisup(connected)//端口已激活HardwareisLance,addressis00d0.58a7.5602(bia00d0.58a7.5602)Internetaddressis192.168.1.1/24MTU1500bytes,BW100000Kbit,DLY100usec,reliability255

6、/255,txload1/255,rxload1/255…………Router>enableRouter#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#iprouting//启动路由功能,如果路由器默认就路由启动状态的话就不支持此命令。在此处不支持^%Invalidinputdetectedat'^'marker.Router(config)#iproute192.168.16.0255.255.255.0s1/0//添加

7、到达192.168.16.0/24的静态路由。即静态路由Router(config)#iproute192.168.17.0255.255.255.0s1/0//添加到达192.168.16.0/24的静态路由Router(config)#exitRouter#%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleRouter#wrwrBuildingconfiguration...[OK]Router#以下为RB配置:Router>enableRouter#conftEnter

8、configurationcommands,oneperline.EndwithCNTL/Z.Router(config)#ints1/0Router(config-if)#ipadd192.168.255.2255.255.255.252Router(config-if)#baRouter(config-if)#bandwidth64Rout

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

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

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